Skip to main content
Glama

PillDrops

agent_ask

Give a running agent a task. Returns a turn at once and does not wait for it: poll agent_get_turn until its state is final. Resumes a paused agent first, so it can take seconds. mode decides what the agent may do alone: supervised asks before anything, guided before risky actions, autonomous never. A guided or supervised turn can stop on an approval, see agent_list_approvals.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "sandbox_id": "<sandbox_id>",
      "message": "<message>"
    },
    "name": "agent_ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNobranch, tag or SHA to clone with repo
modeNosupervised, guided or autonomous; default the agent's own
repoNowith thread new: a git URL the chat works in, cloned on its own branch with the sandbox's GIT_TOKEN
threadNolatest (default), new, or a thread id
messageYeswhat to do
priorityNojump the queue
sandbox_idYessandbox id of an agent template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the non-blocking return, that a paused agent is resumed first so latency can be seconds, and that supervised/guided turns can halt on an approval. It stops short of permission or quota expectations and does not say what a returned turn looks like, leaving a modest gap for a dispatch tool with side effects.

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

Conciseness4/5

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

Front-loads the action and the async caveat, then layers mode and approval routing with no filler. Some clauses are telegraphic ('Resumes a paused agent first, so it can take seconds'), which slightly costs readability but wastes no words.

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

Completeness4/5

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

For a 7-parameter dispatch tool with no output schema, the description covers the essential contract: async return, resumption latency, mode semantics, and the approval escape hatch. Missing only secondary detail such as what the returned turn represents and any queue/priority caveats.

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 already 100%, so the baseline is 3; the description earns above that by defining what each mode means behaviorally ('supervised asks before anything, guided before risky actions, autonomous never'), which the schema only names. The thread/repo/ref interactions are left to their own schema descriptions.

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 concrete verb and resource ('Give a running agent a task') and immediately frames the async contract against the sibling it pairs with ('poll agent_get_turn'). An agent can distinguish this dispatch tool from agent_get_turn and agent_list_approvals without opening any schema.

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?

Explicitly states the follow-up path (poll agent_get_turn until state is final) and routes approval handling to agent_list_approvals. The mode sentence spells out the three operating choices so an agent knows which autonomy level to select and when a turn will block.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.