Skip to main content
Glama

celgrid_revise

Repair one pixel-art frame or draw and insert the next animation pose, using an optional green Allow and coral Lock pixel mask to control edits.

Instructions

Surgical AI repair on one frame (or draw and insert the next animation pose) with optional green Allow / coral Lock pixel mask.

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": {
      "id": "<id>",
      "frame": "<frame>",
      "operation": "<operation>",
      "instruction": "<instruction>"
    },
    "name": "celgrid_revise"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
frameYes
modelNo
operationYes
pixel_maskNo
referencesNo
instructionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden. It adds real value by decoding the mask semantics ('green Allow / coral Lock', matching the .A/L pattern) and signalling a minimal, surgical mutation. It does not say what happens to the original frame data, whether the change is reversible, or that this triggers a costly AI call, which are important gaps for a mutating AI operation.

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?

A single front-loaded sentence with no filler, and the primary behavior leads before the optional-mask detail. The nested parenthesis makes it slightly dense to parse but nothing is wasted.

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

Completeness2/5

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

For a 7-parameter, nested-object, AI-driven mutation with no annotations and no output schema, one sentence is too thin. An agent still lacks guidance on model selection, how references are consumed, and what the call returns or costs.

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% across 7 parameters including a nested references object, yet the description only touches frame, operation, and pixel_mask. The model enum, the style/subject reference arrays, the asset_id-vs-base64 forms, and the id format are left entirely to the schema's structural definitions.

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 specific verb and resource: 'Surgical AI repair on one frame' plus the alternate 'draw and insert the next animation pose', which maps cleanly onto the repair/next operation enum. It never distinguishes itself from plausible siblings like celgrid_generate or celgrid_edit_pixels, so an agent cannot rule out alternatives from this text alone.

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?

The parenthetical implies two modes of use (fixing an existing frame vs. appending a new pose), which is useful implied guidance. However, it gives no explicit when-to-use vs. when-not, no prerequisites, and no routing to alternatives such as propagation or generation tools.

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