Skip to main content
Glama

Register the DID-LLM

debitmydata_register_did
Idempotent

Issue the DID-LLM once the payment is settled and the controller proof is verified. Returns the DID-LLM, its DID-LLM document URL, the signed credential (the receipt) and the entitlements. Calling it again returns the same DID-LLM.

x402 quotes (USDC on Base): prove control first, then call this tool. It fails with the x402 payment requirements; sign them with your wallet and call it again with x402_payment. The DID-LLM is issued once the payment is settled on chain.

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_register_did"
  }
}

Input Schema

NameRequiredDescriptionDefault
x402_paymentNox402 quotes only: your signed PaymentPayload (x402 version 2) answering the payment requirements this tool returned. It may also be sent in the request's _meta['x402/payment'].
registration_intent_idYesregistration_intent_id from the quote (dmd_did_intent_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, and the description usefully corroborates idempotency plus describes the 402 failure-and-retry loop and the on-chain settlement gate. However, the return-value listing ('DID-LLM document URL, signed credential, entitlements') is the only added payload context, and it says nothing about what happens when proof verification fails or whether the credential must be persisted.

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?

Well front-loaded: the action and preconditions come first, then the return shape, then the payment mechanics. There is mild redundancy — 'once the payment is settled' appears in the first line and again at the end ('issued once the payment is settled on chain') — but nothing is wasted enough to impede an agent.

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?

With no output schema, the description carries the burden of describing returns and does so explicitly (DID, document URL, signed credential, entitlements). Combined with the 402 retry protocol and the idempotency guarantee, an agent has enough to call it correctly and handle the failure path, with only minor gaps around post-failure error states.

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 both parameters are already documented, but the description adds real meaning beyond the schema: x402_payment is the signed answer to the requirements this tool returned on a prior call, not an arbitrary value. That framing of the round-trip is what the schema cannot convey on its own.

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?

Uses a specific verb and resource ('Issue the DID-LLM') and states the two preconditions (payment settled, controller proof verified). It is clearly distinct from mutation siblings like revoke_did or change_owner, but it never names the sibling that produces the prerequisite states (e.g., the wallet-control proof tool or the quote tool), so differentiation is by implication rather than explicit routing.

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 a concrete when-to-use sequence: prove control first, call this tool, expect an x402 failure carrying payment requirements, sign them, then call again with x402_payment. It also states the retry behavior ('calling it again returns the same DID-LLM'). It stops short of naming alternatives or exclusions, such as which sibling to use when the intent/quote does not yet exist.

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.