Skip to main content
Glama

supersede_episode

Replace an outdated episode with corrected content so new information overrides what was recorded. The old statement closes where the new begins and both stay linked, keeping change history readable.

Instructions

Replace an episode with a corrected or updated version. The old statement is closed exactly where the new one begins and the two are linked, so the history of what changed stays readable. Entities and salience carry over from the old episode unless you pass new ones. Use this whenever new information contradicts something already recorded.

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": "supersede_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

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose real behavior: the old statement is closed at the new one's start point, the two are linked, and history remains readable. It also discloses default inheritance of entities and salience. It omits permissions/error conditions and what happens to the vault/episode if the id is invalid.

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?

Four short sentences, front-loaded with the action and then the consequence, with no filler. The inheritance rule is placed well before the usage rule. Slight overlap between 'corrected or updated version' and the closing contradiction rule keeps it from a 5.

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?

For a 7-parameter mutation tool with zero annotation coverage, the description covers the core replacement semantics well but leaves source and event_metadata entirely unexplained and gives no guidance on failure modes or idempotency. The presence of an output schema reduces the need to describe return values.

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?

Schema description coverage is 0% across 7 parameters, so the description must compensate. It adds genuine meaning for entities and salience (inherited from the old episode unless supplied) and implies the roles of episode_id and content, but says nothing about source, vault_name, or event_metadata.

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?

States a specific verb+resource ('Replace an episode with a corrected or updated version') and explains the resulting linkage semantics. It does not explicitly distinguish itself from the very similar sibling revise_episode, so an agent must infer the replace-vs-edit distinction from the word 'Replace'.

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 triggering condition: 'Use this whenever new information contradicts something already recorded.' That is a usable positive rule, but there is no when-not guidance and no sibling (revise_episode, invalidate_episode, reopen_episode) is named as the alternative.

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