Skip to main content
Glama

get_credits_balance

Read-only

Read-only: returns the user's current FuseAI credit balance as { balance }. Use it when the user asks how many credits they have, and BEFORE starting a credit-consuming bulk operation (e.g. bulk enrichment) to check the batch is affordable — bulk operations are priced up front as price-per-contact × contact count and fail with INSUFFICIENT_CREDITS when that total exceeds this balance. Takes no arguments.

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_credits_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real context beyond them: the returned field shape, the up-front pricing model (price-per-contact × contact count), and the INSUFFICIENT_CREDITS failure condition. It does not clarify account/workspace scoping or the unit/currency of the balance, which keeps it from a 5.

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?

The information is front-loaded — read-only nature and return value come first, then usage triggers, then the pricing caveat. Every clause carries content, but the single dense run-on sentence with an embedded parenthetical and error code is slightly harder to scan than short discrete sentences would be.

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

Completeness5/5

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

For a zero-argument, read-only tool with no output schema, the description covers everything an agent needs: what it returns, when to call it, and the pre-condition failure mode for bulk operations. Nothing material is missing.

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 the description reinforces this with 'Takes no arguments.' There is no parameter meaning left to add.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Read-only: returns the user's current FuseAI credit balance') and even states the response shape '{ balance }'. An agent immediately knows exactly what this tool produces, and it is distinct from credit-spend or credit-price lookups by virtue of the 'current balance' framing.

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 gives two concrete triggers: when the user asks how many credits they have, and before starting a credit-consuming bulk operation. That is strong when-to-use guidance. It stops short of a 5 because it names no exclusions or alternative tools (e.g. usage history vs. balance) for cases where the user wants spend detail rather than a snapshot.

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.