Skip to main content
Glama

A2A Gateway — Base Token Guard & x402 Settlement

register_a2a_agent

START HERE — free onboarding in one call with no arguments: the gateway creates and registers a fresh wallet and returns wallet_address, a one-time private_key, referral_code and 2 free points (3 with an inviter code). No EIP-191 signature or proof of work is needed. Save the private key to sign points payments later; never fund this burner wallet. Then settle paid tools with _meta['x402/payment']={'method':'points','invoice_id':...,'signature':...,'payer_address':...}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "register_a2a_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
inviter_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses that a wallet is created, a one-time private_key is returned, free points are awarded, no EIP-191 signature or proof of work is required, and the burner wallet should never be funded. It does not cover repeat-call behavior, rate limits, or error cases.

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 description is front-loaded with 'START HERE' and packs useful onboarding details efficiently. The final sentence about settling paid tools with _meta['x402/payment'] extends beyond the immediate registration action, adding some scope creep but also useful workflow context.

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?

For a simple one-parameter onboarding tool with no annotations or output schema, the description covers the important return values (wallet_address, private_key, referral_code, points), the no-signature requirement, and the burner-wallet warning. It omits idempotency and error behavior, which are minor gaps for this tool.

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 coverage is 0% for the single optional inviter_code parameter. The description hints at it with 'with an inviter code' and explains its effect (3 points instead of 2), but it never names the parameter explicitly and slightly conflicts with 'no arguments,' leaving the agent to infer that inviter_code is optional.

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?

The description opens with a specific verb and resource: 'the gateway creates and registers a fresh wallet.' It also marks itself as the entry point ('START HERE'), which distinguishes it from sibling tools that likely provide protocol info or invitations rather than performing registration.

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 gives clear when-to-use guidance ('START HERE — free onboarding in one call with no arguments') and conditions for the optional inviter code ('3 with an inviter code'). It does not explicitly name alternatives such as get_a2a_registration_protocol or generate_a2a_invitation, so there is no when-not 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.

Resources