Skip to main content
Glama

tabularia_open_decoration_upload

Ask for a one-shot address to send a drop cap, the letters of a lettered set, or an ornament you drew to, so it joins this Project's own decorations in the Custom collection of the Writer's decoration library. Send a PNG, a lossless WebP or an SVG, never JPEG, which has no transparency. An SVG is drawn to a transparent PNG 2048 pixels on its longest edge as it arrives, and is refused if it holds anything but paths, shapes, groups, clip paths, masks and gradients, or reaches outside the file; text, images, scripts and styles are not drawn. Use a transparent background and a single color of ink on full transparency. Studio reads the alpha channel as the ink and ignores the color, tinting it with the Writer’s ink, so anything opaque prints as a solid block. A drop cap frame is square, 1024×1024 pixels recommended: a frame or ornament drawn around the edges, with roughly the middle 64% of each side (from 18% to 82%) left free of ink, because Studio typesets the paragraph’s live opening letter centered there at 56% of the frame’s height, its capitals about two fifths of the frame tall and never wider than 56% of it; draw no letter in a frame. A letter of a lettered set is square too, 1024×1024 recommended, with its letter drawn in: it is set as it is, filling the drop cap’s square. An ornament keeps its own proportion, from 1:2 to 20:1, with the canvas cropped close to the art: the whole canvas is its selection box. It is laid out at 48% of the text measure by default; a width wider than the text fills the measure. Any of them may weigh at most 4 MB and measure at most 4096 pixels on its longest edge; a drop cap or letter may be off square by no more than 2%. Send it with a single PUT whose content-type matches the bytes. Each address works once, expires in minutes, and belongs to one Project: send the same design to each Project that uses it. The upload answers with a choiceId: pass it as treatmentId to tabularia_arrange_drop_cap, or as decorationId to tabularia_add_ornament or tabularia_arrange_ornament. For a lettered set, ask with kind "drop-cap-letter", set and letters; every letter answers with the set's setChoiceId too. Send a requestId you make up for this one change, and send the same requestId if you retry it after an error or a lost answer: a retry with it answers with the first result and does not write again. A new change needs a new requestId, even when its wording is the same.

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": {
      "kind": "<kind>"
    },
    "name": "tabularia_open_decoration_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
setNoFor "drop-cap-letter", the lettered set’s name, such as "Amsterdam initials". Letters sent under the same name, in any call, join the same set.
kindYesWhat you drew: "drop-cap" for a square frame the opening letter sits in, "drop-cap-letter" for the letters of a lettered set, one square drawing per letter with the letter drawn in, or "ornament" for a headpiece, tailpiece, line ornament or vignette at its own proportion.
modelNoThe model that drew it, recorded beside it.
titleNoWhat the Writer sees it called in their decoration library. A letter is titled for its set and letter.
letterNoFor "drop-cap-letter", the one capital letter this address is for. Or use letters.
lettersNoFor "drop-cap-letter", up to 40 letters at once, each a capital and an optional variant (a second drawing of the same letter, such as "leafy"). The answer’s uploads holds one address per letter.
projectNoWhich open Project to use, by title, id, or the Studio address the Writer sees (a tabularia.app/studio/ URL or its six-character code — the Writer’s tab URL is enough; there is no need to look at the page). Omit it when only one Project is open in Studio.
variantNoFor "drop-cap-letter" with letter, a second drawing of that letter, such as "leafy".
requestIdNoOptional. Your own name for this one change, 1–80 letters, digits, underscores, or hyphens. Reuse it only to retry the same change with the same input.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / kind / description
      Previous value: -"What you drew: \"drop-cap\" for a square frame the opening letter sits in, or \"ornament\" for a 5:1 divider."New value: +"What you drew: \"drop-cap\" for a square frame the opening letter sits in, \"drop-cap-letter\" for the letters of a lettered set, one square drawing per letter with the letter drawn in, or \"ornament\" for a headpiece, tailpiece, line ornament or vignette at its own proportion."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "drop-cap",
      -  "ornament"
      -]New value: +[
      +  "drop-cap",
      +  "drop-cap-letter",
      +  "ornament"
      +]
    • addedInput schema / properties / letter
      Added value: +{
      +  "description": "For \"drop-cap-letter\", the one capital letter this address is for. Or use letters.",
      +  "type": "string"
      +}
    • addedInput schema / properties / letters
      Added value: +{
      +  "description": "For \"drop-cap-letter\", up to 40 letters at once, each a capital and an optional variant (a second drawing of the same letter, such as \"leafy\"). The answer’s uploads holds one address per letter.",
      +  "items": {
      +    "properties": {
      +      "letter": {
      +        "type": "string"
      +      },
      +      "variant": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "letter"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 40,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / set
      Added value: +{
      +  "description": "For \"drop-cap-letter\", the lettered set’s name, such as \"Amsterdam initials\". Letters sent under the same name, in any call, join the same set.",
      +  "type": "string"
      +}
    • changedInput schema / properties / title / description
      Previous value: -"What the Writer sees it called in their decoration library."New value: +"What the Writer sees it called in their decoration library. A letter is titled for its set and letter."
    • addedInput schema / properties / variant
      Added value: +{
      +  "description": "For \"drop-cap-letter\" with letter, a second drawing of that letter, such as \"leafy\".",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "kind",
      -  "title"
      -]New value: +[
      +  "kind"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare non-read-only, non-destructive, non-open-world; the description carries everything else: the address is single-use, expires in minutes, belongs to one Project, caps at 4 MB and 4096 px, rejects JPEG, sanitizes SVG to paths/shapes/masks, and treats the alpha channel as ink. It also discloses idempotency semantics — reusing a requestId returns the first result and does not write again — which is exactly the kind of retry behavior an agent cannot infer from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, but the remainder is a single dense block mixing upload mechanics, SVG sanitization rules, and very fine geometry specs (18%–82% clear zone, 56% cap height, 2% off-square tolerance). The detail is largely load-bearing for an agent generating compliant art, yet the absence of any structural break makes it hard to scan and pushes it well past what most callers need.

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

Completeness5/5

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

With no output schema, the description does the job of explaining returns — a choiceId, an uploads array with one address per letter, and a setChoiceId for lettered sets — plus expiry, single-use and idempotency. For a nine-parameter, three-mode tool with hard format constraints, nothing an agent needs in order to call it correctly appears to be missing.

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 coverage is 100%, so the baseline is 3; the description earns above that by tying parameters to outcomes the schema does not state — e.g. that asking with kind 'drop-cap-letter' plus set and letters returns one address per letter and also a setChoiceId, and that the same requestId must accompany a retry of the same change. It adds no guidance on the 'project' parameter (how ambiguity between open Projects is resolved), which keeps it short of a 5.

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?

The opening sentence names a specific verb and resource — 'ask for a one-shot address to send a drop cap, the letters of a lettered set, or an ornament' — and states where the asset lands (the Project's Custom decoration collection). The three kinds it serves are enumerated, so an agent can distinguish it from the sibling picture-upload tool and from the arrange/add tools without opening a schema.

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 a clear when-to-use context (you have drawn a decoration and need somewhere to PUT it) and explicitly routes the result: the returned choiceId goes to tabularia_arrange_drop_cap, tabularia_add_ornament or tabularia_arrange_ornament. It does not explicitly exclude the picture-upload sibling or say when a different upload path is required, so the guidance is strong but not exhaustive.

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