Skip to main content
Glama

Revoke covenant

revoke_covenant
Destructive

Revoke a covenant immediately and terminally. All subsequent checks deny.

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": {
      "covenant_id": "<covenant_id>"
    },
    "name": "revoke_covenant"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional. A short note of why, kept on the record.
covenant_idYesThe covenant id returned by grant_covenant.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed2 schema fields changed
    • addedInput schema / properties / covenant_id / description
      Added value: +"The covenant id returned by grant_covenant."
    • addedInput schema / properties / reason / description
      Added value: +"Optional. A short note of why, kept on the record."
  3. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so safety framing is partly covered. The description contributes context annotations cannot express: the revoke is terminal and "all subsequent checks deny," which tells the agent the downstream blast radius. It stops short of clarifying what a repeat revoke returns or what errors arise when the covenant is already gone.

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 short sentences, zero filler, with the irreversible nature front-loaded before the consequence. Nothing could be removed without losing information.

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?

An output schema exists and annotations carry the safety profile, so the description's burden is small and it covers the critical terminal-effect warning. It leaves a small gap on repeat-invocation behavior, which matters given idempotentHint=false on a 2-parameter destruction tool.

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 description coverage is 100% and both parameters are documented there, including that covenant_id comes from grant_covenant and that reason is an optional audit note. The description adds no parameter meaning beyond that, so the baseline 3 applies.

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 ("Revoke a covenant") plus the scope of the effect ("immediately and terminally"), which lets an agent separate it from read-only siblings like covenant_status or list_covenants. It never names or compares against those siblings, so it does not fully earn a 5.

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?

There is no explicit when-to-use guidance, no preconditions, and no mention of alternatives such as covenant_status for inspection before revoking. Only the phrase "immediately and terminally" hints that care is warranted, which is implication rather than instruction.

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.