Skip to main content
Glama

list_webhook_events

Read-onlyIdempotent

Retrieve payment-provider webhook events received by a store, newest first, and filter by status or exact event type to inspect processed, failed, or pending attempts.

Instructions

Payment-provider webhook events received by the store, newest first: processed, failed (the last processing attempt raised; see last_error) or pending. Filter by status or exact event type, e.g. payment_intent.payment_failed. object_id is the provider object, e.g. the PaymentIntent id.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_webhook_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoExact event type, e.g. payment_intent.succeeded.
limitNoHow many to return.
statusNoOnly events in this status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world read. Beyond that, the description adds real behavioral context: the newest-first ordering, the meaning of each status ('failed' means the last processing attempt raised, with detail in last_error), and what object_id refers to. Return pagination behavior is the only notable omission.

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?

Dense but front-loaded: ordering, status semantics, then filtering guidance and field meaning, with no filler sentences. Every clause adds either scope or meaning.

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 an optional-parameter list tool with no output schema, the description discloses ordering, status semantics, referencing fields (last_error, object_id), and filtering options. Pagination and total-count behavior are unaddressed, but everything needed to call it correctly is present.

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 coverage is 100%, so the baseline is 3. The description goes beyond the enum labels by explaining what the 'failed' status actually signifies (last attempt raised, see last_error), which is genuine semantic value the schema does not carry; the event-type example, however, largely restates the schema.

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: lists payment-provider webhook events received by the store, returned newest first. The resource is unambiguous against siblings like list_failed_jobs or list_order_refunds, though it never explicitly contrasts with an alternative tool.

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 implies usage by explaining how to narrow results ('Filter by status or exact event type'), giving an agent a clear sense of the filtering workflow. It stops short of stating when to prefer this tool over another or when not to call it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.