Skip to main content
Glama

Project stats

project_stats
Read-onlyIdempotent

Quantitative metrics for ONE project: total responses, risk (negative) and growth (positive) signals, unread responses, average conversation depth, first/last response dates, and a per-channel breakdown (count + median completion). Use this for "how is project X doing" / health questions. Optional since/until ISO dates window the metrics.

Input Schema

NameRequiredDescriptionDefault
sinceNoISO date — only count responses on/after this, or null.
untilNoISO date — only count responses on/before this, or null.
projectIdYesThe project id (resolve via list_projects if unsure).
includeLowQualityNoLow-quality (archived) responses are excluded by default. Set true ONLY when the user explicitly asks to include low-quality/archived responses.

Output Schema

NameRequiredDescriptionDefault
errorNo
channelsNo
riskSignalsNo
growthSignalsNo
totalResponsesNo
avgMessageDepthNo
unreadResponsesNo
lastResponseDateNo
firstResponseDateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so safety is covered. The description adds that metrics are date-windowed and that low-quality/archived responses are excluded by default, but that exclusion is already stated in the includeLowQuality parameter description, and no further behavior (rate limits, auth, aggregation semantics) is disclosed.

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?

Three tight sentences: metric inventory first, usage trigger second, parameter note last. Front-loading is good and there is little waste, though the final sentence largely duplicates schema content and could be dropped.

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 an output schema present, the description needn't explain return values, and it covers purpose, usage context, and the metric scope adequately. It is slightly short on sibling routing for an org that has many overlapping stat-related tools (stats_trend, channel_breakdown, cross_project_comparison).

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%, so all four parameters are already documented in the schema, including the ISO date semantics of since/until and the low-quality exclusion. The description's 'Optional since/until ISO dates window the metrics' merely restates the schema and adds no new syntax or boundary meaning.

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 names a specific verb+resource ('quantitative metrics for ONE project') and enumerates the exact metric set returned (total responses, risk/growth signals, unread, avg conversation depth, first/last dates, per-channel breakdown). The emphasis on 'ONE project' cleanly separates it from cross_project_comparison, channel_breakdown, and stats_trend.

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?

It gives a concrete triggering context — 'how is project X doing' / health questions — which is clear routing guidance. It does not explicitly name when to prefer siblings such as stats_trend (temporal trends) or channel_breakdown (channel-only views), so it stops short of full when-not/alternatives coverage.

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