Skip to main content
Glama

Target Statistics

target_stats

Get statistics for a specific target: runs, pass rate, findings, 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.
targetIdYesThe target ID

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden for behavior disclosure. 'Get statistics' implies a read-only operation, and the description explicitly lists outputs and supported periods. While it does not mention rate limits or authentication, for a presumably stateless read endpoint, this is sufficient and clearly non-destructive.

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 two sentences: the first states the core purpose and outputs, the second covers the period parameter. It is front-loaded with the key facts and has zero wasted words.

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?

Given the tool's simplicity (two params, no output schema), the description covers the essential use case: what it returns and the supported time periods. It stops short of describing return format or units, but with no output schema and the explicit list of metrics, it is adequately 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 coverage is 100% because both targetId and period have descriptions. The description adds no new parameter meaning beyond what the schema already specifies; mentioning 'lifetime, monthly, or weekly periods' merely restates the schema's period examples. Baseline 3 is appropriate.

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 verb 'Get' and the resource 'statistics for a specific target', listing the types of statistics returned (runs, pass rate, findings, duration). This distinguishes it from sibling tools like team_stats or get_target_scores by scoping to a specific target, making the 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 Guidelines3/5

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

The description implies usage when you need aggregate statistics for one target, and it mentions the supported periods (lifetime, monthly, weekly). However, it does not explicitly differentiate from alternative tools like daily_trends or list_runs, nor does it state exclusions such as 'for team-wide stats, use team_stats'.

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.

TDQS

A3.5/5.0
Disambiguation4/5

Most tools are clearly separated by resource (targets, runs, findings, incidents, etc.) and action. A few close pairs like active_runs/list_runs and mute_finding/create_muting_rule could confuse, but descriptions clarify the distinctions.

Naming Consistency4/5

The majority of tools follow verb_noun naming (create_target, get_target, delete_journey). A few outliers use noun phrases (active_runs, daily_trends, system_health, team_stats) which slightly breaks the pattern, but overall the convention is predictable.

Tool Count1/5

74 tools is extreme for any MCP server. Even for a comprehensive monitoring platform, this overwhelms agents with too many granular operations (e.g., enable_all_tests vs disable_all_tests vs update_test, or import_targets duplicating create_target). A more consolidated set would be appropriate.

Completeness5/5

The tool surface is remarkably complete for the monitoring domain: full CRUD for targets, journeys, rules, reports, secrets, and fragments; plus run triggering, incident management, findings handling, SEO tracking, guest scans, and admin tools. Only maintenance windows lack an update operation, which is minor.

Resources