Skip to main content
Glama

Get project analytics

get_project_analytics
Read-onlyIdempotent

A project's current open tasks plus done and cancelled tasks created, completed, or due in the range. totalTasks and statusMix combine these; completedTasks is the done tasks in that mix. completedInRange and activitySeries cover the range. capped marks partial results. Set rangeDays (up to 90) or from and to. Needs a Pro plan.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>"
    },
    "name": "get_project_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoEnd of the range: epoch milliseconds or an ISO 8601 time. Default now.
fromNoStart of the range: epoch milliseconds or an ISO 8601 time. Default 30 days before to.
timezoneNoIANA time zone such as America/Chicago for day boundaries.
projectIdYesProject ID or slug.
rangeDaysNoDays back from now, up to 90. Use instead of from and to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare a safe, idempotent, closed read. The description adds real context beyond them: Pro-plan gating and the 'capped marks partial results' caveat. It still says nothing about result size, performance, or timezone effects on aggregation, so a 3 is warranted.

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?

Compact and front-loaded, with each sentence covering a distinct concern (scope, metric composition, range, caveats). The second sentence is telegraphic ('totalTasks and statusMix combine these') and takes a read to parse, which keeps it from a 5.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 must carry field semantics, and it only partly does: field names are listed and one ('completedTasks') is clarified, but activitySeries and statusMix contents are not defined. For a multi-metric analytics tool, that leaves a meaningful gap.

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 coverage is 100%, so parameter documentation already exists. The description restates the rangeDays-vs-from/to choice, which the schema already documents in detail, adding no new semantics. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (a project's analytics) and enumerates the metric families it returns: open/done/cancelled counts, totalTasks, statusMix, completedTasks, completedInRange, activitySeries. It is denser than a plain 'get' restatement, though it never distinguishes itself from siblings like get_project_task_counts or get_project_activity_heatmap.

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?

It implies usage context by explaining the range shape ('Set rangeDays (up to 90) or from and to') and states a prerequisite ('Needs a Pro plan'), but it gives no explicit when-to-use vs. when-not guidance and no named alternative.

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