Skip to main content
Glama

Alerts Test Webhook

alerts_test_webhook
Read-onlyIdempotent

Send the signed test event to one of the user's webhook channels again (ids from alerts_list_channels), for example after the receiver installed a new secret from alerts_register_webhook or alerts_rotate_webhook_secret. Signed like a real delivery: the current secret and, inside a rotation's 24 hours, the previous one too (two sig= values; accept if ANY matches). Returns {ok, channel_id, test}, where test is {ok, status} when the endpoint answered (ok = HTTP 2xx) or {ok: false, error: timeout | network | ssrf_refused | ...}. Nothing is queued, retried or stored.

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": {
      "channel_id": "<channel_id>"
    },
    "name": "alerts_test_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idYesThe webhook channel id (from alerts_list_channels).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations (readOnly/openWorld/idempotent), it discloses that a real outbound request is made, how it is signed (current secret plus previous one during the 24h rotation window, two `sig=` values, accept if ANY matches), the exact return shape, the error enumeration (timeout | network | ssrf_refused | ...), and that nothing is queued, retried or stored. That is materially more than the structured fields convey.

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 the action and the id source, then the signing and return details in descending priority. Dense parentheticals (signature semantics, error codes) are justified because there is no output schema, though the single long paragraph is heavier than strictly necessary.

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 and only one parameter, the description carries the burden of explaining the response — which it does precisely ({ok, channel_id, test} with {ok, status} or an error string) — plus the signing edge case during rotation. Nothing an agent needs to call or interpret this correctly is missing.

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% and the single parameter is already documented, so the baseline is 3; the description adds value by pointing to alerts_list_channels as the authoritative id source and framing it as the channel to re-deliver to. No format details beyond that, hence not a 5.

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 the signed `test` event to one of the user's webhook channels again' — which cleanly separates it from alerts_register_webhook, alerts_rotate_webhook_secret and the sibling resend_delivery (real vs. test delivery). An agent can identify the operation 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 a concrete trigger ('for example after the receiver installed a new secret from alerts_register_webhook or alerts_rotate_webhook_secret') and names alerts_list_channels as the id source. It stops short of an explicit exclusion against alerts_resend_delivery, so the test-vs-real distinction must be inferred from 'test' event wording.

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.