Skip to main content
Glama

set_webhook

Register a standing webhook: Siren POSTs every run event in this workspace to the URL, so no agent has to poll. For one run only, pass callback_url to create_campaign or render_asset instead. Each POST is JSON {type, run_id, workspace_id, timestamp, data: {status, asset_url, caption, error, output_type, campaign_id}} signed with the secret: Standard Webhooks headers (webhook-id, webhook-timestamp, webhook-signature) plus X-Signature-256 (hex HMAC-SHA256 of the raw body). The secret is shown once; keep it.

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
urlYeshttps URL that receives every run event in this workspace. Must resolve to a public address.
labelNoA name for it, e.g. "my agent".
eventsNoAny of run.completed, run.failed, run.posted. Omit for all three.
secretNoSigning secret, 16 to 80 characters. Omit and Siren mints one (returned once).

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations cover mutation safety, but the description adds substantial behavior beyond them: webhook delivery trigger, JSON payload shape, signing headers and algorithms, and one-time secret disclosure. It does not contradict the supplied annotations.

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 front-loaded with purpose and alternatives, then gives payload and signing details that are necessary for correct integration. It is dense but has no filler, and every sentence earns its place.

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, and the description supplies the webhook payload and signing details an integrator needs. It omits lifecycle details such as whether repeated registration creates another webhook or replaces an existing one, which is a minor gap given idempotentHint=false.

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

Parameters3/5

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

Schema coverage is 100%, so url, label, events, and secret are already documented. The description elaborates the secret's signing role and one-time visibility, but most parameter constraints (public URL, event enum, secret length/default) remain in the schema, so it adds little parameter-specific meaning beyond that.

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 first sentence names the exact operation (register a standing webhook) and its effect (Siren POSTs every run event to the URL), which distinguishes it from one-off callbacks that use create_campaign/render_asset. An agent can identify the tool 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 Guidelines5/5

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

It explicitly says when to use this tool (standing webhook so no agent has to poll) and when not to (one run only -> pass callback_url to create_campaign or render_asset). Alternative routing is clear; the only minor omission is that delete_webhook is not named for removal.

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.