Skip to main content
Glama

Ensure Webhook Setup

ensure_webhook_setup

Set up incoming webhooks and delivery rules. For Stripe, returns the account authorization link and connection status; after authorization, use get_webhook_setup_status to verify receipt and delivery. Other providers receive an ingest URL for new sources.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vendorYes
sourceIdNo
sourceNameNo
signingSecretNo
destinationUrlYes
filterBodyPathNo
destinationNameNo
filterBodyValueNo
filterEntityKeyNo
filterEventTypesNo
retryMaxAttemptsNo
transformBodyPathNo
rateLimitPerMinuteNo
retryBackoffSecondsNo
transformExpressionNo
destinationSigningSecretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the write/safety profile is covered structurally. The description adds real behavioral value by explaining the divergent return payloads per vendor and the Stripe authorization handshake. It omits side effects: whether repeat calls create duplicate setups (notable given the 'Ensure' naming versus idempotentHint=false), required permissions, and what configuration the 14 optional parameters actually trigger.

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?

Three tight sentences with the general purpose front-loaded and the provider-specific branching immediately after. No filler, though the Stripe/other split could be structured more scannably given the number of distinct outcomes.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, non-idempotent mutation tool with no output schema and 0% schema description coverage, the description covers only the high-level flow and return shape. It does not address the parameter space, idempotency/duplicate behavior, or permission requirements, leaving significant gaps an agent must guess at.

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% across 16 parameters, so the description must carry the semantic load and largely does not. It only implies vendor and destinationUrl usage via the provider branches, leaving signingSecret, destinationSigningSecret, filterBodyPath/Value, transformExpression, retry and rate-limit parameters entirely unexplained in both schema and description.

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?

States a specific verb and resource ('Set up incoming webhooks and delivery rules') and branches into provider-specific outcomes (Stripe authorization link vs. ingest URL for others). It does not distinguish itself from siblings like create_endpoint or create_destination, which also appear to create webhook-related resources, so the boundary is left to inference.

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?

Gives one concrete follow-up route ('after authorization, use get_webhook_setup_status to verify receipt and delivery'), which is genuine when-to-use guidance for the Stripe path. However, it never says when to prefer this tool over create_endpoint, create_source, or create_destination, nor what prerequisites (existing destination, source, signing secret) must hold before calling.

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