Skip to main content
Glama

revert_agreement

Restore an earlier text in the same draft, with a reason and expected current revision. Adds an immutable history entry; does not erase edits or change signatures.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYes
draft_idNomain
request_idYes
contributor_keyYesPrivate acc_edit_ contributor key. Editing does not require signing.
restore_revision_idYes
expected_revision_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Goes beyond the readOnlyHint=false annotation by disclosing that the operation appends an immutable history entry and neither erases edits nor changes signatures — valuable non-destructive semantics for a revert. It omits idempotency/retry behavior for request_id and any concurrency failure mode on revision mismatch.

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?

Two tight sentences, front-loaded with the action and followed immediately by the important side-effect caveat. No filler.

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?

No output schema, minimal annotations, and low schema coverage, so the description carries most of the burden. It covers the operation's semantics well but under-explains request_id usage, contributor auth context, and draft scoping.

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 only 17% across 6 params, so the description must compensate. It adds meaning for reason, expected_revision_id, and the restore target, but leaves request_id, contributor_key, and draft_id entirely to the sparse schema.

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: restore an earlier text in the same draft. This distinguishes it from edit_agreement (forward edit) and read_agreement_history (read), though it does not name those siblings explicitly.

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 when-to-use statement, no prerequisites, no comparison to alternatives like edit_agreement. The phrase 'with a reason and expected current revision' describes inputs rather than guiding selection.

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