Skip to main content
Glama

Get the prepaid balance

scout_get_balance
Read-only

Get the prepaid balance of a customer: the total, the part held by running jobs, and the spendable rest. customer.quotas gives the free analyses left this month and the price of an analysis after them. The customer_id is in scout_list_projects.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "customer_id": "<customer_id>"
    },
    "name": "scout_get_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
customer_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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 safety is covered. The description adds real behavioral value by naming the three balance components, including the subtle 'part held by running jobs', which tells the agent why total and spendable differ.

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?

Three tight sentences that front-load the core meaning and end with the parameter-discovery hint. The middle sentence on customer.quotas is slightly ambiguous in referent but not wasteful.

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 an output schema present, the description need not document return values, and it still summarizes the balance breakdown helpfully. Combined with the customer_id sourcing hint, an agent has what it needs to call this correctly; only edge-case behavior (e.g. missing customer) is unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single customer_id parameter, and the description does compensate partially by saying where to obtain it ('customer_id is in scout_list_projects'). That is genuine provenance information the schema lacks, but it stops short of format or expected-value details.

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 resource ('Get the prepaid balance of a customer') and even decomposes the result into total, held-by-jobs, and spendable. It does not contrast itself with a sibling, but none of the listed siblings overlaps in purpose, so the risk of confusion is low.

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 spendable funds before spending on analyses. There is no explicit when-to-use or when-not-to-use statement, and the reference to customer.quotas reads as a pointer but is ambiguous about whether it describes the response or another data source.

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.