Skip to main content
Glama

aggregate_report

Read-only

Generate a concise meta description for the aggregate_report tool from NowAIKit MCP server that focuses on its purpose and use case, following all the given instructions.

Instructions

Server-side aggregate REPORT grouped by a field, in ONE query with no 1000-row truncation. Returns per-group record count PLUS averages/sums/mins/maxes of numeric or duration fields — the right tool for a periodic summary like "incident volume by category with average resolution time". Do NOT list raw records for this; use this. For task tables (incident, problem, change_request, cases, etc.) it INCLUDES average resolution time automatically even if avg_fields is omitted. Duration fields come back pre-formatted (e.g. "21 14:03:10"). Returns a stats table (markdown), the rows, a count chart Adaptive Card, and a summary. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoKeep the top N groups by count (default 25)
queryNoEncoded query filter, e.g. resolved in the last 7 days: "stateIN6,7^resolved_atRELATIVEGT@dayofweek@ago@7"
tableYesTable to aggregate, e.g. "incident"
titleNoOptional report title
group_byYesField to group by, e.g. "category", "assignment_group", "priority"
avg_fieldsNoFields to average per group, e.g. ["business_duration"] or ["calendar_duration"] for resolution time. Comma string also accepted.
max_fieldsNoFields to take the maximum of per group
min_fieldsNoFields to take the minimum of per group
sum_fieldsNoFields to sum per group
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true. The description adds genuinely useful behavioral detail: results come back without 1000-row truncation, includes average resolution time automatically for task tables, durations are pre-formatted (with example '21 14:03:10'), and enumerates the full return payload (stats table, rows, count chart Adaptive Card, summary). This substantially exceeds the annotation baseline.

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?

The description is information-dense but front-loaded with the core distinction early. It packs many distinct pieces of value (no truncation, return types, format details, task-table behavior, array format flexibility) into a compact passage. Slightly long but every sentence contributes; no filler.

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

Completeness5/5

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

For a 9-parameter aggregation tool with no output schema, the description is remarkably complete: it names all return components, explains the important task-table auto-average behavior, covers duration formatting, documents limit semantics, and contrasts against raw listing. Very little is left ambiguous for an agent considering this tool.

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

Parameters5/5

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

Schema coverage is 100%, so baseline is 3, but the description adds significant value: it explains avg_fields can be omitted for task tables to still get average resolution time, clarifies comma-separated strings are accepted for arrays, notes duration fields come pre-formatted, explains limit means 'top N groups by count', and gives an encoded query example format. This meaningfully enriches the schema-only understanding.

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

Purpose5/5

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

The description clearly states the tool performs server-side aggregate grouping by a field in one query without row truncation, computing per-group counts and stats. It distinguishes itself from siblings by explicitly noting it avoids raw record listing and compares against run_aggregate_query/trend_query/visualize_aggregate context.

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

Usage Guidelines5/5

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

Explicitly says 'the right tool for a periodic summary like incident volume by category', gives concrete when-to-use guidance, and instructs 'Do NOT list raw records for this; use this', which clearly differentiates from list/query tools. Provides the example use case with avg_fields implication.

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

Install Server

Other Tools

Latest Blog Posts

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/aartiq/nowaikit'

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