Skip to main content
Glama

test_webhook_endpoint

Idempotent

Queue a synthetic webhook.test delivery (no item) to check the receiver and its signature verification. Queue admission is not HTTP delivery; the delivery log shows the result. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. A repeated idempotency_key with the same input replays the stored result.

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": {
      "expected_revision": "<expected_revision>",
      "idempotency_key": "<idempotency_key>",
      "endpoint_id": "<endpoint_id>"
    },
    "name": "test_webhook_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
endpoint_idYesWebhook endpoint id (UUID).
idempotency_keyYesA UUID for this one intent; the same key replays the identical request.
expected_revisionYesThe endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / endpoint_id / description
      Previous value: -"Webhook endpoint id (UUID) from list_webhook_endpoints."New value: +"Webhook endpoint id (UUID)."
    • changedInput schema / properties / expected_revision / description
      Previous value: -"The endpoint's current revision from list_webhook_endpoints; a stale revision is refused so concurrent edits are never overwritten."New value: +"The endpoint's current revision; a stale revision is refused so concurrent edits are never overwritten."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"A new UUID for this one intent; reuse it only to retry the identical request."New value: +"A UUID for this one intent; the same key replays the identical request."
  2. Changed3 schema fields changed
    • addedInput schema / properties / endpoint_id / description
      Added value: +"Webhook endpoint id (UUID) from list_webhook_endpoints."
    • addedInput schema / properties / expected_revision / description
      Added value: +"The endpoint's current revision from list_webhook_endpoints; a stale revision is refused so concurrent edits are never overwritten."
    • addedInput schema / properties / idempotency_key / description
      Added value: +"A new UUID for this one intent; reuse it only to retry the identical request."
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare the mutation/idempotent/open-world profile, and the description adds real behavioral context on top: the queue-admission-versus-HTTP-delivery distinction, where the outcome appears (delivery log), the authorization model shared with /api/v1/webhooks/endpoints, and idempotent replay of stored results. This is the kind of side-effect disclosure an agent cannot get from structured fields alone.

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?

Four tight sentences, each carrying a distinct piece of information, with the core action front-loaded and the caution about queue admission immediately after. No filler or restatement of the name.

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 3-parameter mutating tool with full schema coverage and an output schema, the description covers permissions, side-effect semantics, idempotency, and where to observe results. Nothing material is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema by explaining that a repeated idempotency_key with identical input replays the stored result rather than re-delivering. The expected_revision and endpoint_id semantics are left to the schema's own descriptions.

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?

States a specific verb and resource ('Queue a synthetic webhook.test delivery') and scopes it with '(no item)', which implicitly distinguishes it from the sibling that sends a sample payload. It stops short of naming that sibling, so the distinction relies on inference from the parenthetical.

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 clear usage context: checking a receiver and its signature verification, the webhook.manage permission required, and the caveat that queue admission is not HTTP delivery so the delivery log must be consulted. It does not explicitly say when to prefer this over test_webhook_endpoint_with_sample, leaving the choice to the '(no item)' hint.

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.