Skip to main content
Glama

tabularia_arrange_drop_cap

Destructive

Give a paragraph a drop cap, or resize, repad or restyle the one it has. A drop cap is the opening letter of its paragraph, so the paragraph has to begin with a letter. A lettered set draws that letter; name letter too to set one of the set's drawings whatever the paragraph opens with. It stands at least 48 pixels tall; padding runs from −48 to 48 on each side. Anything you leave out stays as it is. It goes where tabularia_propose_edit would send an edit — your own Draft unless you name another, or the Base Draft when you name it, after a Snapshot — and the answer says which. In a Draft it is a difference of its own the Writer merges like any other — "Drop cap added", "Ornament narrower" — so tell them where to find it. 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": {
      "blockId": "<blockId>"
    },
    "name": "tabularia_arrange_drop_cap"
  }
}

Input Schema

NameRequiredDescriptionDefault
letterNoWith a lettered set as treatmentId, the one drawing of that set to set here whatever letter the paragraph opens with, such as "Q" for a historical initial. Leave it out to let the set draw the paragraph’s own letter.
targetNoWhere the change goes, as for tabularia_propose_edit: "draft" is your own Draft, "new-draft" starts a fresh one, and "base" makes it in the Base Draft itself, after a Snapshot. Left out, it goes to your own Draft. Use "base" only when the Writer asked for the change in their text.
blockIdYesThe paragraph the drop cap opens, by id from a window read or tabularia_list_decorations.
draftIdNoMake the change in this Draft, from tabularia_list_drafts. It settles where the change goes; leave target out.
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.
variantNoWith letter, which second drawing of that letter, such as "leafy".
heightPxNoHow tall the letter stands, in whole pixels, at least 48. A new one is 72.
draftNameNoWhat to call the Draft when target is "new-draft".
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.
treatmentIdNoThe treatmentId of a drop cap tabularia_list_decorations lists, to match it, or one of the Project’s own: a frame (custom.drop-cap.…), a lettered set (custom.drop-cap.set:…), which draws the letter each paragraph opens with and typesets any letter it lacks, or one drawn letter (custom.drop-cap.letter:…), set as it is. Left out, a new drop cap is the plain initial and an existing one keeps its own.
paddingTopPxNoPadding on its top side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame.
paddingLeftPxNoPadding on its left side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame.
paddingRightPxNoPadding on its right side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame.
paddingBottomPxNoPadding on its bottom side, in whole pixels from −48 to 48. Below zero pulls the wrapped text in over the frame.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / letter
      Added value: +{
      +  "description": "With a lettered set as treatmentId, the one drawing of that set to set here whatever letter the paragraph opens with, such as \"Q\" for a historical initial. Leave it out to let the set draw the paragraph’s own letter.",
      +  "type": "string"
      +}
    • changedInput schema / properties / treatmentId / description
      Previous value: -"The treatmentId of a drop cap tabularia_list_decorations lists, to match it, or one of the Project’s own drop caps (custom.drop-cap.…) from that listing or from tabularia_open_decoration_upload. Left out, a new drop cap is the plain initial and an existing one keeps its own."New value: +"The treatmentId of a drop cap tabularia_list_decorations lists, to match it, or one of the Project’s own: a frame (custom.drop-cap.…), a lettered set (custom.drop-cap.set:…), which draws the letter each paragraph opens with and typesets any letter it lacks, or one drawn letter (custom.drop-cap.letter:…), set as it is. Left out, a new drop cap is the plain initial and an existing one keeps its own."
    • addedInput schema / properties / variant
      Added value: +{
      +  "description": "With letter, which second drawing of that letter, such as \"leafy\".",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description goes well beyond them: it explains partial-update semantics ('Anything you leave out stays as it is'), that the change lands in a Draft as a mergeable difference the Writer resolves, and that a requestId makes retries idempotent without writing again. These are exactly the behavioral facts an agent needs before firing a mutation.

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?

Front-loaded with purpose, then constraints, targeting, and idempotency in a logical order; nearly every sentence carries real information. It loses a point for redundancy with the schema on pixel ranges and for restating the requestId reuse rule that the requestId property description already spells out.

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 14-parameter mutation with no output schema, the description covers defaults ('A new one is 72', plain initial), destination resolution, retry semantics, and that 'the answer says which' target was used. What remains thin is the shape of the returned payload beyond the destination, which matters somewhat given no output schema.

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, but the description adds cross-parameter meaning the schema states only per-field: the interaction of treatmentId + letter + variant ('name letter too to set one of the set's drawings whatever the paragraph opens with') and the three-way target/draftId settling. The 48px and −48..48 ranges merely restate schema constraints.

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?

Opens with a specific verb and resource: 'Give a paragraph a drop cap, or resize, repad or restyle the one it has.' It distinguishes creation from modification of an existing cap and is plainly separable from removal/listing siblings. An agent knows exactly what the tool touches without opening the 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?

Gives concrete preconditions ('the paragraph has to begin with a letter') and routing rules ('It goes where tabularia_propose_edit would send an edit'), plus a targeting constraint ('Use "base" only when the Writer asked for the change in their text'). It does not explicitly name an alternative such as tabularia_remove_drop_cap or tabularia_arrange_ornament, so it falls short of full when/when-not coverage.

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