Skip to main content
Glama

Create a signed webhook

create_user_webhook

Mint a signed user webhook URL. POSTing a body with a valid X-Porter-Signature (HMAC-SHA256) fires event_type for you.

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": {
      "event_type": "<event_type>"
    },
    "name": "create_user_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
conditionNo
event_typeYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already say this is a non-read-only but non-destructive mutation; the description adds real behavioral context beyond that — the URL is signed, the signature scheme is HMAC-SHA256 with an X-Porter-Signature header, and a valid POST fires event_type. It still omits operational details an agent would want: whether the URL is a credential to be stored securely, whether it persists until delete_user_webhook, and any replay/rate-limit behavior.

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 short sentences, front-loaded with the core action and followed by the mechanism; nothing is padded. The only minor slack is the colloquial "for you" phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 not be described, and the tool is small. Still, for a credential-minting, side-effecting tool, the definition leaves `condition` unexplained and gives no lifecycle or safety framing, so an agent could invoke it without understanding what the webhook will actually filter on.

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

Parameters2/5

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

Schema description coverage is 0% for the two parameters, so the description must carry the meaning. It does explain event_type as the event fired by the webhook, but only by name, and `condition` — presumably the filter that decides when the webhook fires — is not mentioned at all, leaving an entire parameter undocumented in both schema and prose.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Mint a signed user webhook URL" is a specific verb plus a specific resource, and the second sentence explains what the resulting URL does (a signed POST fires an event). It is clearly distinct from delete_user_webhook and from emit_event, though it never names a sibling explicitly.

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: the description explains the mechanism (POST with X-Porter-Signature fires event_type), which suggests you call this when you want an external service to push events in. There is no explicit when-to-use, no when-not-to-use, and no pointer to alternatives such as emit_event or delete_user_webhook for lifecycle cleanup.

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