Skip to main content
Glama
Off Shoring MCP

Off Shoring MCP

Update story

update_story

Modify a saved story's title, setup, character assignments, profiles, or summary. Pass expected_revision to avoid overwriting concurrent edits.

Instructions

Change a story's title, scene setup, character assignments, profiles, or summary. This overwrites the fields you pass, so it changes saved fiction; pass expected_revision from your last read to avoid clobbering a concurrent edit. Summaries are editable context and never replace turns.

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

Input Schema

NameRequiredDescriptionDefault
setupNo
titleNo
summaryNo
profilesNo
story_idYes
user_roleNo
assistant_roleNo
remove_profilesNo
expected_revisionYes
summary_branch_idNo

Output Schema

NameRequiredDescriptionDefault
okNo
storyYes
changedYesField names that were actually updated.
profilesYes
summariesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does disclose meaningful behavior: this is a mutation that overwrites the fields you pass, it uses optimistic concurrency via expected_revision, and summaries are editable context that never replace turns. What is missing is the failure mode on a revision mismatch (error vs. merge) and any permission or size constraints on the mutation.

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 sentences, zero filler, mutation semantics front-loaded before the concurrency safeguard and the clarification about summaries. Each sentence conveys a distinct, load-bearing fact.

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

Completeness3/5

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

An output schema exists, so return values need not be described, and the core mutation contract plus concurrency safety are covered. For a ten-parameter mutation with no annotations, however, the unexplained remove_profiles and summary_branch_id parameters and the silent revision-conflict behavior leave real gaps an agent would hit.

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?

Top-level schema description coverage is 0%, so the description must supply meaning; it explains expected_revision's purpose and maps 'title, scene setup, character assignments, profiles, summary' onto title, setup, user_role/assistant_role, profiles, and summary. It leaves remove_profiles and summary_branch_id entirely unexplained and gives no format detail for the free-text fields, so half the ten-parameter surface remains opaque.

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?

"Change a story's title, scene setup, character assignments, profiles, or summary" gives a specific verb (change/update) and resource (story) plus an enumeration of the editable surface, which clearly separates it from siblings like delete_story, create_story, or append_turn. It stops short of naming an alternative or a selection rule, so it is clear but not sibling-routing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies when to use it (you have an existing story and want to alter its metadata) and gives one concrete operational instruction: pass expected_revision from your last read to avoid clobbering a concurrent edit. It never states when not to use it or which sibling to prefer for adjacent operations such as branching or appending turns, leaving that to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.