Skip to main content
Glama

Check letter balance

get_account_balance
Read-only

Check how many prepaid letters remain on this account. Letter packs are bought on the Letter IRL website, and the result gives the link when none are left.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
messageNo
lettersRemainingYes
lettersExpiringSoonNo
giftLettersRemainingNo
canSendStandardLetterYes
expiringLettersDetailsNo
imageGenerationsAllowanceNo
imageGenerationsRemainingNo

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, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuine behavioral context beyond them: the balance is consumed by prepaid letter packs bought externally, and the response returns a purchase link when the count reaches zero. It does not mention account/auth scope or whether the count is live versus cached, keeping it short of 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?

Two short sentences with the core outcome front-loaded and the edge case (zero balance) following. Minor awkwardness in 'the result gives the link when none are left,' but no wasted sentences.

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?

An output schema exists, so the description is not obligated to document return values, and it still flags the one notable response behavior (link surfaced at zero balance). For a parameterless read tool this is nearly complete; only the account scoping and freshness of the count are left implicit.

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. Nothing about the call signature needs explaining, and the description adds no misleading input expectations.

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: 'Check how many prepaid letters remain on this account.' That is clearly distinct from sibling tools like list_letter_packs (catalog of packs) and get_order_status (purchase state). It does not explicitly name a sibling it differs from, but the resource is unambiguous.

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 can infer this should be called before send_letter or request_send to verify credits, and that purchase happens off-tool on the Letter IRL website. There is no explicit when-to-use statement, no mention of prerequisites such as authentication, and no exclusion of alternatives.

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