Skip to main content
Glama

Get agent report

get_agent_report
Read-onlyIdempotent

Per-agent performance over the last N days: conversations handled and average resolution, first response and reply times in seconds. Rows are keyed by agent id — call list_agents to name them.

Input Schema

NameRequiredDescriptionDefault
daysNoHow many calendar days to measure, today included (7 = today and the 6 before; this month = today's day of the month). Defaults to 30.
fieldsNoOptional: return only these fields of each record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds value beyond them by disclosing the return shape (one row per agent id) and the units of the time fields, plus the workflow dependency on list_agents for naming.

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?

Two sentences, front-loaded with the resource and window, then the metric list and keying/naming detail. No filler and nothing repeated from the annotations.

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 responsibly names the returned metrics, their units, and the row key, and the parameters are fully covered by the schema. It omits edge cases such as whether agents with no conversations appear as zero rows, which keeps it just short of fully complete.

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%; the days and fields parameters are fully documented in the schema, including the 'today included' counting rule and the default of 30. The description contributes only the N-days framing and does not restate the field enum or default, so the schema does the heavy lifting.

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?

States a specific verb+resource with scope: per-agent performance over the last N days, enumerating the exact metrics (conversations handled, avg resolution, first response, reply times). The 'per-agent' framing plus the 'rows are keyed by agent id' note separates it from team/conversation/sentiment report siblings without needing to name them.

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

Usage Guidelines4/5

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

The time window ('last N days') and the per-agent granularity give clear context for when this report applies, and it routes the agent to list_agents to resolve agent ids. It stops short of explicit exclusions (e.g., 'for team-level rollups use get_team_report'), so it is clear context rather than full when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources