Skip to main content
Glama
Tetragon
by wckdboy

restore_family_revision

Restore an earlier custom family revision as the newest without losing history; dependent families are re-pinned, and existing instances change only through the instance update tool.

Instructions

Save an earlier revision of a custom family as its newest revision; nothing in history is lost. Families built on it are re-pinned. Existing instances change only through update_family_instances.

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": {
      "family_id": "<family_id>",
      "revision": "<revision>",
      "expected_revision": "<expected_revision>"
    },
    "name": "restore_family_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
revisionYes
family_idYes
expected_revisionYes

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 supplied, the description carries the burden and does disclose meaningful behavior: history is preserved ('nothing in history is lost'), dependent families are re-pinned, and instances are explicitly left unchanged. It is silent on permissions, failure behavior, or what happens if the revision is already newest.

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 short clauses, each front-loaded with a distinct fact: the mutation, the history guarantee, the dependent-family side effect, and the instance exclusion. No filler or repetition.

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 mutation tool with no annotations and no output schema, the description covers side effects well but leaves a required concurrency parameter and the response/error behavior unexplained. Adequate, but an agent could still misfire on expected_revision.

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% and the description only hints that 'revision' means an earlier one. family_id is obvious from context, but expected_revision — evidently an optimistic-concurrency guard — is never explained, leaving a required parameter's meaning and failure semantics undocumented.

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 and resource: saving an earlier revision of a custom family as the newest revision. It also explicitly distinguishes behavior from update_family_instances, though it does not clarify how it differs from the sibling restore_revision.

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 when-not condition: existing instances are not touched by this call and must go through update_family_instances. It does not state prerequisites (e.g., what must be true about the family or revision) or when to prefer the generic restore_revision.

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