Skip to main content
Glama

Get spending and rate limits

autoshort_get_limits
Read-onlyIdempotent

Everything that can stop a call: credit balance, this key's daily agent spending cap (follows the credit balance, at most 20,000, unless a lower one was set; spent / remaining / reset), auto-recharge status and monthly cap, platform publishing limits, and per-hour caps on free AI calls. Free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real substance beyond them: the daily agent cap follows the credit balance capped at 20,000 unless a lower one was configured, and responses include spent/remaining/reset. It also notes the call is free, which matters for agents deciding whether to poll. It does not state response format or whether values are live vs cached.

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 dense sentence front-loads the framing ("Everything that can stop a call") and then enumerates the components, ending with the cost note. No filler, though the nested parenthetical about the cap is harder to parse at a glance.

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?

There is no output schema, so the description has to carry the return-value burden, and it does by listing each reported limit and the spent/remaining/reset fields. For a parameterless read tool that is nearly complete; only the exact response shape (field names, units, currency) is left unspecified.

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 there is nothing for the description to disambiguate; baseline for a zero-parameter schema is 4. The description correctly adds no parameter noise.

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 a concrete resource (limits that can block calls) and enumerates exactly which limits are reported: credit balance, per-key daily spending cap, auto-recharge status/monthly cap, publishing limits, and hourly caps on free AI calls. The verb is implicit (it only says what is returned), and overlap with siblings such as autoshort_get_credit_balance is not addressed, which keeps it out of the top band.

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

Usage Guidelines3/5

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

"Everything that can stop a call" implies the diagnostic use case (why is a generation failing / what headroom do I have) and "Free." signals it is cheap to call. There is no explicit guidance on when to prefer this over autoshort_get_credit_balance or autoshort_get_usage_stats, and no stated prerequisites, so usage is only implied.

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