Skip to main content
Glama

preview

Read-onlyIdempotent

Debug an annotate spec by rendering marks with cyan target rects and magenta label boxes to diagnose misplaced labels or marks. Use when a render looks wrong; returns a temp image and warnings.

Instructions

Debug render of an annotate spec: draws the marks plus cyan target rects and magenta label boxes so you can see why a label moved or a mark misses its element. Use it when the annotate preview looks wrong; it is not a deliverable. Writes only a temp file, saves nothing to the output folder. Returns the temp path, warnings and the preview.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lookNoMark style: "default" (bold, built in) or the name of an installed look package (e.g. "neat"). Omit it to use the spec's look, else the user's default (AINOTATE_LOOK, config.toml). A look that is not installed or fails falls back to default with a warning listing the installed looks.
specYesRender spec as a JSON object (or a JSON string). Full schema: resource ainotate://spec.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / spec / description
      Added value: +"Render spec as a JSON object (or a JSON string). Full schema: resource ainotate://spec."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the side effect ('Writes only a temp file, saves nothing to the output folder') and the return payload (temp path, warnings, preview). This usefully nuances readOnlyHint=true, which would otherwise suggest no filesystem activity at all. It stops short of describing failure modes or how warnings should be interpreted.

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?

Three sentences, front-loaded with the core purpose, then the usage rule, then the side-effect/return disclosure. The middle clause ('so you can see why a label moved or a mark misses its element') is mildly verbose but earns its place by explaining the diagnostic value.

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?

With no output schema, the description compensates by naming the return values (temp path, warnings, preview), and it points at the spec schema resource via the parameter definition. An agent has enough to invoke it and interpret the result correctly.

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%, so both 'look' and 'spec' are already documented in the schema (including the fallback-with-warning behavior for an uninstalled look). The description adds no additional parameter meaning, so the baseline 3 applies.

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+resource ('Debug render of an annotate spec') and enumerates exactly what it draws (marks, cyan target rects, magenta label boxes). It is immediately distinguishable from the sibling 'annotate', which produces the deliverable rather than a diagnostic render.

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 says when to reach for it ('Use it when the annotate preview looks wrong') and when not to ('it is not a deliverable'), implicitly routing normal output generation to 'annotate'. Both the trigger condition and the exclusion are stated.

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