Skip to main content
Glama

Prove control of the controller key or wallet

debitmydata_prove_wallet_control

Two calls. Without challenge_id and signature: returns a one-time challenge for one controller. Sign its message with that controller, then call again with challenge_id and signature. A wrong signature uses up the challenge. With both a key and a wallet, prove each (registration status lists what is still to prove).

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": {
      "registration_intent_id": "<registration_intent_id>"
    },
    "name": "debitmydata_prove_wallet_control"
  }
}

Input Schema

NameRequiredDescriptionDefault
signatureNoSignature of the challenge message: Ed25519 (base64url) for a key, or the wallet's personal_sign / signMessage result (0x...) for a wallet
challenge_idNoLeave empty to get a new challenge
controller_typeNoWhen getting a challenge: which controller to prove, ed25519 (the key) or eip155 (the wallet). By default the next one still to prove.
registration_intent_idYesregistration_intent_id from the quote (dmd_did_intent_...)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare a non-read-only, non-destructive, closed-world tool, and the description adds real behavioral context beyond that: the challenge is one-time, a wrong signature consumes it, and signing happens against the returned `message`. It does not disclose whether proof is required before registration completes or what error surface a failed proof produces, but the critical failure mode is disclosed.

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?

Compact, front-loaded, and structured as a sequence: get challenge, sign, resubmit, plus an edge case about multiple controllers. The telegraphic phrasing ('prove each (registration status lists what is still to prove)') is slightly compressed but costs no wasted words.

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, so return values need not be explained, and the description covers the protocol, the failure mode, and the dual-controller case. What remains unstated is what the caller should do after a successful proof and how this interacts with the registration-intent lifecycle, which for a 4-parameter, stateful tool is a modest but real gap.

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 every parameter (signature format per controller type, challenge_id emptiness, controller_type enum, registration_intent_id pattern) is already documented in the schema. The description only reinforces the pairing relationship between challenge_id and signature and the 'next one still to prove' default, 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?

The description names a concrete resource (controller key or wallet) and the operation (proving control) via a two-call challenge/response flow, and the title reinforces it. It is clearly distinct from siblings like register_did or get_registration_status, though the opening sentence 'Two calls.' delays the actual purpose statement until the reader infers it from the title.

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?

Explicitly distinguishes the two invocation modes: call without challenge_id/signature to get a challenge, then call again with both to complete. It also gives the multi-controller rule ('with both a key and a wallet, prove each') and points to registration status for remaining work. It stops short of stating where this sits in the overall flow relative to registration_intent creation or register_did.

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.