Skip to main content
Glama

Set Manual Figure Style

set_manual_figure_style
DestructiveIdempotent

Redraw every figure of a manual in one style, kept as the manual's figure style. 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. Pictures the owner uploaded stay as they are. Runs in the background for a minute or two: poll get_manual until figureRestyle is null (an error stays there). 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>",
      "look": "<look>"
    },
    "name": "set_manual_figure_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookYes
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.3/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by disclosing that this is an asynchronous job taking a minute or two, that progress is polled via get_manual on figureRestyle until null, that an error persists in that field, and that it costs nothing. It also mitigates the destructive flag by stating uploaded pictures are preserved. This is exactly the operational context annotations cannot express.

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?

Front-loads the action and scope, then packs enum definitions, the preservation rule, async polling instructions and cost into tight sentences with no filler. The telegraphic phrasing of the style options is efficient rather than unclear.

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 an output schema present, return values need no explanation, and the description covers the async lifecycle, error handling, cost and preservation behavior. The only gap is that it does not say what figureRestyle looks like or whether the call fails on diagrams it cannot restyle, though the polling hint largely covers practical use.

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 0%, so the description carries the parameter burden and does so well for the enum: all four 'look' values are defined concretely (fine dark edges, own colours, heavy black outlines, pale lines on blue). manualId is left to be inferred as the target manual, which is low risk given the name.

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 with full scope: 'Redraw every figure of a manual in one style, kept as the manual's figure style.' The 'every figure' scope plus the note that owner-uploaded pictures stay put implicitly separates it from per-picture tools, but no sibling is named, so an agent must still infer the boundary against tools like set_manual_figure_picture or style_manual.

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 a clear operating context: use it to restyle all figures at once, with the caveat that uploaded pictures are left untouched, which functions as a partial exclusion. It stops short of naming an alternative tool for single-figure changes or for non-figure styling, so the agent gets context but no explicit when-not routing.

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