Skip to main content
Glama

get_project_stats

Count tasks by status and priority bucket for a project. Use to summarize project workload and prioritize actions.

Instructions

Count a project's tasks by status and priority bucket.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject to summarise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure, and it does clarify that this is a counting/aggregation operation rather than one that returns raw tasks. However, it does not disclose whether subtasks are included, whether counts are grouped jointly or separately, or how the response is structured. It is adequate but not rich.

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 one concise sentence with no filler, and it front-loads the core action before specifying the grouping dimensions. Every word contributes meaning.

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?

For a one-parameter, read-only aggregation tool with no output schema, the description adequately conveys the core call intent and what the agent gets back: counts by status and priority bucket. It could add minor detail about the exact response shape or status/priority values, but nothing essential for selecting and invoking the tool is missing.

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 fully documents the single project_id parameter with a description and an exclusive minimum constraint. The description adds only the contextual notion of 'a project's tasks', which maps naturally to project_id. Since schema coverage is 100%, the baseline score of 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 states a specific verb ('Count') and resource ('a project's tasks'), and clearly specifies the grouping dimensions: status and priority bucket. This distinguishes it from sibling endpoints like get_tasks_by_status / get_tasks_by_priority, which are list-oriented rather than aggregation-oriented.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool instead of alternatives such as get_tasks_by_status or get_tasks_by_priority. The description implies a summary use case, but it never states that an agent should choose this tool when only counts are needed rather than the underlying task list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.