Skip to main content
Glama

Show account balance

lw_billing_balance
Read-onlyIdempotent

Retrieve the account's billing balance details, including current balance, amount due, overdue charges, credit, available funds, billing cycle, next bill date, and last payment date, plus the payment method type.

Instructions

Show the account's billing balance (bleed Billing/balance): balance, due, overdue, credit, available, billing cycle, next bill date and last payment date. Returns the payment method type only (for example credit_card), never card or bank details.

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": "lw_billing_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
contextNoAuth context name (like lw-cli contexts). Omit to use the default. lw_contexts lists them.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
statusYes
contextNo
previewNo
summaryYes
warningsNo
next_pageNo
next_stepNo
truncatedNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, but the description adds real value by disclosing a data-handling guarantee: only the payment method type is returned, never card or bank details. That privacy boundary is not derivable from the annotations and is exactly the kind of context an agent needs before surfacing results.

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 sentences, front-loaded with purpose then the field list, with no wasted prose. The parenthetical '(bleed Billing/balance)' is a garbled artifact that adds noise without meaning, a small but real blemish.

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 need not explain return values, yet it still names the key fields and the one sensitive field's restricted form. For a zero-required-parameter read tool this is complete; only explicit usage guidance is missing.

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 the single 'context' parameter is fully documented in the schema, including the pointer to lw_contexts. The description adds nothing about the parameter, which is acceptable given full schema coverage but leaves it at the baseline.

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?

States a specific verb and resource ('Show the account's billing balance') and enumerates exactly which fields come back (balance, due, overdue, credit, available, billing cycle, next bill date, last payment date). No sibling in the list covers billing/finance, so an agent can select this without ambiguity.

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: it is a read-only informational lookup about account finances. There is no explicit 'use this when…' clause and no mention of related tools or prerequisites (e.g. auth/context requirements), though the read-only nature is easy to infer.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools