Skip to main content
Glama

Set Manual Figure Picture

set_manual_figure_picture
DestructiveIdempotent

Put your own picture (a photo or drawing: PNG, JPG, WebP, GIF or AVIF, at most 7 MB, at a public URL) in place of one figure's drawing. It prints as it is: callouts don't point into it, and restyling leaves it alone. update_manual_figure with a view change draws it from the model again.

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>",
      "imageUrl": "<imageUrl>"
    },
    "name": "set_manual_figure_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
figureIdYes
imageUrlYes
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.4/5.0
Behavior5/5

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

Goes well past the annotations (destructive, idempotent, openWorld) by disclosing hard constraints (5 formats, 7 MB cap, public URL required) and downstream consequences: callouts won't point into it, restyling won't alter it, and a view change regenerates the drawing. That immunity-to-restyling detail is exactly the kind of behavior an agent cannot infer elsewhere.

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?

Three tight sentences, front-loaded with the action, then constraints, then the escape hatch to the alternative. No filler and every clause carries distinct information.

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 safety profile is covered by annotations. The remaining gap is identifying scope: which manual and figure the IDs refer to, and whether the image is fetched and stored at call time versus referenced by URL.

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 0%, so the description must carry parameter meaning. It enriches imageUrl substantially (format list, size limit, must be public), but manualId and figureId are never explained beyond the generic phrase 'one figure', leaving identifiers to inference from the schema names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and object: put your own picture in place of one figure's drawing. The resource is unambiguous and clearly distinct from sibling style/update tools, which operate on drawings rather than replacing 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?

Implies the use case directly (supply your own photo or drawing instead of the generated figure) and names a concrete alternative behavior: update_manual_figure with a view change redraws it from the model. It stops short of an explicit when-not-to-use clause, but the routing signal is clear.

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