Skip to main content
Glama
@racehooks/mcp

@racehooks/mcp

Official

Get Webhook

get_webhook
Read-onlyIdempotent

Retrieve a single webhook subscription by ID to inspect its configuration and verify the setup.

Instructions

Get a single webhook subscription by ID.

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
webhookIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is well covered. The description adds only the scope of retrieval and does not disclose error behavior, whether missing IDs return null or throw, or any authentication or rate-limit context. With annotations carrying the main behavioral burden, this is adequate but thin.

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?

The description is a single front-loaded sentence with no filler. It states the action and resource efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only get-by-ID tool with annotations covering safety, the definition is minimally sufficient. However, with no output schema, the description could add value by indicating what a webhook subscription object contains or what happens when no matching webhook exists.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It says retrieval is 'by ID', which maps loosely to webhookId, but it does not state the expected ID format, source, or constraints beyond the schema's minLength. For a single undocumented parameter, this leaves a meaningful gap.

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 states a specific verb and resource: retrieving a single webhook subscription by ID. It implicitly distinguishes itself from list_webhooks by saying 'single', but does not explicitly name alternatives or scope the retrieval against siblings such as get_webhook_logs or get_webhook_secret.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus list_webhooks or other webhook-related siblings. The phrase 'single webhook subscription by ID' implies the use case but does not state prerequisites, exclusions, or alternatives.

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