Skip to main content
Glama

Create a webhook

create_webhook

POST every update (or the kinds listed) to a URL, signed with HMAC-SHA256 (X-SimianX-Signature), with retries. For the user's own code (Starter plan and above); an agent that reads get_updates does not need one.

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": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps endpoint
acksNoA 2xx answer also acks the update
eventsNoKinds to send (default all)
secretNoSigning secret (shown once)
this_key_onlyNoOnly this key's updates (default: every key of the account)
idempotency_keyNoOptional: any unique string for this action; send the same one when retrying the same call and the first result comes back instead of the action running twice

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / acks
      Added value: +{
      +  "description": "A 2xx answer also acks the update",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional: any unique string for this action; send the same one when retrying the same call and the first result comes back instead of the action running twice",
      +  "maxLength": 128,
      +  "type": "string"
      +}
    • addedInput schema / properties / this_key_only
      Added value: +{
      +  "description": "Only this key's updates (default: every key of the account)",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare openWorldHint=true and non-destructive, but the description adds behavior they do not cover: HMAC-SHA256 signing with the X-SimianX-Signature header, automatic retries, and the plan-level entitlement. It stops short of disclosing rate limits, retry schedule, or failure/disable behavior, so it is strong but not exhaustive.

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?

Two sentences, both front-loaded with the mechanism first, then eligibility and the sibling alternative. No wasted words, though the parenthetical "(or the kinds listed)" is slightly awkward packaging of a schema detail.

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?

For a 6-parameter mutation with no output schema, the description covers mechanism, signing, retries, entitlement, and when not to use it. It leaves out what is returned on success (webhook id, one-time secret) and any limits, minor gaps given the annotations and full schema coverage.

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 description coverage is 100%, so all six parameters (including acks, secret-shown-once, this_key_only, and idempotency_key) are already documented. The description's only parameter gloss, "or the kinds listed," restates the events default-all semantics already in the schema, adding little beyond it.

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?

"POST every update (or the kinds listed) to a URL, signed with HMAC-SHA256 ... with retries" names the verb (deliver/POST), the resource (a webhook), and the exact mechanism it configures. It also explicitly contrasts itself with the sibling get_updates, so an agent can route without opening either 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?

The description gives a concrete when-not ("an agent that reads get_updates does not need one") and an eligibility gate ("For the user's own code (Starter plan and above)"). That is explicit routing plus a prerequisite, which is the top of this dimension.

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.