Skip to main content
Glama

DoctorTracer Palette Assignment — prepare request

prepare_palette_assignment
Read-only

Assign RGBA pixels to supplied colors, using nearby confident color matches to resolve antialiased edges. Prepare a paid HTTP request (0.05 USDC on Base). This MCP tool does not perform analysis, sign or charge. Returns the canonical endpoint, supplied input and payment instructions. Up to 128 × 128 pixels, 24 colors and 6 pixels of radius. Returns zero-based indices and null for transparent pixels.

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": {
      "rows": "<rows>",
      "palette": "<palette>",
      "radius": "<radius>"
    },
    "name": "prepare_palette_assignment"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes
radiusYes0 uses nearest-color assignment without edge refinement.
paletteYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark it readOnly and closed-world, and the description adds important non-obvious behavior: it does not execute the analysis or move funds, it only assembles the canonical endpoint plus payment instructions. It also discloses the workload ceilings (128×128 pixels, 24 colors, 6-pixel radius), which matter for a compute-priced call. It does not cover rate limits, idempotency, or failure modes of the prepared request.

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 operation, then payment posture, then numeric limits and return values; nearly every sentence carries distinct information. Minor redundancy in the repeated 'Returns ...' framing, and the second return sentence describes indices/null while the tool itself performs no analysis, which is slightly ambiguous without extra reading.

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?

With no output schema and thin schema coverage, the description supplies the operation, the limits, the payment model, and the expected result semantics (zero-based indices, null for transparent). What remains unstated is how to actually complete payment after preparation and what form the echoed input takes.

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 description coverage is only 33% (radius only), so the description has to compensate, and it largely does by tying the numeric limits to the fields: rows as the pixel grid up to 128×128, palette capped at 24 colors, radius capped at 6. It still leaves the exact RGBA/palette channel layout and the meaning of 'supplied input' in the response implicit rather than explicit.

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?

States a concrete verb and resource: assign RGBA pixels to supplied colors, with edge-aware resolution via nearby confident matches. It is clearly a distinct operation from the other prepare_* siblings (trace, halftone, preflight) by virtue of the resource described, though it never explicitly contrasts itself with any of them.

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?

Gives real context for when to reach for it: it builds a paid HTTP request (0.05 USDC on Base) and explicitly does not perform analysis, sign, or charge, so the agent knows this is a preparation step and that settlement happens elsewhere. It stops short of naming an alternative tool or stating a condition that would select a sibling instead.

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.

Resources