Skip to main content
Glama

SendGrid MCP Server

by deyikong

get_stats_by_country

Retrieve email performance statistics grouped by geographic location to analyze regional engagement patterns and optimize email marketing strategies.

Instructions

Retrieve email statistics grouped by geographic location

Input Schema

NameRequiredDescriptionDefault
aggregated_byNoHow to group the statisticsday
countryNoISO 3166-1 alpha-2 country code to filter by
end_dateNoEnd date in YYYY-MM-DD format (defaults to today)
start_dateYesStart date in YYYY-MM-DD format
stateNoState or province to filter by

Input Schema (JSON Schema)

{ "properties": { "aggregated_by": { "default": "day", "description": "How to group the statistics", "enum": [ "day", "week", "month" ], "type": "string" }, "country": { "description": "ISO 3166-1 alpha-2 country code to filter by", "type": "string" }, "end_date": { "description": "End date in YYYY-MM-DD format (defaults to today)", "type": "string" }, "start_date": { "description": "Start date in YYYY-MM-DD format", "type": "string" }, "state": { "description": "State or province to filter by", "type": "string" } }, "required": [ "start_date" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/deyikong/sendgrid-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server