GLM 5.3 agent tool calls intermittently arrive with empty arguments — pattern: Required / command: Required

Describe the Bug

OS/Version: WSL2 (Linux 6.6.87), Cursor CLI agent 2026.10.01 (both 14929f9 and e373342)

Model: GLM 5.3 High (glm-5p3, native Cursor model)

Symptom: Intermittently, every tool call from the agent reaches the tool layer with an empty argument object. The tool then rejects it as missing its required field — e.g.
Grep → Invalid arguments: pattern: Required, Shell → command: Required, Read → path: Required. Calls with no required args (e.g. catalog lookups) still succeed, which
isolates it to the argument payload being dropped, not tool execution itself.

Frequency/intermittency: Not deterministic. On Oct 4 ~16:12 a session ran 116 tool calls, all with valid arguments. From Oct 4 ~22:00 onward, sessions hit runs of 20+
consecutive empty-argument calls. On Oct 5 ~9:32 AM, a burst of calls parsed correctly again (full JSON input present), then the immediately following calls in the same
session went empty again. Retrying sometimes recovers it.

What it’s not:
• Not the model omitting args — the argument values are present in the model’s emitted call; only the tool-side input ends up {}
• Not workspace/repo/permissions — same workspace and session works or fails turn-by-turn
• Not a stale session — persists across brand-new chats; an agent update mid-window didn’t start or fix it

Suspected area: server-side parsing/serialization of GLM 5.3 tool-call arguments in the agent stream (dropped or truncated before reaching the client-side dispatcher). GLM
5.3 was added natively around Oct 1–2, and the regression window starts Oct 4 evening.

Steps to Reproduce

  1. Select GLM 5.3 High (glm-5p3) as the agent model (Settings → Models; it’s the native Cursor GLM 5.3, not a custom/BYOK endpoint).

  2. Open a chat in a workspace (reproduced in Cursor CLI agent 2026.10.01-14929f9 and 2026.10.01-e373342 on WSL2 Linux; also reproduces in fresh/new chats).

  3. Ask the agent to do anything that triggers tool calls with required arguments, e.g.:
    • “search the codebase for X” (Grep → pattern)
    • “run git status” (Shell → command)
    • “read file Y” (Read → path)

  4. Observe: the tool call executes but the argument object arrives empty, and the tool returns:

    Error running tool: Invalid arguments
    pattern: Required

    (or command: Required / path: Required / glob_pattern: Required, depending on the tool).

  5. Retrying the same request in the same session sometimes produces a burst of correctly-formed calls, then empty ones again — intermittent, turn-by-turn.

  6. Switch the model to any non-GLM model (e.g. Grok 4.7, Claude) in

Expected Behavior

tool call arguments emitted by the model are passed through to the tool.

Operating System

Other

Version Information

Cursor CLI agent 2026.10.01 (both 14929f9 and e373342)

For AI issues: which model did you use?

GLM 5.3 High (glm-5p3, native Cursor model)

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey @Guy_Alon, thanks for the report!

We can see this on our side: with GLM 5.3, some tool calls are reaching the agent with their arguments missing.

I’ve flagged this to the team. In the meantime, switching to a different model (GLM 5.3 Flash, or any non-GLM model) should avoid it.

I’ll update this thread once GLM 5.3 is working normally again!

GLM 5.3 Flash has the same problem. As of 5PM ET, I am having the same issue.

Title: Agent tool calls fail with “Invalid arguments: : Required” - parent session and GPT-5.6 Luna/GLM subagents, since ~5 PM ET Oct 5

Where does the bug appear: Cursor IDE (Agent chat + Task subagents)

Describe the bug:

Tool calls intermittently execute with their required argument fields missing. The error is “Invalid arguments: : Required”. It happens in two places:

1. Nested subagents (model glm-5p3-flash-high, subagent_type generalPurpose, run_in_background true). Three identical probes launched in parallel, each told to call Shell once with `Get-Date -Format o`. In each of three rounds, exactly one of the three failed with:

“Error: Command failed to spawn: Invalid arguments: command: Required”

  • Round 1, 21:04 ET: 2 OK, 1 FAULT

  • Round 2, 21:12 ET: 2 OK, 1 FAULT (the faulting subagent’s follow-up UpdateCurrentStep call also failed argument validation)

  • Round 3, 21:45 ET (after the Cursor update, Claude Sonnet 5.5 as orchestrator): 2 OK, 1 FAULT

Totals: 6 of 9 probes passed and 3 faulted.

2. Parent chat session (GPT-5.6 Luna as orchestrator), 21:26-21:44 ET. Almost every call that needed arguments failed: Read (“path: Required”), Glob (“glob_pattern: Required”), Grep (“pattern: Required”), Shell (“command: Required”), CallDynamicTool (“Missing required fields: namespace, toolName”). Calls that needed no arguments succeeded. The same calls worked earlier in the session (21:04-21:25). A fresh orchestrator session at 21:45 worked normally.

Steps to reproduce:

1. In Agent chat, launch three Task subagents in parallel with identical settings (model glm-5p3-flash-high, generalPurpose, run_in_background true).

2. Each prompt: “call the Shell tool once with `Get-Date -Format o` and reply with the output; if the tool errors, reply FAULT plus the exact error text.”

3. Observe that one of the three returns “command: Required”.

Expected: arguments the model emitted reach the tool. Identical calls should not fail one in three.

Actual: required fields are dropped before the tool runs.

Operating System: Windows 11 (win32 10.0.26300), PowerShell

Current Cursor Version: About Cursor - paste version and build id>

I’ve been having the same issues with GLM 5.3 on Cursor CLI. I hope a fix is underway by the cursor team.

Same issue here. The model is pretty unusable at this point I had to stop using it and go back to GLM 5.2

Hey everyone, thanks for sticking with this, and sorry it’s still happening.

We can confirm GLM 5.3 is still dropping tool call arguments on part of its traffic, so it isn’t anything in your setup, CLI version, or OS. The team is working on it.

In the meantime, GLM 5.3 Flash is working normally again (the Flash problem @hci-ceo hit was resolved on Oct 6). GLM 5.2 or any non-GLM model also avoids it.

I’ll update this thread once GLM 5.3 is back to normal.

Thanks Collin! You da man!

Another data point from today (Oct 9, ~23:30–24:00 UTC), same symptom, slightly different shape:

In a parent chat (GLM 5.3 as the main model): a Write tool call was emitted twice in a row with the parameter name wrong — content instead of contents — so the harness rejected it with Invalid arguments: contents: Required both times. Retrying with the correct schema (same call, same file) worked immediately. That one looks like a model slip rather than the traffic-level drop.

In a GLM 5.3 (thinking high) subagent launched via the Task tool in the same period: three consecutive UpdateCurrentStep calls arrived with input: {} — completely empty arguments, persisted that way in the transcript’s tool_use.input. Pattern matches the OP exactly: the arguments never reach the tool layer.

Two things that might help narrow it down:

  1. It’s not deterministic per-session. Immediately after the broken subagent finished, I launched a fresh GLM 5.3 high subagent for a verification task and it ran its entire tool sequence (~20 calls: shell, file reads, grep) with zero malformed calls.

  2. Not GLM-family-wide. A Composer 2.5 subagent run in the same session, same tool set, was also completely clean.

So it looks intermittent at the request level rather than a persistent state the session gets stuck in — consistent with Colin’s note about part of the traffic being affected. Happy to pull the exact timestamps or tool-call IDs from the transcript if that’s useful.

Hey everyone, quick update: GLM 5.3 is back to normal.

Since Oct 13, tool calls from GLM 5.3 are reaching their tools with arguments intact again, and the “Invalid arguments” failures are back down to their usual low level. You can switch back to GLM 5.3 (including GLM 5.3 High) whenever you like.

If you still see “pattern: Required”, “command: Required” or a similar error, reply here with your Cursor version and the request ID if you have it, and we’ll take a look.

@user544, the Write call that used “content” instead of “contents” looks like the model picking the wrong parameter name rather than this issue, so a retry should get past it.