Skip to main content
Glama
XMLRiver MCP Toolkit

XMLRiver MCP Toolkit

by dietbear13

get_balance

Read-only

Retrieve the current account balance and approximate tariffs for network requests so you can check available funds and estimate usage costs.

Instructions

Get account balance and approximate tariffs (network requests).

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

Output Schema

NameRequiredDescriptionDefault
balanceYes
cost_google_per_1000Yes
cost_yandex_per_1000Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered; the description only adds that the call involves network requests. It does not explain why idempotentHint=false on a read (presumably a balance that changes between calls), nor whether results are cached or how fresh they are. Useful but thin context beyond the annotations.

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 short sentence with the main purpose front-loaded and no filler. 'Approximate tariffs' is the one vague phrase, but it does not pad the definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because an output schema exists, the return values do not need explaining, so the remaining burden is small. The description still never explains what 'tariffs' means or how reliable or fresh the figures are, and it gives no guidance on when to call this tool, which is a gap for a definition with this much behavior 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 zero parameters, so there is nothing for the description to disambiguate; the baseline for a no-argument tool applies. The description adds no parameter detail because none is needed.

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?

States a specific verb and two concrete resources: account balance and approximate tariffs. It is specific enough to act on, but it never contrasts itself with the sibling tools (batch, serp, wordstat_history, wordstat_top), so sibling differentiation is left to inference.

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?

No when-to-use guidance, no prerequisites, and no alternatives are named. The parenthetical '(network requests)' hints that the call goes to the network, but the description never says when an agent should prefer this over another tool or when to avoid it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools