Skip to main content
Glama

Agent ID — Issue

agentid_issue
Idempotent

Issue an Agent ID: attestation binding a pubkey to a verified principal — unverifiable are refused. validity_days defaults to standard. Verify: agentid_verify. POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header. See https://docs.cdp.coinbase.com/x402 Paid tool — $0.25, USDC on Base or Arbitrum One. Paid URL: https://aemb.pro/v1/agent-id/issue.

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": {
      "agent_pubkey": "<agent_pubkey>",
      "operator_name": "<operator_name>",
      "operator_contact": "<operator_contact>",
      "principal_id": "<principal_id>",
      "principal_kind": "<principal_kind>",
      "principal_label": "<principal_label>",
      "principal_attestation_method": "<principal_attestation_method>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "agentid_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_pubkeyYesThe agent's public key (hex), the root of the Agent ID
principal_idYesID of the accountable principal on file with the Embassy
operator_nameYesPublic name of the operator running the agent (max 200 chars)
validity_daysNoDays until the Agent ID expires; integer 1-730. Defaults to the Embassy standard when omitted
principal_kindYesKind of principal: human or legal_entity
idempotency_keyYesIdempotency key: 8-128 printable ASCII characters (no spaces), client-generated, one per logical request — a UUID v4 is recommended. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt.
principal_labelYesPublic label for the principal
agent_key_schemeNoKey scheme for agent_pubkey: eip191 or ed25519 (default eip191)
operator_contactYesPublic contact for the operator (max 320 chars)
principal_attestation_methodYesHow the Embassy verified the principal

Output Schema

NameRequiredDescriptionDefault
howYesHow to pay: POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header
toolYesTool name, e.g. check_url_custom
assetYesSettlement asset
priceYesExact price, e.g. "$0.25"
networksYesEVM CAIP-2 network ids accepted
paid_urlYesx402-paid HTTPS URL to POST the tool inputs to
facilitatorYesx402 facilitator
payment_requiredYesAlways true: this MCP tool is a payment pointer; the tool itself is monetized via x402.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Idempotency key: UUID v4, client-generated, one per logical request. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt."New value: +"Idempotency key: 8-128 printable ASCII characters (no spaces), client-generated, one per logical request — a UUID v4 is recommended. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt."
  2. Changed1 schema field changed
    • changedOutput schema / properties / price / description
      Previous value: -"Exact price, e.g. \"$0.05\""New value: +"Exact price, e.g. \"$0.25\""
  3. Changed1 schema field changed
    • changedOutput schema / properties / tool / description
      Previous value: -"Tool name, e.g. ping"New value: +"Tool name, e.g. check_url_custom"
  4. Changed1 schema field changed
    • changedOutput schema / properties / price / description
      Previous value: -"Exact price, e.g. \"$0.15\""New value: +"Exact price, e.g. \"$0.05\""
  5. Changed1 schema field changed
    • changedOutput schema / properties / tool / description
      Previous value: -"Tool name, e.g. verified_check"New value: +"Tool name, e.g. ping"
  6. Changed2 schema fields changed
    • removedInput schema / properties / agent_wallet
      Removed value: -{
      -  "description": "Dev mode only: declares the account wallet (string, min 20 chars) when no x402 payment is present. Ignored in live mode — there the wallet is recovered from the verified payment authorization.",
      -  "type": "string"
      -}
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Idempotency key: any non-empty string (a UUID is recommended; no format is enforced). Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Keys are scoped per tool: the same key on another tool is unrelated."New value: +"Idempotency key: UUID v4, client-generated, one per logical request. Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Published example keys are rejected. Keys are scoped per tool and per payer account: a key never returns another wallet's receipt."
  7. Changed11 schema fields changed
    • addedInput schema / properties / agent_key_scheme / description
      Added value: +"Key scheme for agent_pubkey: eip191 or ed25519 (default eip191)"
    • addedInput schema / properties / agent_pubkey / description
      Added value: +"The agent's public key (hex), the root of the Agent ID"
    • changedInput schema / properties / agent_wallet / description
      Previous value: -"dev mode only"New value: +"Dev mode only: declares the account wallet (string, min 20 chars) when no x402 payment is present. Ignored in live mode — there the wallet is recovered from the verified payment authorization."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Idempotency key: any non-empty string (a UUID is recommended; no format is enforced). Replaying the same key on this tool returns the original receipt — the action is not re-run, and the first request's receipt wins even if you resend different inputs. Keys are scoped per tool: the same key on another tool is unrelated."
    • addedInput schema / properties / operator_contact / description
      Added value: +"Public contact for the operator (max 320 chars)"
    • addedInput schema / properties / operator_name / description
      Added value: +"Public name of the operator running the agent (max 200 chars)"
    • addedInput schema / properties / principal_attestation_method / description
      Added value: +"How the Embassy verified the principal"
    • addedInput schema / properties / principal_id / description
      Added value: +"ID of the accountable principal on file with the Embassy"
    • addedInput schema / properties / principal_kind / description
      Added value: +"Kind of principal: human or legal_entity"
    • addedInput schema / properties / principal_label / description
      Added value: +"Public label for the principal"
    • addedInput schema / properties / validity_days / description
      Added value: +"Days until the Agent ID expires; integer 1-730. Defaults to the Embassy standard when omitted"
  8. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare non-read-only, non-destructive, idempotent behavior, and the description adds context annotations cannot express: the call is paid ($0.25 USDC on Base or Arbitrum One), requires an x402 v2 PAYMENT-SIGNATURE header, and must be invoked as an HTTP POST to paid_url. The refusal rule for unverifiable principals is a real behavioral constraint beyond the structured fields.

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?

The core semantics are front-loaded in the first sentence, with invocation mechanics and pricing following in logical order. There is mild redundancy at the end — 'Paid tool' and 'Paid URL' restate the payment context already established, plus a docs link — but nothing is confusing.

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?

For a 10-parameter paid mutation with full schema coverage, annotations, and an output schema, the description supplies exactly the missing invocation layer: transport (POST JSON to paid_url), auth (PAYMENT-SIGNATURE header), cost/chain, and the eligibility rule. Nothing needed to call it correctly is absent.

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 parameter meaning is already carried by the schema, including the idempotency-key semantics. The description only restates the validity_days default ('defaults to standard'), which the schema already spells out, so it adds little beyond the baseline.

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?

States a specific verb and resource — 'Issue an Agent ID' — and defines the artifact as 'attestation binding a pubkey to a verified principal', which separates it from renew/revoke/verify siblings. It also adds a scoping rule ('unverifiable are refused') that tells the agent what eligibility means.

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?

It explicitly routes post-issuance checking to 'agentid_verify' and gives the operational precondition (payment via x402 and POSTing to paid_url). It doesn't contrast issuance with agentid_renew or agentid_revoke, so an agent deciding between lifecycle operations gets only the verb cue.

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