Skip to main content
Glama

Set alert webhook

set_webhook
Idempotent

Add or change the https webhook. It is POSTed on every band change and rebaseline, HMAC-SHA256-signed with the scoring key (header x-kyde-signature: sha256= over the raw body).

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": {
      "webhook_url": "<webhook_url>"
    },
    "name": "set_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoScoring key; omit when sent as x-kyde-key header.
webhook_urlYeshttps URL, or null to remove the webhook (the key becomes poll-only).

Output Schema

NameRequiredDescriptionDefault
webhookYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "webhook": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "webhook"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / webhook_url / description
      Added value: +"https URL, or null to remove the webhook (the key becomes poll-only)."
    • changedInput schema / properties / webhook_url / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover mutation and idempotency, and the description goes further by disclosing trigger events (band change and rebaseline), the HMAC-SHA256 signing scheme, the exact signature header format, and what the digest is computed over (raw body). It does not say whether the URL is validated, what happens to the previous webhook on replacement, or how delivery failures surface, which keeps it short of a 5.

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?

Two tight sentences: the action is front-loaded and the second sentence delivers only high-value protocol detail. No filler, no restatement of the title.

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 values need no explanation, and annotations carry the safety profile; the description supplies the delivery and signing behavior that would otherwise be invisible. The only gap is the absence of removal/replacement semantics and any mention of authorization requirements for setting a webhook.

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 the baseline is 3, but the description earns more by explaining that the scoring key is the HMAC signing secret, which clarifies the otherwise ambiguous 'key' parameter beyond its schema text. It also reinforces the https constraint on webhook_url, though it does not repeat the null-removal semantics that the schema documents.

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 pair and resource ('Add or change the https webhook') and immediately explains what the webhook does (POSTed on every band change and rebaseline). No sibling tool (claim_key, create_key, get_scores, rebaseline, revoke_key) could be confused with this operation.

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?

Usage is only implied by 'Add or change' — there is no explicit statement of when to configure a webhook versus relying on polling, and no mention that passing null removes it (that lives only in the schema). An agent can infer intent but gets no guidance on prerequisites such as needing an existing scoring key.

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