Skip to main content
Glama

List budgets

list_budgets
Read-onlyIdempotent

List budgets

The account's budget (null without one) and each of the account's working model keys, its customers' keys included, with its budget (null without one), each limit with what was spent in its current window, at our price. Every key is listed, not paged; each one takes the set_key_budget tool. A key's monthly limit is the key's monthlyLimitUsd (the same cap create_key sets). Windows are UTC: the day from midnight, the week from Monday, the month from the 1st, lifetime from when that limit was set.

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": "list_budgets"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior: budgets are null when absent, the listing is unpaged, spend is priced "at our price", and window boundaries are defined in UTC. It does not cover ordering or volume expectations for large key sets.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening line restates the tool name, and the first sentence is grammatically tangled ("The account's budget (null without one) and each of the account's working model keys, its customers' keys included, with its budget..."), forcing a re-read. The later window-definition sentence is efficient and earns its space.

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

Completeness3/5

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

With no output schema, the description must explain the return shape, and it does so for budgets, limits, and spend windows. However, it leaves gaps for a nested response: it never indicates what other attributes each key carries or the overall structure of the returned collection, so an agent still guesses at the full payload.

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

Parameters4/5

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

The tool takes no parameters, so the baseline is 4 and the schema carries no burden. The description compensates by explaining the semantics of returned fields — monthlyLimitUsd as the same cap create_key sets, and per-limit window start rules — which is meaningful since no output schema exists.

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 names the resource set precisely: the account's own budget plus every working model key (including customers' keys), each with its budget and spend per limit window. It is distinguishable from list_keys because it foregrounds budget/limit/spend data, though the opening sentence is a noun phrase rather than a clean "returns X" statement.

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

Usage Guidelines4/5

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

It states that every key is listed with no paging, and explicitly routes mutations to the `set_key_budget` tool, giving the agent a clear read-vs-write split. It stops short of saying when a caller should prefer this over `list_keys` for non-budget key data.

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