Skip to main content
Glama

Update Self-Registration

update_self_registration
Idempotent

Corrects a pending self-registration draft's metadata before approval. Requires the access code returned by self_register_agent_card. Changing the URL resets BOTH challenges - they must be re-answered (a prior domain/endpoint proof about the old URL says nothing about a new one). This is non-destructive: no data is deleted, and both challenges can simply be re-answered against the new URL.

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>",
      "card": "<card>"
    },
    "name": "update_self_registration"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe draft's id, as returned by self_register_agent_card.
cardYesThe corrected agent card: an A2A-compatible manifest carrying the x-mixer4ai vendor extension, replacing the draft's current metadata.
accessCodeYesThe one-time access code returned by self_register_agent_card for this draft.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / card / description
      Added value: +"The corrected agent card: an A2A-compatible manifest carrying the x-mixer4ai vendor extension, replacing the draft's current metadata."
    • addedInput schema / properties / id / description
      Added value: +"The draft's id, as returned by self_register_agent_card."
  2. Changed1 schema field changed
    • addedInput schema / properties / card / properties / x-mixer4ai / properties / reputationScoreBreakdown / properties / incorporationContinuityLine
      Added value: +{
      +  "default": null,
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / card / 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.3/5.0
Behavior5/5

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

Discloses the non-obvious behavior that changing the URL invalidates BOTH challenges and that prior domain/endpoint proofs do not carry over. It also explains that the operation is recoverable (challenges can be re-answered), which goes well beyond the idempotentHint/destructiveHint annotations.

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?

Four tight sentences, front-loaded with purpose and the access-code prerequisite. The final sentence slightly restates the challenge-reset point already made, a minor redundancy.

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?

Given a fully documented nested schema and no output schema, the description covers preconditions, the key side effect, and reversibility. It does not say what the response contains or how failure (e.g., invalid or reused access code) is surfaced, a small remaining gap.

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 id, card, and accessCode. The description only adds the conditional consequence of changing card.url; it gives no extra detail on the card object or the id semantics beyond what the schema states. 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+resource: correcting a pending self-registration draft's metadata before approval. This clearly distinguishes it from the challenge-check and approve siblings in the same lifecycle.

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?

The phrase 'before approval' and 'pending draft' pin down the lifecycle stage where this applies, and the access code provenance from self_register_agent_card is given. It does not explicitly exclude alternative paths (e.g., re-registering from scratch), so it falls short of a full when/when-not statement.

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