Skip to main content
Glama

task_report

Median and p90 LLM cost, elapsed time and active time per completed task for this organization, over a date range.

Cancelled tasks are a separate waste figure and are left out of the medians. An accepted skill or playbook change in the window includes a before/after comparison, or not enough data when either side has fewer than 3 completed tasks. The result includes the method. It is this org's numbers only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "task_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoWindow start, ISO date or time (UTC). Omit with window_days.
untilNoWindow end, ISO date or time (UTC). A date is that whole day. Default now.
project_idNoLimit to one project in this organization. Omit for the whole org.
window_daysNoLength of the window ending at until, when since is omitted. Default 30, at most 366.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations provided, the description carries the disclosure burden and does well: it states cancelled tasks are excluded from medians and counted as a separate waste figure, that low-sample comparisons yield 'not enough data' below 3 completed tasks, and that the method is returned with the result. It stops short of stating the read-only/safety profile or any cost of running the query, which is the remaining gap.

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 core purpose is front-loaded in the opening sentence and each subsequent sentence adds a distinct fact (cancelled-task exclusion, comparison thresholds, method disclosure, org scoping). The third sentence is tangled — 'includes a before/after comparison, or not enough data when either side has fewer than 3 completed tasks' reads as a run-on and takes a second pass to parse.

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 an output schema present and full schema coverage, the description does not need to explain return values, and it sensibly spends its words on non-obvious semantics: exclusions, sample-size thresholds, and method disclosure. Only the read-only/behavioral safety profile is left unstated, which is a minor omission for an aggregate reporting tool.

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%, so since/until/window_days/project_id are already fully documented in the schema. The description only adds the general notion of 'over a date range' and org-only scoping; it adds nothing about the since/window_days interaction or the project filter, so 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?

The first sentence names the exact metrics (median and p90 LLM cost, elapsed time, active time), the unit of analysis (per completed task), and the scope (this organization, over a date range). An agent can tell immediately this is an aggregate performance/cost report rather than a per-run or balance lookup, so no sibling tool overlaps ambiguously.

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 usage through its framing (aggregate metrics per completed task) and adds a scope exclusion ('It is this org's numbers only'), but it never states when to pick this over an alternative such as a balance or per-run trace tool, nor does it mention prerequisites. Usage is inferable but not directed.

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.