Skip to main content
Glama

get_cost_entries

Read-onlyIdempotent

Fetch raw per-service cost entries for this account over a date range (unaggregated). Prefer query_costs for time-bucketed/aggregated spend — this is for inspecting individual rows. Each row's cost is in USD (see the response's top-level currency field), like every other figure this server returns. A row also carries native_cost/native_currency — what the provider actually billed, for reconciling against their invoice. Those are the one exception to the USD rule here: never sum or compare native_cost across rows, and never quote it without naming the row's native_currency. Unlike query_costs, there is no cost_metric parameter here — cost is always billed cost, never amortized.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endDateNo
startDateNo

TDQS

A4.4/5.0
Behavior5/5

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

The annotations already indicate a safe, read-only, idempotent operation. The description adds important behavioral context beyond that: cost is always in USD and billed (never amortized), rows include native_cost/native_currency, and native_cost must never be summed or quoted without naming its currency. This is exactly the kind of non-obvious behavior an agent needs.

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 dense but every sentence earns its place: purpose, sibling distinction, USD rule, native fields, and the billed-cost caveat. Key information is front-loaded, and there is no filler or repetition.

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?

For a read-only two-parameter endpoint with no output schema, the description covers return-value semantics, currency rules, and how it differs from query_costs. The only meaningful gap is the lack of explicit date-parameter guidance, which prevents a perfect score.

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

Parameters2/5

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

The schema descriptions are empty, so the description must explain startDate/endDate. It only says 'over a date range' and never names the parameters, their format, timezone handling, or whether they are effectively required. The agent is left guessing about how to supply these arguments.

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 opens with a specific verb and resource: 'Fetch raw per-service cost entries... over a date range (unaggregated).' It explicitly distinguishes itself from query_costs by calling out that it returns unaggregated individual rows, so an agent can tell them apart.

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

Usage Guidelines5/5

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

It gives an explicit routing directive: 'Prefer query_costs for time-bucketed/aggregated spend — this is for inspecting individual rows.' It further clarifies the lack of a cost_metric parameter compared to query_costs, making the when-to-use decision unambiguous.

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

A3.9/5.0
Disambiguation4/5

Tools are organized by resource (budgets, alerts, anomalies, dashboards, cost tags, recommendations), so most are clearly separable. The cost-tag cluster and the dimension/facet listers are the places where an agent could misselect by name, though descriptions resolve the ambiguity.

Naming Consistency5/5

All tools use snake_case verb_noun names with a clear convention: get_ fetches specific items, list_ enumerates collections, and query_ runs time-bucketed or analytical queries. The pattern holds across all 29 tools with no camelCase or mixed verb styles.

Tool Count2/5

29 tools is well past the typical 3–15 sweet spot and even past the 16–25 heavy band, so the surface feels sprawling despite having few duplicates. Each tool maps to a distinct endpoint, but the sheer number makes it a heavy set for an agent to select from.

Completeness2/5

The read-side is strong: costs, usage, tags, budgets, alerts, anomalies, dashboards, recommendations, and data health are all queryable. However, the surface is almost entirely read-only, and descriptions reference absent tools like create_budget, create_alert_subscription, create_dashboard, set_dashboard_widgets, and delete_dashboard, creating dead ends. That is a significant gap for a cost-management platform.

Resources