Skip to main content
Glama

tokmeter_digest

Read-only

Generate a concise natural-language summary of AI coding token usage to get key stats, top spenders, trends, and actionable insights in prose.

Instructions

Generate a concise natural language summary of token usage — like a daily/weekly briefing. Highlights key stats, top spenders, notable trends, and actionable insights in prose form. Use this when the user wants a quick narrative overview rather than tables.

Input Schema

NameRequiredDescriptionDefault
scopeNoTime scope: today, week (last 7d), month (calendar month), or all (default)
projectNoFilter by project name/path substring
providersNoFilter to specific providers (e.g. ['claude-code','cursor'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.19.3

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful behavioral context: the output is a prose briefing covering key stats, top spenders, trends, and actionable insights. It does not describe limitations or data source caveats.

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 description is three sentences and front-loads the core purpose. There is minor redundancy between 'concise natural language summary' and 'in prose form,' but no sentence is wasted.

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 appropriately explains the return shape as a prose briefing with stats, top spenders, trends, and insights. All three parameters are fully documented in the schema, and annotations cover the safety profile, leaving only minor unstated details.

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 the schema fully documents scope, project, and providers. The description does not add syntax, defaults, or interpretation beyond what the schema provides, so the baseline of 3 is appropriate.

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 states a specific verb and resource: generating a natural language summary of token usage. It clarifies the output format as prose rather than tables, but it does not explicitly differentiate against named sibling tools like tokmeter_pulse or tokmeter_timeline.

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?

It gives a clear usage context: use when the user wants a quick narrative overview instead of tables. However, it does not name specific alternative tools or state when not to use this tool beyond the general 'rather than tables' contrast.

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