Skip to main content
Glama

revise_episode

Restate an existing episode more precisely when facts are unchanged but wording can improve; it replaces the vault's current statement while preserving the original in history.

Instructions

Restate an episode more precisely, when the world did not change but you can now say it better ('lives in Padova' -> 'lives in Padova, in the Arcella'). The revision opens where the original did and inherits its attestations and open disputes; the original stays in the history but is no longer what the vault states. Use supersede_episode instead when the world changed.

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": {
      "vault_name": "<vault_name>",
      "episode_id": "<episode_id>",
      "content": "<content>"
    },
    "name": "revise_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceNo
contentYes
entitiesNo
salienceNo
episode_idYes
vault_nameYes
event_metadataNo

Output Schema

NameRequiredDescriptionDefault
episodeYes
vault_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.10.0
    • addedInput schema / properties / event_metadata
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Event Metadata"
      +}
    • addedOutput schema / $defs / Episode / properties / reopen_reason
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Reopen Reason"
      +}
    • addedOutput schema / $defs / Episode / properties / reopened_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Reopened At"
      +}
  2. First observedv0.9.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses that the revision opens where the original did, inherits attestations and open disputes, and that the original remains in history but is no longer the vault's stated position. It omits permission requirements, reversibility of the revision, and what happens to unspecified fields like source or salience.

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 tight sentences: the action and its condition first, the consequences second, the alternative last. The example earns its space by disambiguating 'more precisely', and there is no filler.

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 no explanation, and the mutation's inheritance behavior is well covered. However, for a 7-parameter write tool with zero schema descriptions, the definition leaves the optional parameters and any preconditions (e.g. whether the episode must be open or confirmed) entirely unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 7 parameters, so the description must compensate and largely does not. It implies episode_id refers to an existing episode and content is the improved restatement, but source, entities, salience, and event_metadata get no mention at all — an agent has no basis for deciding whether to supply or omit them.

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 ('Restate an episode more precisely') and pins down the exact semantic distinction with a concrete example ('lives in Padova' -> 'lives in Padova, in the Arcella'). An agent can immediately tell this apart from supersede_episode without inspecting any schema.

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

Usage Guidelines5/5

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

Gives both the positive trigger ('the world did not change but you can now say it better') and an explicit exclusion routing to the alternative ('Use supersede_episode instead when the world changed'). The condition that selects each tool is stated, not inferred.

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