Skip to main content
Glama

Project limits

get_limits
Read-onlyIdempotent

Spending limits, used and reserved amounts. Use when a call was refused for a limit, or before a large job. Before: nothing. Returns each limit with its used and reserved amounts. Scope: usage:read. Cost: free.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already state readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds value beyond that: the required scope (usage:read), the cost (free), and the shape of the payload (each limit with used and reserved amounts). The terse "Before: nothing" is ambiguous but is plausibly a no-prerequisites note.

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?

Short and front-loaded: purpose first, then usage triggers, then return shape, then scope/cost. The telegraphic fragments ("Before: nothing.") trade clarity for brevity but nothing is padded or redundant.

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 zero-parameter read with rich annotations and no output schema, the description covers purpose, triggers, scope, cost and return shape, which is what an agent needs. Only the meaning of "Before: nothing" and any pagination or limit-count expectations are left unresolved.

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 zero parameters, so per the baseline this is a 4. The description correctly implies no inputs are needed and adds no misleading parameter claims.

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?

"Spending limits, used and reserved amounts" names the exact resource and the data it carries, which separates it from cost/metering siblings like get_costs or get_compute_usage. The verb is implicit (it is a getter), but the noun phrase is specific enough that an agent knows what it will receive.

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?

Gives two concrete triggering conditions: a call refused for a limit, or preparation before a large job. That is clear when-to-use guidance. It stops short of exclusions or naming an alternative (e.g. get_costs for billing analysis), so it falls just 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources