Skip to main content
Glama

cohort_stats

Read-only

UNDERSTANDING — the DISTRIBUTION for a whole market: Kin Score mean/median/min/max/stdev, agent-readiness spread, band split, per-facet averages, and artifact adoption rates. This is the market-stats sheet from a Trend Report, computed live. Always carries a coverage block saying how much of the roster is actually scored AND how deeply we enriched it (enrichment_depth: mean catalog_gap and median artifact directories). Read that before quoting the mean anywhere: cohort enrichment depth spans ~42 points of catalog_gap across the catalog, so part of any cohort number is our coverage rather than the market. Priced B2 (cross-catalog synthesis) — $0.05 per call under pay-as-you-go; included in Understanding and Influence. See apis://prices.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
slugYes
contextNoOptional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional: why you are asking. One sentence — the task you are trying to complete, or what you expect to get back. Never included in the answer and never used to rank; it is read only when a result turns out to be wrong, which is when knowing the intent is what makes the report actionable.",
      +  "type": "string"
      +}
  2. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses crucial behavioral details: it always includes a 'coverage' block indicating how much of the roster is scored and enrichment depth, and it warns that cohort enrichment depth spans ~42 points of catalog_gap, meaning part of any cohort number reflects coverage rather than market reality. It also provides pricing information. This goes far beyond the annotation and is essential for correct interpretation.

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 somewhat long but well-structured: it front-loads the purpose, then adds the live-computation context, the coverage caveat, and pricing. Each sentence serves a purpose, though some redundancy exists (e.g., 'computed live' and 'market-stats sheet' could be combined). Overall, it is efficiently organized and not bloated.

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 that there is no output schema, the description adequately covers the expected output (statistics and coverage block) and the critical caveat about coverage affecting the mean. It also includes pricing. However, it lacks explicit parameter guidance and does not describe the output format in detail, which is a minor gap for a tool with no structured output definition.

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

Parameters2/5

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

The description does not explain the parameters 'kind' or 'slug' beyond what the enum implies. With only 33% schema description coverage (only 'context' has a description), the description should compensate, but it offers no guidance on how to specify cohort type or slug. It adds no value for parameter usage, leaving agents to guess from the enum values.

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 explicitly states it provides 'the DISTRIBUTION for a whole market' with a specific list of metrics (mean, median, min/max, stdev, etc.) and identifies itself as the 'market-stats sheet from a Trend Report'. This is a clear verb+resource statement that distinguishes it from sibling cohort tools like cohort_scores (individual scores) or cohort_rankings (rankings) by focusing on aggregate distribution statistics.

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 when to use it (for market-level distribution stats) but does not explicitly state when not to use it or name alternative tools. The phrase 'UNDERSTANDING — the DISTRIBUTION' suggests a use case, but there is no explicit guidance on selecting this over other cohort tools, leaving the agent to infer from context.

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