Skip to main content
Glama

Update Manual

update_manual
DestructiveIdempotent

Rename a written manual, change its look, page size, cover, chapter tabs, pattern and fonts, change blocks' fields, rename parts, set the product configurations it covers (variants) and each chapter's own look and configurations. Safety signs: ISO 7010 codes: W001 general warning, W012 electricity, W017 hot surface, W021 flammable, W024 crushing of hands, W006 magnetic field, W009 biological hazard, W003 radioactive, W016 toxic, W015 overhead load, P001 general prohibition, P002 no smoking, P003 no open flame, P010 do not touch, P012 no heavy load, P013 no mobile phones, M001 general mandatory, M002 read the manual, M003 ear protection, M004 eye protection, M008 safety footwear, M009 gloves, M010 protective clothing, M014 head protection, M021 disconnect before maintenance, E003 first aid, F001 fire extinguisher. Read the manual with get_manual first for block and figure ids. Only the fields given change, and each block type takes only its own fields: Every block: variants (variant ids it shows in; null for all). heading/paragraph/missing: text. list: items (strings), ordered. safety: level (danger, warning, caution, notice), text, sign (an ISO 7010 code, null for none). signs: title, items [{sign, label}]. dodont: items [{kind: do|dont, text, figureId}]. note: tone (tip, info, eco), text. tools: title, items [{icon, label}]. step: title, text, warnings. figure: caption, size (full, half). table: title, header, rows. parts: rows [{no, name, sku?, qty?}]. bold works in text. A block's id and type never change; steps renumber themselves. Overwrites the text in place.

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

Input Schema

NameRequiredDescriptionDefault
coverNo
styleNoOnly the fields given change
titleNo
blocksNoBlock edits, applied in order
manualIdYes
pageSizeNo
variantsNoThe product configurations (models, options) the manual covers, the whole list; keep an id to keep its marked blocks
partNamesNoNames a reader knows parts by, keyed by the 3D model's object (see partNames in get_manual)
chapterOptionsNoA chapter's own look (null: the manual's) and the variant ids it shows in (null: all)

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. Changed2 schema fields changed
    • addedInput schema / properties / style / properties / pageNumberFormat
      Added value: +{
      +  "description": "\"4\" (n, default), \"Page 4\" (page), \"4 / 40\" (of)",
      +  "enum": [
      +    "n",
      +    "page",
      +    "of"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / style / properties / pageNumbers
      Added value: +{
      +  "description": "Where page numbers print (default right; outside = outer corner of each spread)",
      +  "enum": [
      +    "right",
      +    "center",
      +    "outside",
      +    "none"
      +  ],
      +  "type": "string"
      +}
  2. Changed9 schema fields changed
    • addedInput schema / properties / chapterOptions
      Added value: +{
      +  "description": "A chapter's own look (null: the manual's) and the variant ids it shows in (null: all)",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "chapterId": {
      +        "type": "string"
      +      },
      +      "look": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "technical",
      +              "friendly",
      +              "wordless"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "variants": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "required": [
      +      "chapterId"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / style / properties / edgeTabs
      Added value: +{
      +  "description": "Chapter tabs on the page edge",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / style / properties / fonts
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "body": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "heading": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Google fonts for headings and text (e.g. Barlow Condensed, Inter, IBM Plex Sans); null for the Brand Kit's"
      +}
    • addedInput schema / properties / style / properties / pattern
      Added value: +{
      +  "description": "A pattern behind chapter openers and the cover",
      +  "enum": [
      +    "none",
      +    "dots",
      +    "grid",
      +    "lines"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / style / properties / qr
      Added value: +{
      +  "description": "false leaves the QR code to the online version off the cover",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / variants
      Added value: +{
      +  "description": "The product configurations (models, options) the manual covers, the whole list; keep an id to keep its marked blocks",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 80,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 12,
      +  "type": "array"
      +}
    • 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"
      +    }
      +  ]
      +}
  3. 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"
      +    }
      +  ]
      +}
  4. Changed4 schema fields changed
    • addedInput schema / properties / cover
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "figureId": {
      +      "description": "The cover picture: one of figureIds, or null for none",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "note": {
      +      "anyOf": [
      +        {
      +          "maxLength": 400,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The note at the cover's foot; null for the default"
      +    },
      +    "subtitle": {
      +      "anyOf": [
      +        {
      +          "maxLength": 160,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "The line above the title; null for the manual's kind"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / pageSize
      Added value: +{
      +  "enum": [
      +    "A4",
      +    "Letter",
      +    "A5"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / style
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Only the fields given change",
      +  "properties": {
      +    "accent": {
      +      "description": "#rrggbb, or null for the Brand Kit's colour",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "cover": {
      +      "description": "band: a colour strip down the side. brand: the whole page in the brand colour, the figure drawn in the text colour. bleed: the figure fills the page above a colour panel. split: a colour block with the title over the figure. minimal: a large title on white",
      +      "enum": [
      +        "band",
      +        "brand",
      +        "bleed",
      +        "split",
      +        "minimal"
      +      ],
      +      "type": "string"
      +    },
      +    "coverLogo": {
      +      "description": "false leaves the logo off the cover",
      +      "type": "boolean"
      +    },
      +    "layout": {
      +      "description": "Steps one under another, or two to a row",
      +      "enum": [
      +        "flow",
      +        "grid"
      +      ],
      +      "type": "string"
      +    },
      +    "look": {
      +      "description": "technical: ruled and dense. friendly: rounded cards in the brand colour. wordless: picture-led, each step's figure large",
      +      "enum": [
      +        "technical",
      +        "friendly",
      +        "wordless"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • 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"
      +}
  5. Changed4 schema fields changed
    • addedOutput schema / properties / figureId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / figureLook
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / figureRestyle
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "done": {
      +          "type": "number"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "look": {
      +          "type": "string"
      +        },
      +        "startedAt": {
      +          "type": "string"
      +        },
      +        "total": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "look",
      +        "done",
      +        "total",
      +        "startedAt"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / figures
      Added value: +{
      +  "additionalProperties": {
      +    "additionalProperties": {},
      +    "type": "object"
      +  },
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds substantive behavior: partial-update semantics ('Only the fields given change'), in-place text destruction ('Overwrites the text in place'), side effects ('A block's id and type never change; steps renumber themselves'), and that variants is a whole-list replacement where keeping an id preserves marked blocks. Those are exactly the consequences an agent cannot see in the structured fields.

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?

Density is high and the purpose is front-loaded before the field tables, so an agent can stop reading early and still act. The cost is a roughly 100-word run-on opening sentence and a single semicolon-chained paragraph for the block field reference, which would scan far better as bullets; almost nothing is expendable, though the 22-code ISO list is on the edge of what belongs inline.

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?

For a nine-parameter, deeply nested mutation tool with an output schema, the description covers what the agent actually needs: prerequisite read, partial-update rule, per-block-type payload contract, and destructive overwrite warning. Remaining gaps are minor, such as the effect on blocks omitted from the array and any limits on how many blocks or variants can be sent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 56% and the critical `blocks[].fields` property is an unconstrained object, so the description carries nearly all meaning: it enumerates the allowed fields for each of twelve block types (heading, paragraph, list, safety, signs, dodont, note, tools, step, figure, table, parts) and supplies the ISO 7010 sign vocabulary that has no enum anywhere in the schema. It also clarifies that partNames is keyed by the 3D model's object name and that chapterOptions.look/variants use null as the 'inherit' sentinel.

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?

The opening sentence gives a specific verb and resource (update a written manual) with an explicit inventory of what can change: title, look, page size, cover, tabs, pattern, fonts, block fields, part names, variants, chapter options. It is unambiguous about scope, but it never differentiates itself from the styling sibling (style_manual) even though 'change its look' and font/pattern settings plausibly overlap, so the agent must guess which entry point edits presentation.

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?

It gives one concrete prerequisite that materially changes how an agent calls the tool: 'Read the manual with get_manual first for block and figure ids.' This is real call-order guidance rather than boilerplate. What is missing is any exclusion or routing rule for the presentation-adjacent siblings, so the when-not-to-use case is left to inference.

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