Skip to main content
Glama

revise_lettering

Create a revised lettering version by editing specific glyphs: swap assets, adjust crop, rotation, position, scale, color, or canvas size while preserving the parent job for review.

Instructions

Prepare a new version by stable glyph ID: replace asset/crop, set rotation, move, scale visible width, recolor or resize canvas. Width is the final rotated visible width; x/y its top-left. Replacement clears old crop unless supplied. Preserves parent; requires render/review. Baked spray/highlights stay bitmap.

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": {
      "job_id": "<job_id>",
      "revision": "<revision>"
    },
    "name": "revise_lettering"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
revisionYes

Output Schema

NameRequiredDescriptionDefault
dataYes
statusNook

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.12.6

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say this is a non-read-only, non-destructive, closed-world mutation. The description adds genuinely useful behavior beyond that: replacement clears the old crop unless one is supplied, the parent is preserved, and baked spray/highlights remain bitmap so the agent knows not to expect them to be re-editable. It still doesn't say whether the revision is idempotent or what happens to omitted fields.

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?

Five short sentences with no filler, and the core operation list is front-loaded. It is telegraphic to the point of being fragmentary in places ("Baked spray/highlights stay bitmap"), which costs a little readability but not much space.

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?

An output schema exists, so return values need not be explained, and the description correctly focuses on mutation semantics and the render/review follow-up. Given the deep nested revision object, a bit more guidance on which fields are mutually exclusive or how changes are applied per glyph would complete it.

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 0%, so the description must carry the load, and it does explain the two most ambiguous semantics: width is the final rotated visible width, and crop clearing on asset replacement. However, it references "x/y" positioning while the schema actually exposes dx/dy offsets, and it leaves hue, lightness, saturation, width/height limits, and native_finish entirely undescribed.

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?

"Prepare a new version by stable glyph ID" gives a specific verb and targeting key, and the list of operations (replace asset/crop, rotate, move, scale width, recolor, resize canvas) tells the agent what the revision covers. It does not, however, contrast itself with the sibling prepare_lettering or revise_poster, so the agent must infer that this tool revises an existing lettering job rather than creating one.

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

Usage Guidelines3/5

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

"Preserves parent; requires render/review" implies the intended follow-up workflow (render then review) and that this is a non-final mutation step, which is real guidance. But there is no explicit statement of when to pick this over prepare_lettering or revise_vector, and no prerequisites or failure conditions are named.

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