Skip to main content
Glama

Bowmark web data: LinkedIn, Amazon, YouTube, Reddit, Airbnb, Instagram

Check what your account has spent

get_usage
Read-onlyIdempotent

See the real cost of calls on this account, itemized by resource (provider calls, browser sessions, IP leases) and aggregated in dollars. Pass no arguments to see this month; pass month: '2026-09' to see a past month (format YYYY-MM). Returns totalUsd and line items with sku, quantity, unit and usd. usd is what each line charged and the usd column sums to totalUsd; quantity is consumption, not the charge (on a usd_micros line it is the vendor's spend in micro-dollars). This is the EXACT amount your account has been charged, matching the invoice. A single run's price is not returned on the run, so to measure what a kind of call costs, call get_usage, run the same calls a few times, call get_usage again, and divide the difference in totalUsd by the number of runs (the 'before and after' method on /docs/pricing). Usage can lag a run, so read it again later for an exact figure; a reading straight after is a floor. The typical per-call ranges for each capability are on /docs/pricing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthNoPast month in format YYYY-MM. Omit for current month.

Output Schema

NameRequiredDescriptionDefault
linesYesItemized charges by resource
monthYesThe month in YYYY-MM format
totalUsdYesTotal amount charged for the month in USD
unitemizedUsdYesAny unitemized charges in USD

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, and the description adds substance beyond that: results lag runs so an immediate read is only a floor, the figure matches the invoice exactly, and `quantity` is consumption rather than charge (micro-dollars on a `usd_micros` line). That lag/floor detail is the kind of behavior an agent could not infer from annotations or schema.

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 purpose and the two calling modes are front-loaded and most sentences carry real information (invoice match, lag, column semantics). It runs long for a one-parameter read tool and mentions /docs/pricing twice, with the before/after method spelled out at a level of detail that could be tightened.

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?

For a single-optional-parameter read tool with annotation coverage and an output schema, nothing an agent needs is missing: it knows the defaults, the date format, the freshness caveat, and how to interpret `usd` versus `quantity`. The extra return-value description is somewhat redundant with the output schema but is interpretive rather than mere repetition.

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% and the schema already documents the `YYYY-MM` pattern and 'Omit for current month.' The description restates the same format and current-vs-past-month rule without adding syntax, edge cases, or range limits, so it adds no meaning beyond the structured field. Baseline 3 applies.

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 first sentence names a specific verb and resource ('see the real cost of calls on this account') and immediately scopes the breakdown to provider calls, browser sessions, and IP leases, aggregated in dollars. An agent can tell this apart from run-execution tools like `run` or `session_call` without opening any schema.

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 states the two calling modes explicitly: no arguments for the current month, `month: '2026-09'` for a past month. It also forecloses a plausible wrong approach ('a single run's price is not returned on the run') and prescribes the before/after measurement method plus the lag caveat, so the agent knows how to get per-call cost without guessing.

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.