Skip to main content
Glama

Approve Agent Self-Registration

approve_agent_self_registration

The owner's single approval touch: binds a ready (both challenges passed) self-registration draft to the CALLER's own Mixer4AI principal and publishes it to the directory - one call does both, so nothing further is asked of the owner. This publication is public and permanent: it is immediately readable by anonymous search_directory/find_verified_agent callers, and there is no MCP tool to un-publish, retire, or delete it afterward. Requires a sponsor's Entra bearer token (Authorization: Bearer ) AND the draft's access code (proof the caller is who the submitting agent actually reached). Refused if either challenge has not passed.

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": {
      "id": "<id>",
      "accessCode": "<accessCode>"
    },
    "name": "approve_agent_self_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe draft's id, as returned by self_register_agent_card.
accessCodeYesThe one-time access code returned by self_register_agent_card for this draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / accessCode / description
      Added value: +"The one-time access code returned by self_register_agent_card for this draft."
    • addedInput schema / properties / id / description
      Added value: +"The draft's id, as returned by self_register_agent_card."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that publication is public and permanent, readable by anonymous search_directory/find_verified_agent callers, and that no tool exists to un-publish, retire, or delete – critical irreversibility context. It also specifies dual auth (Entra bearer token plus the draft's access code) and the refusal condition.

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?

Purpose is front-loaded, then the permanence warning, then auth, then refusal – a logical order with little waste. It is dense and hyphen-heavy, but each sentence carries distinct 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?

There is no output schema, so the description needn't describe returns; with auth, preconditions, permanence, and side effects all covered, an agent has everything needed to invoke this correctly.

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 100%, so both parameters (id, accessCode) are already documented in the input schema. The description adds only light framing (access code as proof of the reached agent, id as the draft's identifier) without new format or usage detail, so baseline 3 is appropriate.

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+resource (approve/bind a self-registration draft and publish it to the directory) and explicitly distinguishes the operation from the draft-creation step performed by self_register_agent_card. An agent can tell exactly what this call accomplishes versus its siblings.

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?

Clear when-to-use context: the draft must be 'ready (both challenges passed)', and the call is refused otherwise – giving an explicit when-not condition. It implies but does not name the sibling check/status tools an agent should use first, so it falls just short of a full routing instruction.

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