Skip to main content
Glama

Set webhook

set_webhook
DestructiveIdempotent

Register (or replace) your HTTPS endpoint for pushed events.

Returns the signing secret, shown only now. Each POST carries the
header PIRCAN-Signature: t=<unix time>,v1=<hex HMAC-SHA256 of
"<t>.<body>" with the secret>. Reject stale timestamps (over 5 minutes).

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

Input Schema

NameRequiredDescriptionDefault
urlYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, but the description adds materially more: the signing secret is returned once and never again, the exact signature header format and HMAC construction are specified, and a replay-protection rule (reject timestamps older than 5 minutes) is given. These are operational facts the agent cannot obtain from any structured field.

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 one-time secret warning and signature scheme are front-loaded immediately after the purpose statement, and every remaining sentence carries actionable information. No filler or restatement of the title appears.

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?

An output schema exists, so return structure need not be explained, and the description still flags the one non-obvious return property (the secret is shown only now). Combined with annotations covering the destructive/idempotent profile, an agent has everything needed to call this correctly and to advise on verification.

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 description coverage is 0% — the single parameter is bare `url: string` — so the description must carry the meaning. It does specify "HTTPS endpoint," which is the critical constraint the schema omits, though it stops short of stating whether query strings, ports, or self-signed certs are acceptable.

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 opens with a specific verb and resource: "Register (or replace) your HTTPS endpoint for pushed events." The parenthetical "or replace" disambiguates it from the read/delete siblings (get_webhook, delete_webhook) by making the upsert semantics explicit, so an agent can tell what the call does 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 Guidelines3/5

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

Usage is implied by the phrase "for pushed events" — an agent can infer this is the call to establish event delivery. However, there is no explicit when-to-use statement, no mention of prerequisites (e.g., needing an existing endpoint or permissions), and no routing to alternatives such as get_webhook to verify an existing registration or delete_webhook to tear one down.

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.