Skip to main content
Glama

PillDrops

agent_get_turn

One turn in full: its state, reply, usage and any error. Poll it after agent_ask.

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>",
      "turn_id": "<turn_id>"
    },
    "name": "agent_get_turn"
  }
}

Input Schema

NameRequiredDescriptionDefault
turn_idYesturn id from agent_ask or agent_list_turns
sandbox_idYessandbox id of an agent template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the return payload (state, reply, usage, error) and that the tool is meant to be polled, which implies long-running turns. It omits polling cadence, whether the call blocks, and what state values mean, leaving real behavioral gaps for an unannotated tool.

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?

Two short clauses, front-loaded with what is returned and followed by the operational cue. Nothing is padded or redundant.

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?

With no output schema and no annotations, the description steps in to describe the return shape and the polling pattern, which covers the essentials for a two-parameter read tool. A little more on state semantics or error conditions would make it fully self-sufficient.

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

Parameters3/5

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

Schema description coverage is 100%: both turn_id and sandbox_id are documented in-schema, including where the turn id comes from. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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

Purpose4/5

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

"One turn in full: its state, reply, usage and any error" names the resource (a single turn) and enumerates the returned facets, which is more specific than the name alone. It does not explicitly contrast with agent_list_turns, but the singular "one turn" vs. a listing is reasonably self-evident.

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

Usage Guidelines4/5

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

"Poll it after agent_ask" gives a concrete when-to-use cue tied to a specific sibling and implies repeated calls while a turn is in flight. It stops short of naming an alternative (e.g., agent_list_turns for enumerating) or stating when not to poll, so it is clear context without full exclusion guidance.

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.