get_stats
Retrieve SendGrid email statistics by specifying a start date for the report period, with optional end date and aggregation by day, week, or month.
Instructions
Get SendGrid email statistics
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"start_date": "<start_date>"
},
"name": "get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End date in YYYY-MM-DD format (optional) | |
| start_date | Yes | Start date in YYYY-MM-DD format | |
| aggregated_by | No | How to aggregate the statistics (optional) |