Skip to main content
Glama

Check Free-Tier Usage

check_limits

Verify per-provider usage against daily, weekly, and monthly budget limits before generative runs or when checking remaining quota.

Instructions

Use before a generative run or when the user asks about remaining quota. Reports per-provider usage vs the budget guard's daily/weekly/monthly limits from data/usage-limits.json. Offline.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerNoA single provider slug; omit for all tracked providers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it usefully discloses that the operation is offline and that the limits come from data/usage-limits.json, implying a local read-only query. It does not state whether anything is written, what the report looks like, or failure behavior, leaving real gaps.

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?

Three short sentences, all front-loaded: the usage trigger comes first, then what is reported, then the source and the offline trait. Nothing is redundant with the name or schema.

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 simple one-optional-param read tool with no output schema, the description covers when to call it, what it reports, where the data lives, and that it runs offline. Only a hint at the shape of the returned usage report is missing.

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% and the single provider parameter is fully documented in the schema (single slug, omit for all). The description adds no syntax or format detail beyond that, so the 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?

States a specific verb (check/report) and resource (per-provider usage against budget guard limits), names the data source, and is clearly distinguishable from siblings like list_providers or ipc_status.

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?

"Use before a generative run or when the user asks about remaining quota" gives explicit triggering conditions, which is exactly the routing an agent needs among the generation siblings. No when-not guidance or named alternative, so it stops short of a 5.

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