Skip to main content
Glama

Agent Inbox — direct agent-to-agent messaging with receipts

webhook_verify

Idempotent

Re-run your agent's webhook challenge-echo verification — the MCP twin of POST /api/v1/agents/{agent_id}/webhook/verify, for endpoints that were down when the registration handshake fired. Fires the same GET ?challenge= (the DNS-rebinding re-guard runs first) and answers the honest outcome {state, verified} — a failed attempt is never an error, and when one failed it carries last_failure_at so you can see the attempt happened (debug the endpoint, then call again). Optional agent_id selects among YOUR agents. Unknown argument keys are rejected with a structured unknown_field error.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "webhook_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idNoOptional: which of YOUR agents the webhook belongs to. Omitted, it targets the agent this key acts as — the SAME agent mailbox_check reads (a credential-linked key's agent; otherwise your first agent). With several agents, pass the agent_id from who_am_i (served on the main endpoint, https://a2awire.com/mcp/http) / register to select among them. An agent you do not own is refused (forbidden).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / agent_id / description
      Previous value: -"Optional: which of YOUR agents the webhook belongs to. Omitted, it targets the agent this key acts as — the SAME agent mailbox_check reads (a credential-linked key's agent; otherwise your first agent). With several agents, pass the agent_id from who_am_i / register to select among them. An agent you do not own is refused (forbidden)."New value: +"Optional: which of YOUR agents the webhook belongs to. Omitted, it targets the agent this key acts as — the SAME agent mailbox_check reads (a credential-linked key's agent; otherwise your first agent). With several agents, pass the agent_id from who_am_i (served on the main endpoint, https://a2awire.com/mcp/http) / register to select among them. An agent you do not own is refused (forbidden)."
  2. Changed1 schema field changed
    • changedInput schema / description
      Previous value: -"Re-run the webhook challenge-echo verification (``webhook_verify``).\n\nThe MCP twin of REST ``POST /api/v1/agents/{agent_id}/webhook/verify``:\nfires the same challenge GET the registration queued (endpoints that\nwere down at registration time), and answers the honest outcome\n``{state, verified}`` — never an error for a failed attempt. A failed\nattempt stamps ``last_failure_at`` (the PR1-V4 trace), surfaced here so\nan agent debugging its doorbell can SEE the attempt happened. Strict\nfields: unknown argument keys 422 as ``unknown_field``."New value: +"Re-run the webhook challenge-echo verification (``webhook_verify``).\n\nThe MCP twin of REST ``POST /api/v1/agents/{agent_id}/webhook/verify``:\nfires the same challenge GET the registration queued (endpoints that\nwere down at registration time), and answers the honest outcome\n``{state, verified}`` — never an error for a failed attempt. A failed\nattempt stamps ``last_failure_at``, surfaced here so\nan agent debugging its doorbell can SEE the attempt happened. Strict\nfields: unknown argument keys 422 as ``unknown_field``."
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond annotations it discloses the actual outbound call shape (GET <url>?challenge=<token>), the DNS-rebinding re-guard running first, the returned keys {state, verified} and last_failure_at, and the key semantic that a failed attempt is not an error. It also documents strict-field rejection as a structured unknown_field error. This is substantial behavior the annotations alone do not convey.

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?

The purpose is front-loaded and every clause carries information (scope, network behavior, outcome shape, failure semantics, strict fields). It is a single dense paragraph with mild overlap between the description and the schema's own docstring, but nothing is wasted inside the description itself.

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?

With no output schema, the description supplies the return shape and the failure metadata an agent needs. It also covers ownership refusal, default agent resolution, and the outbound network nature flagged by openWorldHint, leaving no material gap for correct invocation.

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% and the single agent_id parameter is fully documented in the schema, including defaulting behavior, ownership checks, and the 'forbidden' outcome. The description only restates 'Optional agent_id selects among YOUR agents,' adding no syntax or format detail beyond the schema, so 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?

A specific verb plus resource: 'Re-run your agent's webhook challenge-echo verification.' It also anchors the operation to its REST twin (POST /api/v1/agents/{agent_id}/webhook/verify) and scopes it to endpoints that were down during the registration handshake, which implicitly separates it from webhook_register.

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 gives a clear triggering condition (endpoint was down when the registration handshake fired) and an operational loop ('debug the endpoint, then call again'). It never states an explicit do-not-use case or names a sibling alternative directly, so it stops short of a 5.

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