Skip to main content
Glama

Edit a story

edit_story
Destructive

Change an existing story: its title or any of its boxes (send only the boxes you change; the others are kept). The framework of a story never changes. Only what the person told you: never invent a figure, a name or an outcome.

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": {
      "story_id": "<story_id>"
    },
    "name": "edit_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
boxesNoThe story boxes, keyed by the framework's own names. STAR: situation, task, action, result. SOAR: situation, obstacle, action, result. CARL: context, action, result, learning. CAR: challenge, action, result. PAR: problem, action, result.
titleNo
story_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, readOnlyHint=false and non-idempotent, so the bar is lower; the description still earns credit by disclosing patch semantics (unmentioned boxes are preserved) and the invariant that the framework never changes. The anti-fabrication constraint ("never invent a figure, a name or an outcome") is genuine behavioral guidance not present in any structured field. It does not cover failure modes such as an unknown story_id or invalid framework keys, which is why it falls short of a 5.

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 short sentences, front-loaded with the operation and its scope, then the patch rule, then the guardrail on invented content. Every sentence contributes a distinct fact and there is no filler.

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 destructive mutation with a nested object parameter and no output schema, the description covers the essentials: what is editable, that the framework is immutable, and that omitted boxes survive. What is missing is error behavior and confirmation of what the call returns after the edit, a modest gap given the tool's otherwise low complexity.

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?

With only 33% schema description coverage, the description carries more burden than usual, and it does clarify that boxes is a partial map and title is optional. However, it adds nothing about story_id (the sole required parameter, documented only by its UUID format) or about which box keys are valid, leaving that entirely to the schema's nested description. Adequate but with a real gap on the required parameter.

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?

"Change an existing story: its title or any of its boxes" states a specific verb (change), a specific resource (an existing story), and the exact editable surface (title, boxes). This cleanly separates it from siblings like save_new_story and read_story without needing to name 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?

"Send only the boxes you change; the others are kept" tells the agent exactly how to invoke it as a patch rather than a full replace, which is the main usage decision. It stops short of naming alternatives or stating when to prefer this over save_new_story, so it is clear context without exclusions.

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