Skip to main content
Glama

reopen_episode

Make a closed episode current again without erasing its close, so you can undo an invalidate or restore a superseded statement once its successor is closed.

Instructions

Make a closed episode current again, without erasing the close. Use this to undo an invalidate, or to bring back a superseded statement after its successor has itself been closed. A revised original cannot be reopened: attestations and disputes already moved to the revision, so reopen or close that instead. An as-of query between the close and the reopen still sees the episode as closed. If a successor is still current, close it first; this tool will not close it for you.

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": "reopen_episode"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNo
reasonNo
metadataNo
episode_idYes
vault_nameYes

Output Schema

NameRequiredDescriptionDefault
episodeYes
vault_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.10.0

TDQS

A4.4/5.0
Behavior5/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 so: it discloses that the close record is preserved, that the tool will not cascade-close a successor, and that historical as-of queries between close and reopen still report closed. These are exactly the non-obvious side effects an agent needs before mutating.

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?

Five sentences, front-loaded with the core action and its constraint, then escalating to edge cases. No sentence repeats the name or the schema, and each adds a distinct rule or caveat.

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?

An output schema exists, so return values need no explanation, and the behavioral rules are unusually complete for an unannotated mutation. The remaining gap is the five undocumented parameters, which is a real but bounded omission given the otherwise rich semantics.

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 5 parameters, and the description supplies no meaning for any of them. `at` is especially ambiguous (reopen timestamp vs. as-of time), and `reason`/`metadata` are never explained as to whether they are recorded in the audit trail. The 'as-of query' sentence touches the domain but does not document the 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?

States a specific verb+resource ('Make a closed episode current again') and immediately qualifies the scope with 'without erasing the close', which is the key semantic distinction from a plain write. It names the related operations it undoes (invalidate, supersede) so an agent can place it among the siblings.

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 explicit when-to-use cases ('undo an invalidate', 'bring back a superseded statement after its successor has itself been closed') and explicit when-not cases ('A revised original cannot be reopened', 'If a successor is still current, close it first'). It even routes the agent to the correct alternative (reopen/close the revision).

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