Skip to main content
Glama

invalidate_episode

Mark an episode as no longer true without deleting it when something ends and nothing replaces it; if a corrected version exists, use supersede to keep them linked.

Instructions

Mark an episode as no longer true, without deleting it. Use this when something ends and nothing replaces it. If a corrected version exists instead, use supersede_episode so the two stay linked.

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

Input Schema

NameRequiredDescriptionDefault
reasonNo
metadataNo
valid_toNo
episode_idYes
vault_nameYes

Output Schema

NameRequiredDescriptionDefault
episodeYes
vault_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.10.0
    • addedInput schema / properties / metadata
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "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/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the key trait that the record is preserved rather than deleted, which is valuable. However, it says nothing about reversibility (e.g. whether a later reopen is possible), idempotency, or any permission requirements for a mutation tool, so meaningful gaps remain.

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?

Two short sentences, front-loaded with the core effect and followed by the disambiguation rule. Every clause carries information and nothing is padded.

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?

The output schema is present, so return values need not be explained, and the purpose/routing story is complete. But for an unannotated five-parameter mutation tool, the absence of any parameter guidance or reversibility/authorization context leaves the definition only adequate rather than complete.

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 five parameters, and the description never mentions episode_id, vault_name, reason, metadata, or valid_to. The temporal-validity field in particular is left entirely unexplained despite being central to marking something 'no longer true'. The description does not compensate for the coverage gap.

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 ('Mark an episode as no longer true') and immediately clarifies the non-destructive scope ('without deleting it'). It also explicitly contrasts itself with supersede_episode, so an agent can distinguish the two without opening either 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 an explicit selection rule: use this when something ends and nothing replaces it; use supersede_episode when a corrected version exists. Both the when and the when-not are stated, with the alternative named.

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