Skip to main content
Glama

Billing Usage

billing_usage
Read-only

Track AI evaluation costs by retrieving billing usage summaries with filters for date range, granularity, and model.

Instructions

Return Cloudeval billing usage summary with date, granularity, and model filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endAtNoEnd timestamp.
modelNo
rangeNo30d
baseUrlNoCloudeval API base URL. Defaults to the MCP server --base-url, active profile, CLOUDEVAL_BASE_URL, or the public API.
outcomeNo
profileNoCloudeval CLI config profile to read defaults from. Defaults to the server --profile or CLOUDEVAL_PROFILE.
startAtNoStart timestamp.
actionTypeNo
frontendUrlNoCloudeval frontend base URL for generated links. Defaults to --frontend-url, active profile, CLOUDEVAL_FRONTEND_URL, or public frontend.
granularityNoday
chargeStatusNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataYesTool-specific result payload.
commandYes
traceIdNo
frontendUrlNo
filesWrittenNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.38.3

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, covering the safety profile. The description adds the scope of a usage summary and filter dimensions, but gives no additional behavioral context such as aggregation behavior, external API dependence, or link generation behavior.

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, direct sentence that front-loads the action and resource before listing key filters. Every word earns its place, and there is no redundant or filler content.

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

Completeness2/5

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

With 11 parameters, multiple undocumented fields, and an ambiguous sibling relationship, this description is too thin to support confident tool selection and invocation. While the output schema helps with return values, the description does not address selection criteria, alternative tools, or parameter semantics sufficiently.

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 only 45%, so the description partially compensates by clarifying that date, granularity, and model are filters—helpful especially because 'model' has no schema description. However, it leaves several other undocumented parameters (outcome, actionType, chargeStatus) unexplained and does not clarify date formats or filter combinations.

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 clearly identifies the action (Return), the resource (Cloudeval billing usage summary), and the primary filter dimensions (date, granularity, model). However, it does not differentiate this from the sibling billing_summary, which likely has an overlapping purpose, so sibling distinction is missing.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives such as billing_summary or billing_ledger. The description only states what the tool does, leaving the agent to infer the appropriate selection context.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ganakailabs/cloudeval-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server