Skip to main content
Glama

tabularia_set_story_shape

Destructive

Record which story shape a Book follows, as the Story shape menu in Tabularia's Book settings does, or clear it with an empty shapeId. It is a label only: no wording, Outline item or Timeline changes, and tabularia_project_metadata then reports the shape with its parts for every later read. Set it only once the Writer has agreed which shape the book follows. The answer carries previousShapeId; setting that again puts the label back. 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": {
      "shapeId": "<shapeId>"
    },
    "name": "tabularia_set_story_shape"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdNoWhich Book, by its id from tabularia_project_metadata. Leave it out when the Manuscript has one Book.
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.
shapeIdYesThe shape the Book follows, by an id from tabularia_list_story_shapes (shapes or outlineShapes), or an empty string to record none.
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. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: the destructiveHint=true is qualified by an explicit statement that nothing but the label changes, the answer carries previousShapeId so the change can be undone by re-setting it, and the requestId idempotency contract is spelled out (retry with the same id returns the first result without writing again; a new change needs a new id). That is the exact behavioural context an agent needs for a mutating call where a lost response is plausible.

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 the purpose and bounded effect, then the precondition, then return/undo, then idempotency. Every sentence carries information, though the requestId paragraph restates its reuse rule twice ("send the same requestId if you retry" and "A new change needs a new requestId, even when its wording is the same"), which could be tightened.

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?

For a mutating tool with no output schema, the description still covers the return value (previousShapeId), how to reverse the change, the side-effect boundary, the read path (tabularia_project_metadata), and retry safety. Nothing an agent needs in order to call it correctly, or to recover from a failure, is 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, and the description adds real meaning on top: empty shapeId means clear, previousShapeId in the answer is the restore value, and requestId must be reused only for retries of the same change. bookId/project omission rules live in the schema descriptions rather than here, which is the only reason this is not 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?

States a specific verb and resource — record which story shape a Book follows, or clear it with an empty shapeId — and immediately bounds the effect ("a label only: no wording, Outline item or Timeline changes"), which is exactly what separates it from tabularia_place_story_structure and the other set_* siblings. An agent can pick this over its neighbours 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?

Gives a clear precondition ("Set it only once the Writer has agreed which shape the book follows") and a clearing case via empty shapeId, plus points to tabularia_project_metadata as the read path for the resulting shape. It stops short of naming an explicit not-for-this alternative (e.g. distinguishing it from place_story_structure when structure, not the label, is what the Writer wants), so it is strong but not complete routing guidance.

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