Skip to main content
Glama
smallest-inc

Smallest MCP Server

Official
by smallest-inc

get_credit_usage

Track daily credit consumption and total costs within a date range to monitor billing and manage budgets.

Instructions

Get daily credit/cost usage over time — shows credits consumed each day and total for the period. Useful for billing and budget tracking.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
start_dateNoStart date (ISO 8601, e.g. 2025-01-15T00:00:00Z). Defaults to 7 days ago.
end_dateNoEnd date (ISO 8601, e.g. 2025-01-20T23:59:59Z). Defaults to now.
Behavior3/5

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

No annotations are provided, so the description bears full responsibility. It discloses the tool returns daily credits consumed and totals, but does not mention that it is read-only, any authentication requirements, or potential rate limits. It adequately conveys behavior for a simple data retrieval tool.

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 concise: two sentences with no filler. The first sentence states the purpose and output, the second adds context on usage. Every word earns its place.

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?

Given no output schema, the description includes the key output details (daily credits consumed and total). Parameter coverage is complete. It could be more precise about the output format, but for a straightforward time-series tool, it is largely sufficient.

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 coverage is 100% with both parameters documented with descriptions. The description does not add extra meaning beyond what the schema already provides (ISO 8601 format, defaults). Baseline score 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 clearly identifies the tool retrieves daily credit/cost usage over time, specifying per-day and total values. It distinguishes from many sibling tools by focusing on usage rather than balance or alerts, though it could explicitly differentiate from get_credit_balance or get_credit_ledger.

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 states it is useful for billing and budget tracking, implying when to use. However, it does not specify when not to use it or mention alternatives such as get_credit_balance for current balance or get_billing_alerts for alerts.

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

Install Server

Other Tools

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/smallest-inc/mcp-server'

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