Skip to main content
Glama

lobstr.io

get_balance

Read-only

The credits this connection's key can spend now, and the account's plan with what one credit costs on it (plan.credit_price; null on the free plan, whose credits have no price). To say a cost in money, multiply the credits by it; never guess a price.

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.8/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 needs no restating. The description adds genuinely new behavioral context: plan.credit_price is null on the free plan because those credits have no price, and the agent must never fabricate a price. It does not describe the full shape of the returned plan object, which is the remaining gap.

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 compact sentences, front-loaded with the primary return value, with the free-plan caveat attached directly to the field it qualifies. The parenthetical is slightly awkward to read but carries real information, and nothing is padded.

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 and no output schema, the description carries the burden of explaining return values, and it covers the two headline fields plus the null-price edge case. It falls short of fully describing the plan object's other contents, which an agent would need in order to interpret the full response.

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 is 4 and no parameter-level explanation is required. The description uses its space instead to explain the field names inside the returned value (plan.credit_price), which is useful but belongs to output rather than parameter semantics.

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 resource precisely – 'the credits this connection's key can spend now' plus the account's plan – so an agent knows exactly what it returns without opening the schema. It does not explicitly contrast with the sibling operation-related tools, though their names suggest minimal overlap, so no sibling routing statement is needed.

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?

There is no explicit when-to-use or when-not-to-use guidance relative to alternatives. The closest thing is derived-use guidance: 'To say a cost in money, multiply the credits by it; never guess a price,' which tells the agent how to use the result rather than when to call the tool.

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.