Skip to main content
Glama

Update Manual Figure

update_manual_figure
DestructiveIdempotent

Redraw one figure of a manual with a changed view, or put another figure's picture in it (copyOf). Figure ids and their current views are in get_manual (figures). Only the fields given change. A redraw replaces an uploaded picture with a drawing. Takes up to a minute. Free.

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": {
      "manualId": "<manualId>",
      "figureId": "<figureId>"
    },
    "name": "update_manual_figure"
  }
}

Input Schema

NameRequiredDescriptionDefault
dirNoWhere the camera looks from: [0,0,1] front, [1,0,0] side, [0,1,0] top; mix them for angles in between
lookNoThis figure's style only. line: fine dark edges on white parts (technical drawing). product: the product's own colours and finishes. ink: flat white parts with heavy black outlines (flat-pack style). blueprint: pale lines on a blue sheet.
zoomNoHow much of the frame the product fills
accentNoParts to highlight: "step" for what its step works on, part keys from partNames, or [] for none
copyOfNoAnother figure's id: its picture goes here instead of a drawing
detailNoA part key to magnify in a circle, or null for none
explodeNoHow far the parts are pulled apart, 0 for assembled
figureIdYes
manualIdYes

Output Schema

NameRequiredDescriptionDefault
idNo
webNo
kindNo
checkNo
coverNo
errorNo
inputNo
styleNo
titleNo
pdfUrlNo
reviewNo
statusNo
figuresNo
chaptersNo
figureIdNo
languageNo
pageSizeNo
progressNo
variantsNo
createdAtNo
figureIdsNo
partNamesNo
productIdNo
reviewRunNo
updatedAtNo
figureLookNo
modelChangedNo
coverFigureIdNo
figureRestyleNo
chapterOptionsNo
translatedFromNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / chapterOptions
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chapterId": {
      +        "type": "string"
      +      },
      +      "look": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "variants": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "chapterId",
      +      "look",
      +      "variants"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / variants
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / web
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "publishedAt": {
      +          "type": "string"
      +        },
      +        "qr": {
      +          "type": "boolean"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "url",
      +        "publishedAt",
      +        "qr"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. Changed2 schema fields changed
    • addedOutput schema / properties / review
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "at": {
      +          "type": "string"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "fixed": {
      +          "type": "number"
      +        },
      +        "redrawn": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "at",
      +        "fixed",
      +        "redrawn"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / reviewRun
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "error": {
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "startedAt": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "startedAt",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  3. Changed1 schema field changed
    • addedOutput schema / properties / cover
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "figureId": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "logo": {
      +      "type": "boolean"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "style": {
      +      "type": "string"
      +    },
      +    "subtitle": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "style",
      +    "subtitle",
      +    "note",
      +    "figureId",
      +    "logo"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

A4/5.0
Behavior5/5

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

Goes well beyond the annotations, which only flag destructive/idempotent/openWorld. It discloses the specific destructive consequence (a redraw replaces an uploaded picture with a drawing), the partial-update contract, an expected latency ('up to a minute'), and that the call is free — exactly the facts an agent needs before committing.

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?

Five short sentences, each carrying distinct information: purpose, id lookup, partial-update semantics, destructive side effect, latency and cost. Front-loaded with the core action and free of filler.

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 no explanation, and the description covers mode choice, partial updates, destruction, latency and cost for a 9-parameter mutation. It leaves gaps on permissions/preconditions and on precedence when copyOf is combined with view parameters.

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 coverage is 78%, so the baseline is 3; the schema already documents dir, look, zoom, accent, detail and explode in detail. The description mainly restates copyOf's meaning ('another figure's picture goes here instead of a drawing') rather than adding syntax or interaction rules, e.g. whether copyOf suppresses the view parameters.

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+resource: redraw one figure of a manual with a changed view, or swap in another figure's picture via copyOf. It also points to get_manual (figures) as the id source. It stops short of differentiating from the overlapping siblings set_manual_figure_style and set_manual_figure_picture, so the boundary is only inferable.

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?

Gives useful operating context: partial updates ('Only the fields given change'), where to find figure ids, and that a redraw overwrites an uploaded picture. However, it never says when to pick this over set_manual_figure_style or set_manual_figure_picture, which are the most likely confusions given the near-identical surface.

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