Skip to main content
Glama

get_task_stats

Read-onlyIdempotent

Aggregate counts for one project: totals by status, by type and by priority, plus what is overdue. This answers "how is this project doing" in a single call, instead of paging through list_tasks and counting by hand. It reports the project as a whole — for numbers broken down per epic, get_project_structure is the only tool that has them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID this call refers to. Omit it once to get the list of projects you can access.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive. The description adds context about what the aggregate covers (totals by status/type/priority plus overdue) and that it avoids paging, which is useful behavioral information. It doesn't disclose pagination or output format, but for a read-only aggregate that's minor.

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?

Four sentences, each earning its place: scope, value proposition, clarification of scope, and routing to the alternative tool. Front-loaded with the main purpose.

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 single parameter, full schema coverage, and read-only annotations, the description explains what the tool returns at a high level. It doesn't specify the exact structure of the aggregates, but no output schema exists and the description names the groupings sufficiently for an agent to understand what it gets.

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

Parameters4/5

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

With 100% schema coverage and a single parameter, the schema fully documents project_id. The description reinforces that it's a single project and hints at omission to list projects, but the schema already states that. Baseline 3 plus slight value from clarifying scoping, thus 4.

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 opens with a specific verb and resource ('Aggregate counts for one project'), enumerates the exact groupings (status, type, priority, overdue), and contrasts itself with list_tasks and get_project_structure, distinguishing it from siblings.

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

Usage Guidelines5/5

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

Explicit when-to-use (answers 'how is this project doing' in one call) and when-not-to-use (for per-epic breakdowns, get_project_structure is the only tool), naming the alternative directly.

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.