Skip to main content
Glama

Get aicut token balance

get_balance
Read-onlyIdempotent

Get the user's available tokens and current subscription plan. top_up_url (the balance cannot pay for the cheapest generation, or a quote says sufficient_balance: false) is the ONLY link to give for adding tokens; never guess one.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, closed read. The description adds real behavioral content beyond them: what is returned (tokens, plan) and a hard constraint that `top_up_url` is the ONLY link to give for adding tokens and must never be guessed. That constraint is not derivable from annotations or the empty schema.

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?

Two sentences, both front-loaded with the most actionable information first: what comes back, then the rule about the top-up link. No redundant restatement of the name or title.

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 must carry return semantics, and it covers the key fields (available tokens, subscription plan, `top_up_url`) plus the conditional trigger for the URL. Minor gaps remain — it doesn't say whether the balance is expressed in tokens or credits, or what shape the plan value takes — but nothing needed to call it correctly is missing.

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?

Zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. No misleading parameter talk is introduced.

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 and resource: retrieves the user's available tokens and current subscription plan. This is unmistakably distinct from the sibling generation/retrieval tools, none of which concern account balance, so an agent can select it without opening any schema.

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?

It gives explicit conditions for handing out `top_up_url` (insufficient balance for the cheapest generation, or a quote returning `sufficient_balance: false`), but never states when to call get_balance itself — e.g. before attempting a generation. Usage of the tool is implied rather than directed.

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.