Skip to main content
Glama

set_webhook

Set or update the webhook URL for an endpoint. Returns a signing secret that must be saved. PATs are preferred and require mcp:endpoints:write or mcp:*.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe unique slug identifier for the endpoint
apiKeyNoLegacy endpoint API key (x402_*)
webhookUrlYesHTTPS URL to receive webhook events
accessTokenNoYour dashboard MCP personal access token (sgl_pat_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / accessToken
      Added value: +{
      +  "description": "Your dashboard MCP personal access token (sgl_pat_*)",
      +  "type": "string"
      +}
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (x402_*)"New value: +"Legacy endpoint API key (x402_*)"
    • changedInput schema / required
      Previous value: -[
      -  "slug",
      -  "webhookUrl",
      -  "apiKey"
      -]New value: +[
      +  "slug",
      +  "webhookUrl"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / apiKey / description
      Previous value: -"Your endpoint API key (sk_live_* or sk_test_*)"New value: +"Your endpoint API key (x402_*)"
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It discloses that a signing secret is returned and must be saved, and states PAT permission requirements. However, it does not describe side effects like overwriting an existing webhook or reversibility, but the 'Set or update' phrasing covers that implicitly.

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?

Three short sentences, all informative and front-loaded with the purpose. No filler or redundant content.

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?

Given four simple parameters and no output schema, the description sufficiently covers purpose, return value, and auth. It could detail the response structure further, but the signing secret disclosure is enough for basic use.

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 descriptions cover all 4 parameters, meeting the high coverage baseline of 3. The description adds that PATs are preferred and require specific permissions, giving guidance on choosing between apiKey and accessToken. This extra context justifies a score above baseline.

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?

Clearly states 'Set or update the webhook URL for an endpoint,' which is a specific verb+resource. The phrase distinguishes it from sibling remove_webhook and other endpoint operations.

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?

The description does not provide explicit when-to-use or alternative guidance. It implies purpose via 'Set or update' but mentions no exclusions or sibling tools. Auth context is provided but that's about access, not usage scenarios.

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