Skip to main content
Glama

A2UI Atomic Catalog

sketch_agent_start

Start a real, live agent_sketchpad drawing: one Gemini call plans a complete picture as an ordered list of SVG strokes, the first stroke renders immediately, and the rest reveal as you call sketch_agent_poll again — a real multi-turn task, not a single one-shot render. MCP Apps hosts only (same as render_surface). Stateless server: the task is held in KV for 1 hour, not in this connection — keep the returned taskId and the next cursor to keep polling.

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": {
      "subject": "<subject>"
    },
    "name": "sketch_agent_start"
  }
}

Input Schema

NameRequiredDescriptionDefault
subjectYesWhat to draw, e.g. "a lighthouse at sunset". Max 150 characters.

Output Schema

NameRequiredDescriptionDefault
themeNoVisual theme.
titleNo"Sketching: <subject>".
blocksYesThe sketchpad with the first stroke drawn. 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 first stroke drawn. 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.2/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing that the server is stateless, that task state lives in KV for 1 hour, that the caller must retain taskId and cursor to keep polling, and that it only works on MCP Apps hosts. The annotations only say non-read-only/open-world; this adds the lifecycle and expiry behavior an agent needs. It stops short of stating explicitly what happens when the 1-hour TTL lapses (task loss/restart), which is the one operational detail left implicit.

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-loaded with the core action and its streaming mechanic, then host constraint, then state lifecycle. Every sentence carries information, though the em-dash-heavy single paragraph is denser than necessary and could be split for scannability.

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 one-parameter starter tool with an output schema, the description covers what is created, how it progresses, required follow-up calls, host compatibility, and state lifetime. Return-value structure is left to the output schema, which is correct.

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?

The schema documents the single 'subject' parameter at 100% coverage including an example and 150-character limit, so the description adds nothing on parameter meaning. The taskId/cursor mentions refer to returned values, not input semantics. Baseline 3 is appropriate where the schema carries the full parameter burden.

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?

States a specific verb (Start) and resource (agent_sketchpad drawing) and then explains the actual mechanics: a Gemini planning call produces an ordered list of SVG strokes, the first renders immediately, the rest stream in via polling. It explicitly contrasts with 'a single one-shot render', so an agent can distinguish it from the render_surface family without opening a 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?

The description tells the agent what to do next (call sketch_agent_poll again, keeping taskId and cursor) and constrains applicability to 'MCP Apps hosts only (same as render_surface)'. It does not name the specific one-shot render alternative an agent should pick instead when it doesn't want multi-turn behavior, so the routing is implied rather than spelled out.

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.