Skip to main content
Glama

A2UI Atomic Catalog

sketch_agent_poll

Read-onlyIdempotent

Continue a sketch_agent_start task: returns every stroke newer than the given cursor (an event log, not a snapshot — nothing is skipped regardless of poll timing) plus the next cursor, reveals the result in-chat the same way render_surface does, and reports whether the drawing is complete. Call again with the returned cursor until done is true.

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": {
      "taskId": "<taskId>",
      "cursor": "<cursor>"
    },
    "name": "sketch_agent_poll"
  }
}

Input Schema

NameRequiredDescriptionDefault
cursorYesThe cursor returned by the previous start/poll call. 0 to start from the beginning.
taskIdYesThe taskId returned by sketch_agent_start.

Output Schema

NameRequiredDescriptionDefault
themeNoVisual theme.
titleNo"Sketching: <subject>".
blocksYesThe sketchpad with the strokes drawn so far. Task id, cursor, total and done are in the result _meta.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "blocks": {
      +      "description": "The sketchpad with the strokes drawn so far. Task id, cursor, total and done are in the result _meta.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "theme": {
      +      "description": "Visual theme.",
      +      "type": "string"
      +    },
      +    "title": {
      +      "description": "\"Sketching: <subject>\".",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "blocks"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds genuinely non-obvious behavior: delivery is event-log style with a no-skip guarantee regardless of poll timing, and the call has an in-chat reveal side effect analogous to render_surface. It also names the completion signal (done). This is context an agent cannot get from the annotations or schema.

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?

It is front-loaded with the continuation purpose and closes with the actionable loop instruction. The first sentence is long, packing return semantics, the event-log guarantee, a rendering side effect, and a completion flag into one em-dash chain, which is dense but every clause carries distinct information.

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 polling tool with an output schema already covering return shape, the description supplies everything else an agent needs: what is returned, the no-skip guarantee, the cursor round-trip, the termination condition, and the in-chat render side effect. Nothing material 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 both parameters are already documented, and the description correctly does not restate them verbatim. It does add semantic meaning by framing cursor as a position in an append-only event log and by noting the returned cursor feeds the next call, which clarifies the round-trip contract beyond the schema's 'cursor returned by the previous call'.

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?

The description opens with a specific verb+resource and scope: it 'continues a sketch_agent_start task' by returning strokes newer than a cursor. It draws an explicit line against its sibling (start vs. continue) and against snapshot-style tools by calling itself 'an event log, not a snapshot'. An agent can distinguish it from sketch_agent_start without opening either schema.

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?

It gives concrete loop guidance: 'Call again with the returned cursor until done is true', which tells the agent both the iteration pattern and the termination condition. It also implies the correct ordering relative to sketch_agent_start. It stops short of stating when *not* to use it (e.g., when a snapshot or a one-shot start is preferable).

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.