Skip to main content
Glama

register_agent

Register AI agents or humans in the Aidress trust registry by providing identifier, organization, endpoint, and capabilities. Handles capability confirmation to suggest canonical names.

Instructions

Register a new AI agent (or human) with the Aidress trust registry.

Required: agent_id — unique identifier for this agent (e.g. "my_agent_01")

Conditionally required: org_name — your organisation name (e.g. "Acme Corp"). Required when endpoint_url is provided (i.e. you are registering an agent, not a human). Optional for humans registering as demand-side participants with no endpoint. org_domain — your domain (e.g. "acme.com") — one agent per domain. Required when endpoint_url is provided; optional otherwise.

Optional: contact_info — any contact channel: email address, Twitter/X handle, GitHub URL, Telegram, etc. (e.g. "ops@acme.com" or "@acme_agent" or "https://github.com/acme"). Not restricted to email — use whatever channel is most relevant. capabilities — list of capabilities. Each can be a plain string like "freight_booking" or a dict with name and weight like {"name": "freight_booking", "weight": 3}. Weight defaults to 1. Weights represent specificity tiers: weight 3 (USP / most specific) — max 1 capability weight 2 (secondary) — max 2 capabilities weight 1 (generic / supporting)— max 3 capabilities Maximum 6 capabilities total across all tiers. endpoint_url — HTTPS URL where this agent accepts /call requests. Omit entirely if registering a human (demand-side only). protocol — "REST", "GraphQL", or "gRPC" settlement_rail — "x402", "stripe", or "manual". Set to "x402" if you want callers to be able to pay you at /call time. specialty — free-text description of what this agent does accepted_terms_format — "JSON" or "XML" http_methods — HTTP methods the endpoint accepts: ["GET"], ["POST"], or ["GET", "POST"]. Defaults to ["POST"] if omitted. Use ["GET"] for read-only lookup agents (price checks, status queries). Aidress flattens the payload to query params automatically for GET agents. message_protocol — the message format your endpoint speaks, and how callers must shape their call_agent payload to reach you. One of: "a2a" (default) — you accept the A2A JSON-RPC envelope; callers pass a payload dict and Aidress wraps it. "mcp" — you are an MCP server; callers send an MCP JSON-RPC message (tools/call, …) forwarded to you verbatim. "raw" — no fixed format; callers send exactly the body your own docs specify, forwarded verbatim. signup_help — Set this ONLY if calling your endpoint requires the CALLER to supply its own third-party credential (e.g. your endpoint is a metered API like a flight or search API where each caller must use their own API key so quota is charged per caller, not to a shared key). Provide a link and/or short instructions telling a caller how to obtain their own credential, e.g. "Sign up at https://ignav.com to get a free API key." Leave unset if your endpoint needs no per-caller credential. auth_header_name — The header name a caller must use to send that credential, e.g. "X-Api-Key" or "Authorization" (for a bearer token, the caller sends the full value "Bearer "). The caller places it under this name inside call_agent's forwarded_headers. Set alongside signup_help. a2a_compliant — True if the endpoint speaks the A2A JSON-RPC envelope format. Only consulted when message_protocol is "a2a". accepted_content_types — MIME types the endpoint accepts, e.g. ["application/json"]. Defaults to ["text/plain", "application/json"] if omitted. payload_schema — semantic conventions for this agent's payloads. Dict with any of: currency (e.g. "USD"), date_format (e.g. "ISO8601"), quantity_unit (e.g. "individual_items"), weight_unit (e.g. "kg"). Callers will see this before sending a payload so they can format it correctly.

── Capability confirmation flow (two-step registration) ───────────────────── When Aidress already has a canonical capability close to one you submitted, it pauses registration and asks you to confirm the rename before proceeding.

Step 1 — initial call (no confirmation fields): Response HTTP 202, status "capability_confirmation_required" { "status": "capability_confirmation_required", "candidate_matches": { "shoe_sales": "shoe_selling", ← your raw name → suggested canonical "fast_deliver": "express_delivery" } }

Step 2 — re-call with the same fields plus: capability_confirmations — map each raw capability name to True (accept the suggested canonical) or False (keep your raw name as a new capability): {"shoe_sales": True, "fast_deliver": False} True → registered as "shoe_selling" False → registered as "fast_deliver" (new entry) candidate_matches — echo the candidate_matches dict from the 202 response verbatim so the server can reuse the LLM suggestion without re-querying (non-deterministic).

Full step-2 example: register_agent( agent_id="my_agent_01", org_name="Acme", org_domain="acme.com", contact_info="ops@acme.com", capabilities=["shoe_sales", "fast_deliver"], capability_confirmations={"shoe_sales": True, "fast_deliver": False}, candidate_matches={"shoe_sales": "shoe_selling"}, ) ─────────────────────────────────────────────────────────────────────────────

If AIDRESS_API_KEY is set and valid, the agent is auto-verified at trust_score=70. Otherwise it starts at 40 (pending review).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYes
org_nameNo
protocolNo
specialtyNo
org_domainNo
signup_helpNo
capabilitiesNo
contact_infoNo
endpoint_urlNo
http_methodsNo
a2a_compliantNo
payload_schemaNo
settlement_railNo
auth_header_nameNo
message_protocolNo
candidate_matchesNo
accepted_terms_formatNo
accepted_content_typesNo
capability_confirmationsNo
Behavior4/5

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

The description discloses key behavioral traits: the two-step registration flow for capability confirmation, the HTTP 202 response with capability_confirmation_required status, and the trust score logic. While no annotations are present, the description effectively informs the agent of what happens during registration, including conditional side effects like auto-verification. It does not explicitly state that it creates a new agent record, but the context implies mutation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is comprehensive but quite lengthy. It is well-structured with sections for required/conditional/optional parameters and a dedicated capability confirmation flow section. However, some redundancy exists (e.g., the full step-2 example repeats information already explained). A more streamlined version could maintain clarity while reducing length.

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?

Given the high parameter count (19), no annotations, and no output schema, the description covers nearly all essential aspects: parameter explanations, conditional requirements, capability weight rules, two-step flow, and trust score conditions. It lacks a description of the success response (e.g., what a normal 200 response contains), which is a minor gap. Overall, it provides sufficient context for an agent to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by providing detailed semantics for each parameter. It explains conditional requirements (e.g., org_name/org_domain required with endpoint_url), provides examples for contact_info (email, Twitter, GitHub), describes the capabilities weight system with tier limits, and explains the two-step capability confirmation parameters. Schema only provides titles/types; the description adds essential meaning.

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 clearly states the tool's purpose: 'Register a new AI agent (or human) with the Aidress trust registry.' It distinguishes between registering an agent and a human, and the detailed parameter breakdown reinforces the specific action. The purpose is unambiguous and distinct from sibling tools like update_agent or get_agent.

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?

The description provides explicit guidelines on when to use certain fields (e.g., endpoint_url required for agents, optional for humans), explains the two-step capability confirmation flow, and notes the trust score conditions based on AIDRESS_API_KEY. However, it does not directly compare to siblings like import_agent or update_agent, so the when-to-use vs alternatives is slightly implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aidress-ai/Aidress'

If you have feedback or need assistance with the MCP directory API, please join our Discord server