Skip to main content
Glama

Your credit balance, and how to add more

get_account

How this connection pays, its credit balance in dollars, each tool's price, and a link where the person can add credit by card. Call it when the person asks what's left or how to pay, or to connect another device to the same balance. Free. It returns no plan data.

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

Input Schema

NameRequiredDescriptionDefault
new_device_codeNotrue = also make a one-time code (good for 15 minutes) that connects an app on another device to this same balance without paying again. Only when the person asks for it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint=false and no other safety annotations, the description carries real weight and does so: it states the call is 'Free,' explains that the device code is one-time, valid 15 minutes, and lets another app join the same balance without paying again. That accounts for why the hint flags possible state change despite reading an account. It omits error/expiry behavior if the code is unused, keeping it at 4.

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-load the returned content, then the calling triggers, then the boundary and cost note. Every clause carries information, though the first sentence is a dense comma-list and 'Free.'/'It returns no plan data.' read as clipped fragments. No filler overall.

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 output schema, the description must describe returns, and it does: balance, per-tool prices, and a top-up link. For a one-optional-parameter read tool this covers calling conditions, cost, and the device-code side effect. Minor gap is the shape of the returned link and what happens when a device code expires.

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 description coverage is 100% and there is a single optional parameter whose schema text already explains the one-time code and the 'only when asked' condition. The description reinforces the use case ('connect another device to the same balance') but adds no new syntax, format, or expiry semantics beyond the schema. Baseline 3 is appropriate.

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 enumerates exactly what the tool surfaces: the connection's payment setup, credit balance in dollars, per-tool price, and a card top-up link. It also draws a boundary against the plan-oriented siblings by stating 'It returns no plan data,' so an agent can separate it from get_plan/get_plan_fees. The phrasing is content-list rather than a leading verb, which keeps it just short of a 5.

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?

Explicit triggers are given: when the person asks what's left or how to pay, or wants to connect another device to the same balance. The 'returns no plan data' clause implies a when-not boundary pointing toward the plan tools, and the parameter note 'Only when the person asks for it' sets a usage condition. Alternatives are not named outright, so it stops at 4.

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