Skip to main content
Glama

Balance and usage

flow_get_balance
Read-only

The general balance (null when it cannot be read), the billing mode, whether sending is stopped, and each sender that sent this period or has an allowance: messages sent (an SMS sender's sent counts billed parts) and, with an allowance, how much of it is used and left. Spend from the general balance is in flow_get_analytics.

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

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 declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. Beyond that, the description adds a genuine edge-case behavior — the balance is null when it cannot be read — and clarifies that an SMS sender's sent count reflects billed parts, which an agent could not infer from structured data.

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?

Everything sits in one dense sentence that leads with the primary value (the general balance) and trails the secondary per-sender detail. Every clause carries information, though the nested parentheses and the 'and, with an allowance, how much of it is used and left' construction cost some readability.

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 output schema and no parameters, the description has to carry the return-shape burden, and it does so by enumerating each returned element including the allowance used/remaining split. It also covers the failure mode (null balance) and cross-references the related spend tool; only the response's structural form (single object vs. list of senders) is left implicit.

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 the baseline is 4; there is nothing for the description to disambiguate. Nothing in the text contradicts or misdescribes the empty input schema.

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 enumerates exactly what is returned: general balance, billing mode, whether sending is stopped, and per-sender usage/allowance figures. It is not phrased as a verb+resource statement, but an agent can tell precisely what this read returns and how it differs from flow_get_analytics, which is named as the spend-reporting sibling.

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?

It explicitly routes spend-related questions to flow_get_analytics, which is the main selection decision an agent would face among these siblings. It does not spell out 'use this when the user asks about balance' in absolute terms, but the scope of the returned data makes the intended use unambiguous.

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