Skip to main content
Glama
vvmahesh0

paper-cdp-mcp

by vvmahesh0

undo_last_transaction

Revert the most recent committed agent transaction on the canvas to restore the previous state. Specify a file or transaction ID to target a specific undo.

Instructions

Reverts the most recent committed agent transaction on the canvas.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdNoOptional target file ID.
transactionIdNoOptional explicit transaction ID to revert.
Install Server

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It states the action (revert) but does not explain the effects (e.g., what happens to the transaction record, whether it is destructive, if it affects future transactions, or if it requires specific permissions). The behavior when both parameters are omitted is also undefined. This is a significant gap for a state-modifying tool.

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?

The description is a single, concise sentence that front-loads the core purpose. It contains zero wasted words and meets the standard of 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 tool with two optional parameters, no annotations, and no output schema, the description is too minimal. It fails to explain the default behavior (revert last transaction for the current file?), how the parameters affect the operation, or any constraints. Given the existence of closely related sibling tools, this lack of differentiation and operational context makes the description incomplete.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline applies. The description adds no additional semantics about how the optional fileId and transactionId parameters interact or what happens when neither is provided. The schema already provides basic descriptions, so the description neither helps nor hurts, but does not compensate for any ambiguity.

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 action ('revert') on a specific resource ('most recent committed agent transaction') with a scope ('on the canvas'). It is clear and distinct from many other tools, though it does not name alternative tools or explicitly differentiate from rollback_checkpoint or apply_document_transaction, leaving some ambiguity for agents unfamiliar with the domain.

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?

No guidance is provided on when to use this tool versus alternatives like rollback_checkpoint or apply_document_transaction. The description does not mention prerequisites, conditions, or exclusions, leaving the agent to infer usage solely from the name and one-line summary.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vvmahesh0/paper-cdp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server