Skip to main content
Glama

Rollback entity

rollback_entity
Destructive

Roll a memory / skill / goal back to an earlier revision (writes a new revision whose snapshot equals the old one).

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_entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
branchNoDefault 'main'.
revisionYes
entity_idYes
entity_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

The description adds significant functional transparency by explaining that it 'writes a new revision' rather than just modifying the old one, which is a key behavioral detail. This complements the high-level annotations by providing implementation context.

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?

It uses a single, dense sentence that achieves maximum information transfer without being overly verbose. The structure is direct and efficient.

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?

For a complex mutation operation with multiple potential side effects, the description is reasonably complete. It clarifies the mechanism of the rollback, which helps the agent understand the persistence and nature of the intended change.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Given the low schema description coverage (25%), the description is vital for clarifying the scope of the entity_type parameter. It explicitly lists the three allowable types: 'memory / skill / goal,' providing crucial domain context.

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?

The description clearly and immediately states the action (Roll back) and the specific entities supported (memory/skill/goal). It distinguishes the function from general revision management by defining the result: creating a snapshot of an older state.

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?

While it describes *how* the rollback functions, it provides no guidance on *when* to use it. An agent lacks crucial contextual cues regarding situations where data correction is appropriate or necessary.

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