Skip to main content
Glama

get_completion_stats

Get task completion counts grouped by project, tag, or folder for a date range. Returns sorted counts and percentages to analyze completion trends.

Instructions

Get task completion counts grouped by project, tag, or folder for a date range. Returns sorted list with counts and percentages. Much faster than multiple filter_tasks calls for analytics.

Input Schema

NameRequiredDescriptionDefault
groupByNoHow to group the completion counts. Default: project
minCountNoOnly include groups with at least this many completions. Default: 0
completedAfterNoStart of period (ISO format: YYYY-MM-DD). Tasks completed on or after this date.
completedBeforeNoEnd of period (ISO format: YYYY-MM-DD). Tasks completed before this date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description bears the full disclosure burden. It adds useful behavioral detail about the return output ('sorted list with counts and percentages'), but says nothing about permissions, result-size caps, or behavior when a date range is omitted.

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?

Three tight sentences: purpose first, then return shape, then the routing rationale. Nothing is wasted and the key information is front-loaded.

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 no output schema, the description correctly sums up the return value as a sorted list with counts and percentages, and the parameters are fully self-documented in the schema. Minor gaps remain around omitted date-range defaults and any limits, but an agent has enough to call this correctly.

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% and all four parameters carry their own descriptions with defaults and format patterns. The description adds no parameter-level detail beyond what the schema already provides, so the baseline 3 applies.

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?

States a specific verb (Get) and resource (task completion counts) plus the exact grouping dimensions and date-range scope. It also names the sibling alternative (multiple filter_tasks calls) so an agent can tell this aggregation tool apart from the raw-listing siblings without opening a schema.

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?

Explicitly frames the use case (analytics) and the alternative it beats (multiple filter_tasks calls), which gives clear routing context. No explicit 'when not to use' exclusions, but the situation that selects this tool is unambiguous.

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