Skip to main content
Glama

warrant_revoke

Warrant revoke. POST /v1/warrant/revoke. Same handler as POST /api/warrant/revoke.

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": {
      "warrant": "<warrant>"
    },
    "name": "warrant_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoBearer key or raw key when the door requires a tool credential.
paymentNox402 X-PAYMENT. Omit it and a paid door answers 402.
warrantYesWarrant token to revoke.
authorizationNoAuthorization header when the door is a Tollkeeper tool (Bearer ar_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.5/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the safety burden is partly covered. The description adds nothing behavioral: it does not say whether revocation is permanent or reversible, whether the warrant token becomes unusable immediately, whether dependent receipts are affected, or what a repeat call returns despite idempotentHint=false. The two REST paths are operational trivia, not behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loads the purpose, so it is not bloated. However, two of the three fragments are REST endpoint aliases ('POST /v1/warrant/revoke' and 'Same handler as POST /api/warrant/revoke') that give an agent almost nothing actionable, while genuinely useful information is absent.

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?

This is a mutating, non-idempotent operation with four parameters and no output schema, and the description omits consequences of the call, error behavior (e.g., revoking an already-revoked or unknown warrant), and any auth requirement beyond what the schema fields imply. Given the tool's mutation semantics, the description is too thin to fully prepare an agent.

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%, so all four parameters (api_key, payment, warrant, authorization) are already documented in the schema and the description adds no syntax or format guidance beyond them. Baseline 3 applies when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a verb-plus-resource reading ('Warrant revoke') that a nearby reader can map to the name, and the endpoint paths confirm it is a revocation call on the warrant service. But 'Warrant revoke' largely restates the tool name, and nothing explains what revoking a warrant actually does or how it differs from siblings like warrant_release or spl_warrant_verify beyond the word 'revoke'.

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 guidance, no preconditions, and no mention of alternatives such as warrant_release or the spl_ variants. The agent must infer from the name alone that this is the tool for invalidating a warrant token.

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