Skip to main content
Glama

billing_usage_get

Read-only

Read workspace usage grouped over a reporting period.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspaceSlug": "<workspaceSlug>"
    },
    "name": "billing_usage_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
workspaceSlugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered and the bar is lower. The description adds that results are aggregated/grouped rather than raw entries, which is useful context, but it says nothing about defaults, pagination, time-range behavior, or what happens when start/end are omitted.

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?

A single front-loaded sentence with no filler or redundancy. Its brevity is a virtue structurally, though it leaves the definition under-specified elsewhere.

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?

For a tool with a nested query object, two enum defaults, and no output schema, the description is too thin to tell an agent how to construct a valid, meaningful call. It should at minimum document accepted date formats, the default period/group behavior, and how usage is aggregated.

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?

Schema description coverage is 0% for a nested two-parameter input containing workspaceSlug and a query object with start, end, group, and period (the latter two with defaults). The description gestures at grouping and a period but gives no date format for start/end, no mention of the default group=workspace or period=monthly, and nothing about whether the range is inclusive.

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?

States a specific verb and resource ("Read workspace usage") plus a qualifier ("grouped over a reporting period"), which lets an agent distinguish this aggregated usage view from a raw ledger or user-billing tool. It stops short of naming which sibling to use instead, so it stays at a clear-but-undifferentiated 4.

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?

No when-to-use guidance, no exclusions, and no pointer to alternatives such as billing_get, user_billing_get, or billing_ledger_list, all of which are plausible near-neighbors in the sibling list. The agent is left to infer context entirely from the tool name.

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.

Resources