Skip to main content
Glama

Send a test webhook

test_webhook

Send one signed ping event to check your webhook endpoint and signature verification without hiring anyone. Optional body {"webhook_url": "https://..."} (same rules as a job's webhook_url). Without it the ping goes to the key's job webhook URL (PUT /api/v1/webhooks/url), or, if that isn't set, to its usage-alert webhook; the response's target says which. Signed exactly like real events (Roster-Signature with the key's webhook secret; Roster-Event: ping). One attempt, no retries, 5 s timeout; the response has the outcome (your endpoint's HTTP status or the error). Free. Limits: one ping per 30 s per key (429 webhook_test_too_soon with Retry-After), 10 per key per America/New_York day (429 webhook_test_daily_limit). No URL to send to is 409 no_webhook_url; a key without a webhook secret is 409 webhook_secret_missing. Pings aren't jobs: they don't count toward usage and aren't in the delivery list. The same as POST /api/v1/webhooks/test.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "test_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour HorseToga API key (rk_test_... or rk_live_...), if your client can't send it as the Authorization header. Get one with get_sandbox_key or request_access.
webhook_urlNoOptional https URL on a public host to ping. Leave it out to ping the key's job webhook URL, or if none, its usage-alert webhook.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / api_key / description
      Previous value: -"Your Roster API key (rk_test_... or rk_live_...), if your client can't send it as the Authorization header. Get one with get_sandbox_key or request_access."New value: +"Your HorseToga API key (rk_test_... or rk_live_...), if your client can't send it as the Authorization header. Get one with get_sandbox_key or request_access."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false) by disclosing signing internals (Roster-Signature, Roster-Event: ping, key's webhook secret), delivery semantics (one attempt, no retries, 5 s timeout), rate limits (1/30 s, 10 per key per America/New_York day with 429 codes and Retry-After), and failure modes (409 no_webhook_url, 409 webhook_secret_missing). It also clarifies the response carries the outcome and target, and that pings don't affect usage accounting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then parameters, then behavior, limits, and errors — a logical progression for an agent scanning quickly. It is dense and long, and phrases like 'without hiring anyone' and the raw REST endpoint reference ('The same as POST /api/v1/webhooks/test') add little for an MCP caller.

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?

With no output schema, the description compensates by explaining what the response contains (target selection and outcome HTTP status or error). Combined with signing details, limits, and error codes, an agent has everything needed to invoke and interpret results correctly for this two-optional-parameter tool.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds real meaning beyond the schema: the fallback resolution chain (job webhook URL, then usage-alert webhook, and the response's 'target' field reveals which), and that webhook_url follows the same rules as a job's webhook_url. This is meaningful semantic value, not repetition.

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?

States a specific verb and resource: 'Send one signed ping event to check your webhook endpoint and signature verification.' This clearly separates it from sibling tools like redeliver_webhook (real deliveries), list_webhook_deliveries (history), and set_job_webhook (configuration). The purpose is unmistakable without opening the schema.

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?

Gives clear when-to-use context (verify endpoint reachability and signature verification) and a useful when-not boundary: 'Pings aren't jobs: they don't count toward usage and aren't in the delivery list,' which steers agents away from confusing this with delivery-history tools. It lacks explicit sibling routing (e.g., 'use get_webhook_events to see real deliveries'), which keeps it short of a 5.

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