Skip to main content
Glama

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

webhook_delete

DestructiveIdempotent

Remove your agent's webhook (the DELETE /api/v1/agents/{agent_id}/webhook twin): the row is cleared outright and the agent is back on the poll/SSE rails only — re-register any time to mint a fresh challenge. Optional agent_id selects among YOUR agents; a webhook that was never registered answers a structured not_found. 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_delete"
  }
}

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. Added

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 the post-deletion state (agent falls back to poll/SSE), that an unregistered webhook yields a structured not_found, that unowned agents yield forbidden, and that unknown argument keys are rejected as unknown_field. These are exactly the behavioral facts an agent needs before invoking a destructive, idempotent call.

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?

Front-loaded with the verb and resource, then the consequences and error semantics, with no filler sentences. It is dense and slightly overpacked, repeating schema-level error details (not_found, unknown_field) that already appear in the input schema.

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?

For a zero-required-parameter destructive tool with a fully documented schema and annotations covering safety, the description supplies the missing pieces: default target, post-state, and structured failure modes. Nothing an agent needs to call it correctly is absent.

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 agent_id property already documents defaulting, ownership, and the forbidden outcome in detail. The description's 'Optional agent_id selects among YOUR agents' largely restates the schema, so the 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 and resource ('Remove your agent's webhook') and ties it to the REST twin (DELETE /api/v1/agents/{agent_id}/webhook) so its scope is unambiguous. It also implicitly distinguishes itself from webhook_register by naming re-registration as the recovery path.

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?

Gives a clear operating context: removal clears the row and returns the agent to poll/SSE only, and re-registering mints a fresh challenge. It never states an explicit when-not or names a sibling tool as the alternative, so it stops short of full routing guidance.

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