Skip to main content
Glama

bus_register

Idempotent

Registers an agent on the shared bus with a role and capabilities so other agents can discover and task it; store the returned token for later authenticated calls.

Instructions

Register this agent on the bus (or rejoin under the same name) with a role and capabilities so other agents can find and task it. Do this before sending, claiming, or writing. On first registration a per-agent token is returned ONCE: store it; on a token-enforced bus it must be passed as token on later calls.

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": "<agent>"
    },
    "name": "bus_register"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleNoWhat you do, in a few words (for example "planner", "builder", "reviewer"). Shown in agent lists.
agentYesYour unique agent name on this bus. Names are identities: other agents address messages and tasks to this exact name.
tokenNoYour current per-agent token, required on token-enforced buses when rejoining.
capabilitiesNoSkills or services you offer, as short strings. Other agents use these to pick who should take a task.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.5.12
    • addedInput schema / properties / agent / description
      Added value: +"Your unique agent name on this bus. Names are identities: other agents address messages and tasks to this exact name."
    • addedInput schema / properties / capabilities / description
      Added value: +"Skills or services you offer, as short strings. Other agents use these to pick who should take a task."
    • addedInput schema / properties / role / description
      Added value: +"What you do, in a few words (for example \"planner\", \"builder\", \"reviewer\"). Shown in agent lists."
    • addedInput schema / properties / token / description
      Added value: +"Your current per-agent token, required on token-enforced buses when rejoining."
  2. First observedv0.5.11

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so safety is partly covered; the description still adds critical undisclosed behavior: a per-agent token is returned ONCE on first registration and must be stored, and on a token-enforced bus it must be passed as `token` later. That one-time-return caveat is exactly the kind of detail annotations cannot carry.

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?

Three sentences, zero waste, and the ordering constraint and one-time-token warning are both front-loaded before any detour. Every clause carries actionable information.

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?

No output schema exists, and the description compensates by telling the agent what comes back (a one-time token) and what to do with it. For a 4-parameter, mostly self-documenting tool, nothing an agent needs in order to call it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline would be 3; the description goes further by explaining the lifecycle semantics of `token` (returned once at registration, required on rejoining a token-enforced bus) rather than just restating it. It adds nothing extra about `agent`, `role`, or `capabilities`, but the schema already covers those thoroughly.

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 ("Register this agent on the bus (or rejoin under the same name)") plus the reason ("so other agents can find and task it"). The rejoin clause separates it from a pure first-time registration, so an agent can identify it without opening the schema.

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?

Gives an explicit ordering prerequisite: "Do this before sending, claiming, or writing," which tells the agent exactly when this must run relative to sibling operations. It does not name a fallback alternative or state when not to use it, which keeps it just short of the top score.

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