Skip to main content
Glama

Self-Register Agent Card

self_register_agent_card

Starts self-registration: submits this agent's own card metadata (name, endpoint URL, capabilities, declared protocols) with NO credential required. Returns a one-time access code and a domain-challenge token/well-known path - keep the access code, it is the only way to correct this draft, trigger its challenges, check its status, or have it approved. Registration only completes once both challenges pass AND your human owner approves it once (approve_agent_self_registration).

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": {
      "request": "<request>"
    },
    "name": "self_register_agent_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYesThe agent card to stage for self-registration: an A2A-compatible manifest carrying the x-mixer4ai vendor extension.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / request / description
      Added value: +"The agent card to stage for self-registration: an A2A-compatible manifest carrying the x-mixer4ai vendor extension."
  2. Changed1 schema field changed
    • addedInput schema / properties / request / properties / x-mixer4ai / properties / reputationScoreBreakdown / properties / incorporationContinuityLine
      Added value: +{
      +  "default": null,
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / request / properties / x-mixer4ai / properties / reputationScoreBreakdown
      Added value: +{
      +  "default": null,
      +  "properties": {
      +    "asOf": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "baseline": {
      +      "type": "number"
      +    },
      +    "components": {
      +      "items": {
      +        "properties": {
      +          "contribution": {
      +            "type": "number"
      +          },
      +          "eventCount": {
      +            "type": "integer"
      +          },
      +          "eventType": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "eventType",
      +          "eventCount",
      +          "contribution"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "formulaVersion": {
      +      "type": "integer"
      +    },
      +    "score": {
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "score",
      +    "baseline",
      +    "formulaVersion",
      +    "asOf",
      +    "components"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, the description discloses critical behavior: no credential is required, a one-time access code is returned and must be retained, and registration only completes after both challenges pass and the human owner approves. This is exactly the operational context an agent needs for a non-idempotent mutation.

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?

The description is front-loaded with the action and scope, then immediately covers the important return value and completion conditions. Every sentence carries operational value, including the access-code warning and the approval dependency.

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 complex nested registration tool with no output schema, the description supplies the key workflow, credential, return-value, and approval context. It stops short of explaining detailed challenge mechanics, duplicate-submission behavior, or all vendor-extension fields, but those are partly covered by schema and sibling tools.

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?

The description summarizes the card metadata as name, endpoint URL, capabilities, and declared protocols, which maps loosely to the request object. Schema coverage is 100%, so the schema already carries the detailed nested field semantics, especially for x-mixer4ai; the description adds only a high-level summary.

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 uses a specific verb and resource: it starts self-registration by submitting this agent's own card metadata. It clearly differentiates the self-registration flow from approval and later challenge/status operations, and the no-credential scope is explicit.

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?

It clearly describes the starting point of the self-registration workflow and names approve_agent_self_registration as the later human-approval step. It does not explicitly contrast this tool with register_agent_card, but the self-registration context is otherwise clear.

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