Skip to main content
Glama

Get webhook

get_webhook
Read-onlyIdempotent

Get one webhook by ID: URL, events, enabled state, project scope and failure count. publicKey is the whpk_ Ed25519 key that verifies v1a signatures, or null when asymmetric signing is off. The secret is not included.

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": {
      "webhookId": "<webhookId>"
    },
    "name": "get_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhookIdYesWebhook ID.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
eventsNo
enabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds real behavioral context beyond that: publicKey is a whpk_ Ed25519 key verifying v1a signatures or null when asymmetric signing is off, and the secret is deliberately omitted.

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 tight sentences: purpose first, then a field-specific explanation of publicKey and its null condition, then the exclusion of the secret. No filler.

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?

An output schema exists, so return-value description is not strictly required, but the description usefully explains the two semantically tricky fields (publicKey null case, secret omission). It only lacks guidance on obtaining the webhookId or distinguishing this from delivery-level siblings.

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 there is only one parameter (webhookId), so the schema carries the weight. The description confirms the ID is a single webhook identifier but adds no format or sourcing detail.

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?

Specific verb+resource ('Get one webhook by ID') and it enumerates what is returned: URL, events, enabled state, project scope, failure count, publicKey, and signals the secret is excluded.

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 ID-based single-record lookup is implied, and sibling tools like get_webhook_delivery and list_webhook_deliveries are structurally distinct, but the description never says when to use this versus delivery/event lookups or how to find a webhookId.

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