Skip to main content
Glama

sendgrid_get_stats

Read-onlyIdempotent

Retrieve SendGrid email sending statistics for a specified date range, aggregated by day, week, or month. Use it to track email performance and delivery metrics over time.

Instructions

Get SendGrid email sending statistics for a date range.

Input Schema

NameRequiredDescriptionDefault
api_keyYesSendGrid API key
end_dateNoEnd date (YYYY-MM-DD)
start_dateNoStart date (YYYY-MM-DD). Defaults to 7 days ago.
aggregated_byNoAggregation period (default: day)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.9
  2. Removed
  3. Addedv0.1.5

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the date-range scope but doesn't say which statistics are returned or in what form; with annotations carrying the safety burden, a 3 is appropriate.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero waste. It is efficient, though it could have used one more clause to add behavioral value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with full schema coverage and annotations, the definition is workable, but with no output schema the description never indicates what the returned statistics contain (opens, clicks, bounces), leaving a meaningful gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents api_key, start_date, end_date, and aggregated_by with defaults. The description's mention of a date range aligns with the schema but adds no syntax or aggregation meaning beyond it, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb (get), a specific resource (SendGrid email sending statistics), and a scope (date range). It is clearly distinguishable from siblings like sendgrid_send_email or sendgrid_list_templates without opening a schema, though it doesn't explicitly name any alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'for a date range' phrasing implies when the tool applies, but there is no explicit when-to-use guidance, prerequisites, or named alternatives. Usage is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools