Skip to main content

MCP Tools Reference

Tools allow AI assistants to perform actions and queries on your webhook data. Each tool has specific parameters and returns structured data.

search_events

Search and filter webhook events based on various criteria.

Parameters

webhookId
string
Filter events by webhook ID (e.g., “wh_123”)
status
string
Filter by event status
  • success - Successfully processed events
  • failed - Failed events
  • pending - Events waiting to be processed
limit
number
default:100
Maximum number of events to return (1-100)

Response

Example Usage

search_requests

Search webhook requests with filtering options.

Parameters

webhookId
string
Filter requests by webhook ID
eventId
string
Filter requests by event ID
status
string
Filter by request status
  • success - Successful requests (2xx status codes)
  • failed - Failed requests (4xx, 5xx status codes)
  • timeout - Timed out requests
limit
number
default:100
Maximum number of requests to return (1-100)

Response

Example Usage

analyze_event

Get detailed analysis of a specific webhook event.

Parameters

eventId
string
required
The ID of the event to analyze

Response

Example Usage

analyze_request

Get detailed analysis of a specific webhook request.

Parameters

requestId
string
required
The ID of the request to analyze

Response

Example Usage

get_webhook_stats

Get comprehensive statistics for webhooks.

Parameters

webhookId
string
Get stats for specific webhook (omit for all webhooks)
timeRange
string
default:"24h"
Time range for statistics
  • 1h - Last hour
  • 24h - Last 24 hours
  • 7d - Last 7 days
  • 30d - Last 30 days

Response

Example Usage

Error Handling

All tools return errors in a consistent format:

Common Error Codes

Best Practices

  1. Use filters effectively - Always filter by webhookId when debugging specific integrations
  2. Limit results - Start with smaller limits and increase if needed
  3. Check error details - The analysis tools provide actionable recommendations
  4. Monitor stats regularly - Use get_webhook_stats to track webhook health
  5. Combine tools - Use search tools to find issues, then analyze tools for details

Rate Limits

Tools are subject to the following limits:
  • Maximum 60 tool calls per minute
  • Maximum result size of 1MB per call
  • Search results capped at 100 items

Next Steps