Skip to main content
Glama

Team Statistics

team_stats

Get team-wide overview statistics: total runs, pass rate, open findings, open incidents, average duration. Supports lifetime, monthly, or weekly periods.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoPeriod filter: "lifetime", "2026-04" (monthly), or "2026-W14" (weekly). Defaults to lifetime.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It transparently lists the output fields and period formats, but does not mention potential caveats like default period behavior (already in schema) or any access/permission requirements. This is adequate for a simple read-only stats tool but lacks depth.

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?

The description is a single, front-loaded sentence that lists the key statistics and period support without any filler. Every word earns its place, making it exceptionally concise and scannable.

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 tool with one optional parameter and no output schema, the description enumerates the returned metrics and defines the period argument. Combined with the schema's detailed parameter documentation, this fully covers what an agent needs to understand the tool's scope and invocation. No significant gaps remain.

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?

The schema already provides 100% coverage for the single 'period' parameter, including examples and a default. The description's mention of 'lifetime, monthly, or weekly periods' adds compatibility but not semantically new information beyond the schema. Per the rubric, high schema coverage yields a baseline of 3.

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 uses a specific verb 'Get' with a clear resource 'team-wide overview statistics' and enumerates the exact metrics returned. This distinguishes it from sibling tools like target_stats (target-specific) and daily_trends (trends over time), making its purpose unambiguous.

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 description clearly states the tool's scope ('team-wide') and the supported time periods ('lifetime, monthly, or weekly'), which implies when to use it for team-level overviews. However, it does not explicitly contrast with alternatives like target_stats or mention when not to use it, so it falls short of a perfect score.

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