Skip to main content
Glama

Revoke a DID-LLM for good

debitmydata_revoke_did
Destructive

Revoke a DID-LLM for good, signed by its owner: it cannot be undone. The DID-LLM, its credential and its entitlements stop working forever. Without challenge_id and signature: returns the message to sign. Sign it with the owner key or wallet it names, then call again with did, challenge_id and signature. Only when the owner really wants it ended (for example a key that leaked and no other owner to change to).

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": {
      "did": "<did>"
    },
    "name": "debitmydata_revoke_did"
  }
}

Input Schema

NameRequiredDescriptionDefault
didYesThe DID-LLM (did:web:...:agents:...) or its identity ID (dmd_identity_...)
reasonNoOptional, kept with the revocation
signatureNoSignature of the message, as for debitmydata_prove_wallet_control
challenge_idNoLeave empty to get the message to sign
controller_typeNoWho signs: ed25519 (the key, by default) or eip155 (the wallet)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, so the description's job is to say what is destroyed — it does: the DID-LLM, its credential and its entitlements 'stop working forever', and the action 'cannot be undone'. It additionally discloses a non-obvious two-step challenge/signature protocol and who must sign, which no annotation conveys.

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?

Front-loaded with the irreversible consequence, then the protocol, then the intended use case — a sensible order. Mild redundancy between 'Revoke a DID-LLM for good' and 'it cannot be undone', but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return shapes need not be described, yet the description still covers the one return behavior an agent must know: the unsigned first call yields the message to sign. For a 5-parameter destructive mutation, the safety profile, destruction scope, and signing flow are all present.

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?

Schema coverage is 100%, so baseline is 3; the description earns above that by explaining the conditional semantics of the optional parameters — omitting challenge_id and signature returns a message to sign, and the second call must carry did, challenge_id and signature. It does not explain reason or controller_type in the description, leaving those to the schema.

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?

Names a specific verb+resource ('Revoke a DID-LLM') and immediately states scope and permanence ('signed by its owner: it cannot be undone'). It also implicitly separates itself from ownership-transfer flows by noting the case where there is 'no other owner to change to'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use condition: 'Only when the owner really wants it ended (for example a key that leaked and no other owner to change to).' That also signals the alternative path (changing owner) without naming the sibling tool, so it stops just short of full routing guidance.

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.