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
Filter events by webhook ID (e.g., “wh_123”)
Filter by event status
success- Successfully processed eventsfailed- Failed eventspending- Events waiting to be processed
Maximum number of events to return (1-100)
Response
Example Usage
search_requests
Search webhook requests with filtering options.Parameters
Filter requests by webhook ID
Filter requests by event ID
Filter by request status
success- Successful requests (2xx status codes)failed- Failed requests (4xx, 5xx status codes)timeout- Timed out requests
Maximum number of requests to return (1-100)
Response
Example Usage
analyze_event
Get detailed analysis of a specific webhook event.Parameters
The ID of the event to analyze
Response
Example Usage
analyze_request
Get detailed analysis of a specific webhook request.Parameters
The ID of the request to analyze
Response
Example Usage
get_webhook_stats
Get comprehensive statistics for webhooks.Parameters
Get stats for specific webhook (omit for all webhooks)
Time range for statistics
1h- Last hour24h- Last 24 hours7d- Last 7 days30d- Last 30 days
Response
Example Usage
Error Handling
All tools return errors in a consistent format:Common Error Codes
Best Practices
- Use filters effectively - Always filter by webhookId when debugging specific integrations
- Limit results - Start with smaller limits and increase if needed
- Check error details - The analysis tools provide actionable recommendations
- Monitor stats regularly - Use get_webhook_stats to track webhook health
- 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
- See Resource Reference for data schemas
- Check Integration Examples for common workflows
- Review MCP Overview for protocol details