Skip to main content
Glama

Show analytics

analytics_overview
Read-onlyIdempotent

EVERY NUMBER THE DASH'S ANALYTICS PAGE SHOWS, as data, computed by the same code the page runs (so the two never disagree): shipped and its previous-window delta, autonomy (no review needed), the Pipeline (filed-in-window cohort, stage medians), a per-bucket series (shipped, time by phase, Retasc fee by outcome, labour, and who is behind each bucket), the Fleet table (per agent and runtime: finished, median work time, send-backs, reclaims, model, 7-day shape), the queue right now (ready, in flight, blocked, late, the issues blocking the most), review (lanes, waits, accept rate, untriaged intake), time and labour cost by phase and by change type, Retasc spend, the written findings, and the person roster. Use it when a human asks how their fleet or project is doing; build the chart yourself from what it returns. WINDOW: days (1, 7, 30 or 90 as on the page; default 30) or from+to (ISO 8601 or epoch ms, up to 366 days, within the last year), cut into calendar buckets in tz (default the org's zone). With no maxBars the window keeps its own unit (hours for 1 day, days for 7 and 30, weeks for 90), so "last 30 days" is the same window the Dash shows on a laptop; maxBars caps the bucket count, and a cap below that coarsens to wider buckets and snaps the window outward to whole ones. SCOPE: this key's own project by default. project (prefix or id) for another one, or allProjects: true for the whole org, ONLY when the key's principal is an owner or admin — a member's key asking for more is refused with FORBIDDEN. person (a member id from the people section) narrows to one human and their agents (owner/admin; a member's view is already their own). Money and the roster are owner/admin, as on the Dash. Every response carries asOf, timezone, the window, units and a one-line definition per metric. sections limits what is returned (summary, pipeline, series, fleet, queue, review, time, money, findings, people); bucketFrom+bucketTo add the per-issue card for one bucket when reading one person. Past the inline size cap it returns page.cursor: call again with the same arguments plus cursor for the rest. Billed as one read per call.

Input Schema

NameRequiredDescriptionDefault
toNoCustom window end, ISO 8601 or epoch ms. Pass with `from`.
tzNoIANA timezone the buckets are cut in. Default: the org's timezone (UTC if unset).
daysNoWindow length in days: 1, 7, 30 or 90 (any whole number 1-90). Default 30. Ignored when from/to are given.
fromNoCustom window start, ISO 8601 or epoch ms. Pass with `to`.
cursorNoFrom a previous page's `page.cursor`, with the same other arguments.
personNoMember id: one human plus their agents (owner/admin; or your own).
maxBarsNoMost buckets the series may have (1-400). Default: no cap, so the window keeps its own unit, as on the Dash on a laptop. A smaller cap coarsens the buckets and widens the window to whole ones; it never makes a bucket finer than the window's unit.
projectNoAnother project's prefix or id (owner/admin only). Default: this key's project.
bucketToNoSee bucketFrom.
sectionsNoReturn only these sections. Default: all.
bucketFromNoWith bucketTo and a person: the per-issue card for that bucket (a series row's from/to).
allProjectsNoThe whole org (owner/admin only).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses authorization failures (FORBIDDEN for member keys widening scope), paywalled sections (money and roster are owner/admin), the response envelope (asOf, timezone, window, units, per-metric definitions), pagination via `page.cursor` with identical arguments, and billing ('one read per call'). That is far more than the annotations carry.

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?

Well front-loaded — purpose first, then explicit WINDOW/SCOPE blocks — and capitalized labels help scanning. The metric-by-metric enumeration (e.g. 'Retasc fee by outcome, labour, and who is behind each bucket') is dense and partly redundant with the `sections` list, but with no output schema it earns most of its space.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, zero-required, output-schema-less analytics tool, this covers everything an agent needs: what is returned, defaults, timezone and window rules, permission gates, pagination, and cost. Nothing material about invoking it correctly is left unstated.

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

Parameters5/5

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

Schema coverage is 100% (baseline 3), but the description adds real semantics the schema lacks: it enumerates the valid `sections` values even though the schema has no enum, explains the days-vs-from/to precedence and the bucket-unit behavior per window, and spells out that `maxBars` coarsens and snaps outward rather than refining. It also explains the `bucketFrom`+`bucketTo`+`person` interaction.

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?

Opens with a specific verb+resource framing — every metric the Dash analytics page shows, computed by the same code — and enumerates the actual sections (pipeline, series, fleet, queue, review, money, findings, people) so the agent knows exactly what comes back. Sibling `analytics_issues` is not named, but the breadth described here is unmistakably the org/project overview rather than an issue-level report.

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?

Gives an explicit trigger: 'Use it when a human asks how their fleet or project is doing; build the chart yourself from what it returns' — which also tells the agent it produces data, not rendered output. It adds hard preconditions for widening scope (owner/admin or FORBIDDEN) but never names a sibling as the alternative for narrower questions.

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