Skip to main content
Glama

get_webhook

Read-onlyIdempotent

Fetch a single webhook subscription by ID using an Organization key to inspect its subscribed event types and active state; signing secrets are never returned.

Instructions

Get a single webhook subscription by id, including its subscribed event types and active state. The signing secret is never returned. 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>"
    },
    "name": "get_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYesWebhook subscription to fetch

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / webhook_id / maxLength
      Added value: +128
    • addedInput schema / properties / webhook_id / minLength
      Added value: +1
    • addedInput schema / properties / webhook_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. First observedv1.2.5

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive behavior, so safety is covered. The description adds two genuinely useful facts beyond that: the signing secret is never returned (so an agent doesn't try to retrieve it here) and an Organization key is required for authorization. It doesn't mention error behavior for unknown ids, which keeps it short of a 5.

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?

Three short sentences, each carrying distinct information: what is returned, what is withheld, and what auth is needed. The core purpose is front-loaded and nothing is redundant.

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 single-parameter read with no output schema, the description covers the essentials an agent needs: the return contents, the notable omission (signing secret), and the auth requirement. 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.

Parameters3/5

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

Schema coverage is 100% and the single webhook_id parameter is fully documented in the schema, so the baseline is 3. The description's 'by id' phrasing adds only a small amount of meaning and no format or provenance detail beyond what the schema already supplies.

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 — 'Get a single webhook subscription by id' — which clearly distinguishes it from list or delivery-oriented siblings. It also names what the response contains (subscribed event types, active state), though it never explicitly references a sibling by name.

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?

The 'single ... by id' framing implies this is the lookup path when you already have a webhook id, as opposed to listing webhooks. However, there is no explicit when-to-use statement, no exclusion of alternatives like get_webhook_delivery or list_webhook_deliveries, and no guidance on what to do when the id is unknown.

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