Sendgrid Get Stats
sendgrid_get_statsFetch email sending statistics (delivered, opens, clicks, bounces, etc.) for a date range. Example: get_stats({ start_date: "2024-01-01", end_date: "2024-01-31", _apiKey: "SG.xxx" })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"_apiKey": "your-sendgrid-api-key",
"start_date": "2024-01-01"
},
"name": "sendgrid_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | Yes | SendGrid API key (SG.xxx) | |
| end_date | No | Optional end date in YYYY-MM-DD format. Defaults to today. | |
| start_date | Yes | Start date in YYYY-MM-DD format, e.g. "2024-01-01" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||