Skip to main content
Glama
thenewit-eu

mailfact-mcp

Official
by thenewit-eu

List aggregate reports

list_aggregate_reports
Read-only

List one row per ingested aggregate XML report to retrieve report IDs for record-level queries; filter by domain, reporter, or dates and pass next_cursor when truncated.

Instructions

One row per ingested aggregate XML. Use the id with get_report_records. Does not follow pagination: when truncated is true, pass next_cursor back as cursor. The cursor carries the filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cursorNo
domainNo
reporter_orgNoSubstring of the reporter name.
date_end_afterNoISO-8601 timestamp.
date_end_beforeNoISO-8601 timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish the safe read-only profile, so the bar is lower, and the description clears it by disclosing a non-obvious pagination contract: it does not follow standard pagination, truncation is signalled by 'truncated', and 'next_cursor' must be passed back as 'cursor'. This is exactly the kind of behavior an agent could not infer from structured data.

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

Conciseness5/5

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

Four short sentences, each carrying distinct information: result shape, downstream use, pagination quirk, cursor semantics. Front-loaded with the row semantics and free of filler.

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

Completeness4/5

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

With no output schema, the description must document the return fields, and it does name 'truncated' and 'next_cursor' and explain their meaning. Filter parameters (domain, reporter_org, date bounds) are left untouched, but their names are largely self-describing, so the omission is minor.

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

Parameters4/5

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

Schema coverage is only 60%, and 'cursor' has no schema description at all. The description compensates by explaining what the cursor is for ('The cursor carries the filters') and how to advance it, which is the highest-risk parameter to get wrong. The filter params remain undocumented, so it does not fully close the coverage gap.

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 the resource and its granularity precisely: 'One row per ingested aggregate XML.' Combined with the name, an agent knows exactly what is returned, and the mention of get_report_records begins to separate it from siblings. It stops short of explicitly stating what filters scope the list, which keeps it from a 5.

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?

It gives a clear downstream step ('Use the id with get_report_records') and explains the pagination protocol, which is genuine usage guidance. However, it never says when to choose this over siblings like query_records or get_alignment_summary, so alternative selection is left to inference.

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