Skip to main content
Glama

test_webhook_endpoint_with_sample

Idempotent

Run the Sample test: opens and scans the member's Mojave sample letter if needed (free, fictional), delivers its real inbound.pages_ready / inbound.keywords_matched events to this webhook, and returns a verdict computed from the receiver's actual HTTP result plus a next step. success proves transport receipt and, when keywords are configured, a keyword match; it never proves agent processing. No mail, charge, email or facility work. Requires webhook.manage. Uses the same bounded control plane and tenant/agent/Live-Sandbox authorization as /api/v1/webhooks/endpoints. Reuse the exact idempotency_key and input after an uncertain mutation. Webhook docs: https://mailbox.bot/docs/webhooks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_idYes
idempotency_keyYes
expected_revisionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavioral traits: required webhook.manage permission, bounded authorization scope, no real-world side effects, the test's free/fictional nature, and the precise meaning of success. It also advises reusing the exact idempotency_key after an uncertain mutation, which aligns with the idempotentHint annotation and adds practical operational context.

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 compact yet information-dense, front-loading the core operation in the first sentence and then layering constraints, permissions, limitations, and a documentation link without redundancy. Every sentence adds operational value.

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 test tool with an output schema and annotations, the description covers the key contextual aspects: what the sample test does, side effects it avoids, required permissions, authorization scope, idempotency behavior, and proof semantics. It is slightly incomplete only because expected_revision is not given any meaning, and the exact conditions for 'if needed' are left vague.

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%, so the description carries the full burden for explaining the three parameters. It gives some guidance for idempotency_key ('reuse the exact idempotency_key and input after an uncertain mutation') and implicitly associates endpoint_id with 'this webhook', but expected_revision is never explained at all. This is a meaningful gap.

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 description clearly identifies the action ('Run the Sample test'), the resource (a webhook endpoint), and the specific behaviors that distinguish this tool from siblings: it opens/scans a fictional Mojave sample letter, delivers real inbound.pages_ready / inbound.keywords_matched events, and computes a verdict from the receiver's HTTP result. It also explicitly states what success does and does not prove, making the tool's role unambiguous even next to test_webhook_endpoint.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description gives clear usage context: it is for verifying transport receipt and optional keyword matching, not agent processing, and it emphasizes there is no mail/charge/email/facility side effect. It does not explicitly name sibling alternatives or give a direct 'use this instead of X' rule, but the behavioral boundary is clear enough for an agent to choose correctly.

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