Skip to main content
Glama

Hent saldo

get_balance
Read-only

Viser den forudbetalte saldo og kontostatus for den tilknyttede API-kunde. English: Shows the prepaid balance and account status for the connected API customer.

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

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the agent knows this is a safe, closed-world read. The description adds only what data domain is returned (balance, account status) and the 'prepaid' qualifier that implies credit exhaustion behavior; it says nothing about failure modes if no customer is connected or whether values are cached/live.

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?

Two short sentences with the core purpose front-loaded and no wasted clauses. The second sentence is a near-verbatim English translation of the first, which is mild redundancy but plausibly intentional given the Norwegian 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?

For a no-parameter read with no output schema, the description covers enough: what is returned (prepaid balance and account status) and for whom. It stops short of describing the shape of the response or units/currency, but an agent needs nothing more to invoke it correctly.

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. The description correctly implies the call is fully determined by the authenticated connection rather than by any input, which matches the empty 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?

States a specific verb ('shows') and concrete resources ('prepaid balance and account status') scoped to 'the connected API customer'. This is clearly distinguishable from the siblings, which all concern letters, orders, or pricing, though the description itself does not name any alternative.

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?

Usage is only implied: an agent infers it should call this to check account funds, but there is no explicit when-to-use, when-not-to-use, or routing to siblings such as get_pricing. For a zero-parameter read this is adequate but leaves guidance to inference.

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