Skip to main content
Glama
@racehooks/mcp

@racehooks/mcp

Official

Create Webhook

create_webhook

Register a new webhook subscription for a RaceHooks feed and receive its HMAC signing secret, which is shown only once and must be stored immediately.

Instructions

Register a new webhook subscription. Returns the webhook and the HMAC signing secret (shown once — store it immediately).

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": {
      "feedId": "<feedId>",
      "webhookUrl": "<webhookUrl>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
feedIdYesFeed ID from list_feeds. Use 'events.race' for structured race events.
filtersNo
webhookUrlYesPublic HTTPS URL to deliver payloads to.
webhookMethodNopost

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare that this is a non-read-only, non-idempotent, open-world operation that is not destructive. The description adds a critical behavioral detail beyond the annotations: it returns the webhook and an HMAC signing secret that is shown only once and must be stored immediately.

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 two short sentences with no wasted text. The creation purpose is front-loaded, and the one-time secret warning follows immediately.

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?

For a webhook-creation mutation with nested filter parameters and no output schema, the description covers the core action and the most important return-value caveat: the one-time HMAC secret. It is not fully complete because it omits parameter guidance and does not clarify alternatives, but the critical operational detail is present.

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?

The description provides no information about the four parameters. With only 50% schema description coverage, important inputs such as filters and webhookMethod remain under-explained, and the description does nothing to compensate for that gap.

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?

The description states a specific verb and resource: 'Register a new webhook subscription.' This clearly distinguishes creation from sibling operations such as update_webhook, delete_webhook, and test_webhook.

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 description implies this is the creation path for a new webhook, but it does not explicitly say when to use it versus update_webhook or how it relates to list_webhooks/get_webhook. The usage context is therefore implied rather than spelled out.

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