Skip to main content
Glama

Rollback

rollback
Destructive

Restore a memory item or skill to a prior revision.

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": {
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>",
      "revision": "<revision>"
    },
    "name": "rollback"
  }
}

Input Schema

NameRequiredDescriptionDefault
revisionYes
entity_idYes
entity_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already flag this as destructive, non-idempotent, and not read-only, but the description adds almost no behavioral context beyond 'restore'. It does not explain whether rollback overwrites current state, creates a new revision, is reversible, or what permissions are required, which is important for a destructive mutation tool.

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?

The description is a single compact sentence with the action front-loaded and no wasted wording. However, its brevity contributes to under-specification rather than purely efficient communication.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent tool with three required parameters at 0% schema coverage and no output schema, the description is insufficient. It should disclose the effect on current data, revision format, and whether the operation can be undone.

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%, so all three parameters lack structured documentation. The description mentions 'prior revision' but does not clarify whether 'revision' is an ID, a sequence number, or a relative offset, nor does it explain the expected form of 'entity_id'.

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?

The description states a specific verb, 'Restore', and the resources involved, 'memory item or skill', plus the target state, 'a prior revision'. It is clear what the tool does, though it does not explicitly differentiate itself from sibling mutation tools such as update or delete operations.

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

Usage Guidelines2/5

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

The description gives no guidance on when to use rollback versus other tools, no prerequisites, and no exclusions. It does not mention alternatives such as editing or deleting an item instead.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources