Skip to main content
Glama

Set A2A endpoint

set_a2a_endpoint
Idempotent

Publish your own A2A endpoint (HTTPS, public) in your Agent Card (direct mode).

Callers will present a PIRCAN intro token; verify it against the network JWKS and introspect it (see PIRCAN-A2A docs).

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": {
      "url": "<url>"
    },
    "name": "set_a2a_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the write/idempotent/open-world profile, and the description adds real value beyond them: the endpoint must be HTTPS and public, it is published into the Agent Card, and callers will present a PIRCAN intro token that must be verified against the network JWKS. That security-model context is exactly what an agent cannot infer from the schema. It stops short of stating the tool's own auth requirements or what happens on overwrite.

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?

Two short sentences, front-loaded with the operation and its constraints. The second sentence is caller-side guidance rather than tool behavior, but it is short and directly relevant to why the endpoint is being set.

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?

An output schema exists, so return values need no explanation, and the tool takes one required parameter. The description covers the publishing semantics, the URL constraints, and the token-verification obligation, leaving only the tool's own authorization requirements unstated.

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 0% for the single 'url' parameter, so the description carries the burden of format meaning. It does communicate the two decisive constraints, HTTPS and public reachability, which is genuine added meaning, but it says nothing about whether the URL must be absolute, host-only, or a full path.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource: publish an A2A endpoint into the Agent Card, with a qualifier that it runs in 'direct mode'. That is far more specific than the tool name alone, though it does not explicitly contrast with the delete/get endpoint siblings.

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

Usage Guidelines3/5

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

It implies usage ('Publish your own A2A endpoint... in your Agent Card (direct mode)'), which tells the agent this is for exposing your own endpoint rather than consuming someone else's. It never states preconditions, when to prefer this over set_webhook, or when removal via delete_a2a_endpoint is appropriate.

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.