Skip to main content
Glama

FlowAPI

get_balance

Read-onlyIdempotent

Available balance and trial credit in USD.

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered structurally. The description does add two genuine facts beyond the annotations: the amounts are in USD, and the response includes trial credit separately from available balance. It says nothing about whose balance (credential-scoped), how fresh the values are, or whether trial credit is consumed first.

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 front-loaded fragment with no filler or redundant restatement of the name. It is efficient, though the verbless phrasing and extreme brevity leave it close to under-specified rather than merely concise.

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?

With no parameters, no output schema and annotations covering the read-only/idempotent profile, the remaining burden is small: state what is returned and in what unit, which it does. Only minor gaps remain — scope of the balance (account vs. organization) and staleness of the figure.

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 the baseline of 4 applies. The description correctly implies the balance is implicitly scoped by credentials rather than by any caller-supplied identifier.

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 specific resource and its two components — 'Available balance and trial credit' — plus the unit ('in USD'). It is immediately clear this is a read of account funds, and no sibling (get_job, get_model, generate, list_models, quote, upload_file) overlaps with it, though the description never explicitly says it is not those things.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus alternatives, and no mention of prerequisites such as authenticated credentials or organization context. An agent can only infer that it checks funds before a paid operation like generate or quote; that guidance is never written down.

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