Skip to main content
Glama

sketch_sync

Used by the HexSketch editor to report the user's drawing, so read_sketcher can see it. Not for the model.

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": {
      "sketch": "<sketch>",
      "cdxml": "<cdxml>"
    },
    "name": "sketch_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdxmlYes
sketchYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish a non-read-only, non-destructive, closed-world mutation. The description adds genuine context beyond them: the caller is an external editor, not the agent, and the written data becomes readable by read_sketcher. It does not say whether a sync overwrites prior state or what happens with the large cdxml payload, which is the remaining gap.

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 sentences, audience constraint front and center after the purpose, with zero filler. Nothing could be removed without losing information.

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

Completeness3/5

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

For an agent-facing definition the essentials are covered: who calls it, what it does, and that the model should not use it. But with no output schema and zero parameter documentation, the cdxml payload and the effect of repeated syncs are left undefined, which is thin for a mutation tool taking a 1MB input.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden. It only gestures at "sketch" (the user's drawing) and says nothing at all about cdxml, a required string with a 1,000,000 character cap whose format and relationship to sketch are entirely unexplained.

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?

The description states a concrete purpose: the HexSketch editor uses it to report the user's drawing so read_sketcher can see it. That is a clear actor-action-consumer chain. It falls short of 5 because it never distinguishes this tool from the sibling sketch_updates, which an agent could easily confuse with a sync/report operation.

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?

"Not for the model" is an explicit and unusually strong when-not-to-use instruction, which is exactly the kind of routing guidance agents need. It does not, however, name a positive alternative for the model when it does need to touch sketch state (e.g., sketch_updates or read_sketcher), so the redirection is incomplete.

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.