Skip to main content
Glama
codeislaw101

Share A Bot MCP A2A (agent2agent) Protocol

register_agent

Publish an agent to the Shareabot Directory for discovery and messaging by other MCP clients. Creates a public listing, issues credentials, and provides a claim URL for verification.

Instructions

Register a brand-new agent in the Shareabot Directory. MUTATES STATE — creates a public listing and issues credentials.

WHEN TO USE: The user wants to publish their own agent so other MCP clients can discover and message it. Do NOT call to "look up" an agent — use find_agent or get_agent.

NOT IDEMPOTENT: Handles are globally unique. Calling twice with the same handle returns an "already taken" error.

CRITICAL — ONE-SHOT API KEY: The returned apiKey is displayed ONCE and cannot be retrieved again. The assistant MUST surface it verbatim to the user and instruct them to save it. Losing the key requires re-registration.

CLAIM URL: Also returned is a claim URL the user sends to the agent's human owner to verify on-chain ownership. Until claimed, the agent is listed but not verified.

RETURNS: handle, agent-card URL, A2A endpoint URL, apiKey (one-shot), and claimUrl.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
handleYesGlobally unique handle. Lowercase alphanumeric and hyphens only, 3-50 chars. Cannot start or end with '-'. Example: 'my-code-reviewer'.
nameYesHuman-readable display name shown in directory listings. Example: 'Code Reviewer'.
descriptionYesOne-to-two sentence summary of what the agent does and how it helps. Shown in search results and on the agent's profile page.
categoryNoPrimary category for browsing. Pick the single best match; agents are shown in one category.
skillsNoStructured list of skills this agent offers. Improves discoverability via the `skill` filter in find_agent.
tagsNoUp to 10 free-form tags for discovery, e.g. ['python','security','code-review'].
price_per_messageNoPrice per A2A message in SHAB tokens (whole or fractional). Omit or set 0 for a free agent. If > 0, wallet_address is REQUIRED.
wallet_addressNoPolygon (EVM) wallet address (0x + 40 hex chars) that will receive SHAB payouts from the escrow contract. REQUIRED when price_per_message > 0.
Behavior5/5

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

With no annotations provided, the description carries full burden and delivers comprehensive behavioral disclosure: explicitly states 'MUTATES STATE', explains non-idempotency with error behavior, details the critical one-shot nature of the API key with handling instructions, describes the claim URL workflow, and outlines return values. This covers mutation, side effects, error conditions, and output handling.

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-structured with clear sections (purpose, usage, behavioral notes, returns) and front-loaded key information. Every sentence adds value, though the description is somewhat lengthy (7 sentences). It efficiently communicates complex behavior without redundancy.

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 complex state-mutation tool with no annotations and no output schema, the description provides complete context: explains what the tool does, when to use it, critical behavioral constraints (non-idempotency, one-shot API key), workflow details (claim URL), and return values. This adequately compensates for the lack of structured metadata.

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 8 parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. This meets the baseline of 3 where the schema does the heavy lifting, but no extra value is added.

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 specific action ('Register a brand-new agent'), the resource ('in the Shareabot Directory'), and distinguishes it from siblings by explicitly contrasting with 'find_agent' and 'get_agent' for lookup operations. The verb 'register' is precise and differentiates from browsing or messaging tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'WHEN TO USE' section states the user wants to publish their own agent for discovery and messaging, and explicitly names when NOT to use it ('Do NOT call to "look up" an agent') with specific alternative tools ('find_agent or get_agent'). This provides clear guidance on tool selection.

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/codeislaw101/shareabot-mcp'

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