Skip to main content
Glama

get_today_cost

Read-onlyIdempotent

Total tool-call cost and call count for the current day (UTC), for the organization behind the caller's API key. Returns a human-readable summary line plus raw numbers in a structured field.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
costUsdYesSum of estimated costs in USD.
callCountYesTool calls observed since 00:00 UTC.
errorCountYesTool calls that returned an error.
inputTokensYesSum of input tokens.
outputTokensYesSum of output tokens.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true. The description adds value by detailing the output format (human-readable summary plus raw numbers in a structured field), which goes beyond annotations.

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?

The description is a single, clear, well-structured sentence that front-loads the key information. Every word adds value.

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?

With no parameters, read-only annotations, and an output schema, the description fully covers what the tool does and returns. No gaps.

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

Parameters4/5

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

No parameters exist, so baseline is 4. The description is sufficient and does not need to add parameter info.

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 description clearly states it returns today's total cost and call count, with specific scope (UTC, organization behind API key). It distinguishes from sibling tools like estimate_cost and get_usage_this_month.

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 for retrieving today's cost but does not explicitly state when to use it versus alternatives like estimate_cost or get_usage_this_month. No exclusions or conditions are provided.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool has a distinct purpose: cost estimation, session details, daily cost, monthly usage, session listing, top tools, and demo. No two tools overlap in functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern (e.g., estimate_cost, get_session_details, list_top_tools). 'try_demo' also fits the pattern.

Tool Count5/5

Seven tools is an appropriate number for a cost monitoring server, covering estimation, session details, daily/monthly usage, and top tools without being overwhelming.

Completeness4/5

The tool set covers core cost monitoring needs: estimation, session drill-down, daily/monthly totals, and top tools. Minor gaps like historical trends or budget management are missing but not critical for the stated purpose.

Resources