Skip to main content
Glama

delegate

Destructive

Delegate coding tasks to Cursor's agent, auto-approving permissions and resuming sessions for iterative execution.

Instructions

Delegate a coding task to cursor-agent over ACP. Never shell out to cursor-agent — use this tool only. Auto-approves every permission the agent requests, in any mode and anywhere on disk. Clarifying questions arrive as prose in result — resume with resumeSessionId to answer. Keep model (composer-2.5), fast and effort at their defaults unless the user explicitly asks. See the delegate skill.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fastNoFast tier; higher cost — only when the user asks.
modeNoagent implements; plan and ask are instructions to the agent, not limits.agent
specYesTask brief: goal, scope, fixed decisions quoted exactly, acceptance criteria. Sent as written. Point at files to read rather than pasting code, or attach them with contextFiles.
modelNoBare ACP family id, version included: composer-2.5, grok-4.5, claude-opus-5, gpt-5.6-sol. doctor deep:true lists every id.composer-2.5
effortNoExact Cursor thinking-effort value for the selected model. Values differ per model and some expose no effort option; invalid values fail before the prompt and name the accepted set. Pass only when the user asks for Cursor effort — the host's own reasoning setting is unrelated.
contextNoContext window size; gpt-5.x accepts 272k and 1m. Do not pass speculatively.
workspaceYesThe agent's working directory, not a limit. Smallest directory holding the task's files; with no such directory the project root is the floor. Must already exist; never create one for the call.
contextFilesNoPaths to attach instead of pasting contents into spec. Text becomes references the agent may open; images (png/jpg/gif/webp, <5MB) are sent inline. Relative paths resolve against workspace but are not limited to it. Skips are reported in protocolWarnings, never fatal.
resumeSessionIdNoContinue an existing ACP session.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed12 schema fields changedv2.0.0
    • changedInput schema / properties / context / description
      Previous value: -"Context window size. Not offered by every model; gpt-5.x accepts 272k and 1m."New value: +"Context window size; gpt-5.x accepts 272k and 1m. Do not pass speculatively."
    • changedInput schema / properties / contextFiles / description
      Previous value: -"Paths to attach instead of pasting file contents into spec. Text files are passed as references the agent may open; images (png, jpg, gif, webp, under 5MB) are sent inline. Relative paths resolve against workspace, and paths outside it are allowed — attach only files the agent should read. Anything skipped is reported in protocolWarnings, never fatal."New value: +"Paths to attach instead of pasting contents into spec. Text becomes references the agent may open; images (png/jpg/gif/webp, <5MB) are sent inline. Relative paths resolve against workspace but are not limited to it. Skips are reported in protocolWarnings, never fatal."
    • addedInput schema / properties / effort
      Added value: +{
      +  "description": "Exact Cursor thinking-effort value for the selected model. Values differ per model and some expose no effort option; invalid values fail before the prompt and name the accepted set. Pass only when the user asks for Cursor effort — the host's own reasoning setting is unrelated.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / fast / description
      Previous value: -"Fast speed tier — higher cost; enable only when the user asks"New value: +"Fast tier; higher cost — only when the user asks."
    • changedInput schema / properties / mode / description
      Previous value: -"Requested agent mode. plan and ask are passed to the agent as instructions, not enforced by the bridge — the agent may write in any of them, so review the git diff after every run. ask held on every model tested while plan compliance varies by model, so prefer ask when you need the stricter read-only instruction."New value: +"agent implements; plan and ask are instructions to the agent, not limits."
    • addedInput schema / properties / model / description
      Added value: +"Bare ACP family id, version included: composer-2.5, grok-4.5, claude-opus-5, gpt-5.6-sol. doctor deep:true lists every id."
    • removedInput schema / properties / reasoning
      Removed value: -{
      -  "description": "Reasoning effort. Not offered by every model; gpt-5.x accepts none, low, medium, high, extra-high.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / properties / resumeSessionId / description
      Previous value: -"Resume an existing ACP session instead of a new one"New value: +"Continue an existing ACP session."
    • changedInput schema / properties / spec / description
      Previous value: -"Inline task brief (default): goal, scope, decisions already made (constraints and fixed choices — quote the user's exact values verbatim), acceptance criteria. Point at files to read or mimic rather than pasting code. Optional file path if the user wants a persisted spec."New value: +"Task brief: goal, scope, fixed decisions quoted exactly, acceptance criteria. Sent as written. Point at files to read rather than pasting code, or attach them with contextFiles."
    • changedInput schema / properties / workspace / description
      Previous value: -"Working directory for the agent (defaults to cwd). Must be an existing directory; the call fails rather than creating it."New value: +"The agent's working directory, not a limit. Smallest directory holding the task's files; with no such directory the project root is the floor. Must already exist; never create one for the call."
    • addedInput schema / properties / workspace / minLength
      Added value: +1
    • changedInput schema / required
      Previous value: -[
      -  "spec"
      -]New value: +[
      +  "spec",
      +  "workspace"
      +]
  2. First observedv1.18.0

TDQS

A4.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Directly discloses the behavior that makes destructiveHint and openWorldHint true: 'Auto-approves every permission the agent requests, in any mode and anywhere on disk.' It also reveals the clarification interaction pattern (prose in result, resume with resumeSessionId) and that invalid values fail before the prompt while naming the accepted set. This adds genuine context far beyond the bare annotations and does not contradict them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Six sentences, each pulling weight: purpose, prohibition, safety warning, interaction contract, defaults policy, skill pointer. The most critical warning (auto-approve anywhere on disk) is front-loaded in the third sentence, not buried. No filler, no restatement of schema content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter, 2-required, destructive, open-world tool with no output schema, this is remarkably complete. It covers safety, interaction protocol, defaults policy, per-parameter touch rules, and even the resolution of paths (relative paths resolve against workspace but are not limited to it) and error behavior (invalid effort values fail before the prompt, skips surface in protocolWarnings). Nothing an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description earns a 4 by adding a cross-cutting policy the schema alone can't express — the 'touch nothing unless the user asks' rule that applies across fast, model, effort, and context — and by signaling which params are safe to pass only on explicit request. It doesn't need to restate field meanings since the schema already documents them fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource: 'Delegate a coding task to cursor-agent over ACP.' It goes further and distinguishes itself from the naive alternative with 'Never shell out to cursor-agent — use this tool only,' so the agent cannot mistake its scope. Unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use and when-not-to-use guidance: the prohibition on shelling out, the warning that it auto-approves every permission in any mode and anywhere on disk, and a clear defaults policy — 'Keep model, fast and effort at their defaults unless the user explicitly asks.' Multiple params get a 'only when the user asks' qualifier, which is exactly the guardrail an agent needs for a destructive, open-world tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreilungeanu/cursor-delegate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server