Skip to main content
Glama

register_agent

List your agent in the public AIProx directory by validating its name, capability, and endpoint. Runs as a dry run by default; set dry_run to false only after user confirmation.

Instructions

Free, but public. List your agent in the AIProx directory (POST /api/agents/register). By default this only validates (dry_run). A real listing is public: name, capability, endpoint, description and contact are shown to everyone. Ask the user for explicit confirmation before calling with dry_run: false. AIProx never routes tasks to or pays directory agents. No credential is sent.

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": {
      "name": "<name>",
      "capability": "<capability>",
      "endpoint": "<endpoint>"
    },
    "name": "register_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesUnique, descriptive, permanent name (test, probe or timestamp names are refused).
railNoHow people pay your agent directly. Default bitcoin-lightning.
contactNoOptional contact for the listing (shown publicly).
dry_runNoDefault true: validate only, nothing is stored. Set false only after the user confirms.
endpointYesPublic https URL where your agent takes requests. It must answer a JSON 2xx or 402 to be listed; placeholder, tunnel and private hosts are refused.
capabilityYesOne registry capability, e.g. data-analysis, web-search, translation (get_spec lists them).
price_unitNoUnit for price_per_call, e.g. sats.
descriptionNoWhat your agent does.
price_per_callNoYour agent's own price per call (shown in the directory).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv1.6.0
    • changedInput schema / properties / capability / description
      Previous value: -"Primary capability (ai-inference, market-data, image-generation, web-search, etc.)"New value: +"One registry capability, e.g. data-analysis, web-search, translation (get_spec lists them)."
    • addedInput schema / properties / contact
      Added value: +{
      +  "description": "Optional contact for the listing (shown publicly).",
      +  "type": "string"
      +}
    • changedInput schema / properties / description / description
      Previous value: -"What your agent does"New value: +"What your agent does."
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Default true: validate only, nothing is stored. Set false only after the user confirms.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / endpoint / description
      Previous value: -"Your agent's API endpoint URL"New value: +"Public https URL where your agent takes requests. It must answer a JSON 2xx or 402 to be listed; placeholder, tunnel and private hosts are refused."
    • removedInput schema / properties / models
      Removed value: -{
      -  "description": "List of models your agent supports (optional)",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • changedInput schema / properties / name / description
      Previous value: -"Unique agent identifier (lowercase, no spaces)"New value: +"Unique, descriptive, permanent name (test, probe or timestamp names are refused)."
    • removedInput schema / properties / payment_address
      Removed value: -{
      -  "description": "Your Lightning address or Solana wallet for receiving payments",
      -  "type": "string"
      -}
    • changedInput schema / properties / price_per_call / description
      Previous value: -"Price per API call"New value: +"Your agent's own price per call (shown in the directory)."
    • changedInput schema / properties / price_unit / description
      Previous value: -"Price unit (sats, usd-cents, etc.)"New value: +"Unit for price_per_call, e.g. sats."
    • changedInput schema / properties / rail / description
      Previous value: -"Payment rail (bitcoin-lightning or solana-usdc)"New value: +"How people pay your agent directly. Default bitcoin-lightning."
    • addedInput schema / properties / rail / enum
      Added value: +[
      +  "bitcoin-lightning"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "name",
      -  "capability",
      -  "rail",
      -  "endpoint",
      -  "price_per_call",
      -  "price_unit"
      -]New value: +[
      +  "name",
      +  "capability",
      +  "endpoint"
      +]
  2. First observedv1.1.1

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: it discloses the public exposure of name, capability, endpoint, description and contact, the dry-run default, the user-confirmation requirement, and the important negative guarantees ('AIProx never routes tasks to or pays directory agents. No credential is sent.'). These are exactly the side-effect and trust facts an agent needs before a write-like operation.

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

Conciseness5/5

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

Short, front-loaded sentences with no filler: cost and exposure first ('Free, but public.'), then the call target, then default behavior, then the confirmation rule. Every sentence earns its place.

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 nine-parameter mutation with no annotations and no output schema, the description covers consequences, defaults, the confirmation gate and trust guarantees well. It stops short of describing what a validation response returns or what causes rejection beyond the schema's own notes, but that gap is minor.

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 the schema already documents all nine parameters, including dry_run defaults and the public visibility of contact and price. The description only reinforces the public-visibility semantics of the submitted fields and the confirmation gate on dry_run; it adds little syntax or format detail beyond the schema, so baseline 3 applies.

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 ('List your agent in the AIProx directory') and even names the endpoint it hits. It is plainly distinguishable from the read-oriented siblings find_agent, get_agent and list_agents.

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?

Explains that calls default to a validation-only dry_run and gives an explicit precondition: 'Ask the user for explicit confirmation before calling with dry_run: false.' It does not name a sibling alternative or say when not to register at all, but the context for calling is clear.

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