Skip to main content
Glama

get_webhook_delivery

Read-onlyIdempotent

Diagnose webhook delivery failures by retrieving the payload and every attempt, oldest first, with HTTP status, duration, response excerpt, and error codes. Requires an Organization key.

Instructions

Get one webhook delivery with its payload and every attempt, oldest first: HTTP status, duration, the first 2 KB of the response body and an error code (timeout, connection_error, tls_error, redirect_not_followed, unsafe_destination_url, non_2xx). Use this to find out why a delivery failed. Requires an Organization key.

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": {
      "webhook_id": "<webhook_id>",
      "delivery_id": "<delivery_id>"
    },
    "name": "get_webhook_delivery"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYesWebhook subscription the delivery belongs to
delivery_idYesDelivery ID (whd_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.8.1
    • changedInput schema / properties / delivery_id / description
      Previous value: -"Delivery ID (whd_...) from list_webhook_deliveries"New value: +"Delivery ID (whd_...)"
  2. Addedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behavioral context: attempts are returned oldest first, response bodies are capped at 2 KB, and the error code taxonomy is enumerated, plus the Organization key requirement.

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?

Two sentences, front-loaded with the core action and return shape, then the use case and auth requirement. No filler, no redundancy with the title or annotations.

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?

With no output schema, the description does the work of describing the return payload, attempt ordering, body truncation, and error codes. The only gaps are whether the webhook payload itself is truncated or bounded and whether attempt lists can be paged, both minor for a single-delivery read.

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% with only two parameters, so the schema already carries parameter meaning. The description adds nothing about webhook_id or delivery_id beyond what the schema states, which lands at the baseline for well-documented schemas.

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 opens with a specific verb and resource ("Get one webhook delivery") and enumerates exactly what comes back: payload, every attempt, HTTP status, duration, truncated response body, error code. "One" implicitly separates it from the sibling list_webhook_deliveries, though it never names that sibling explicitly.

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 use case ("find out why a delivery failed") and a prerequisite (Organization key). It does not exclude or name alternatives such as replay_webhook_delivery or list_webhook_deliveries, so an agent must still infer when to prefer this over them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.