Skip to main content
Glama

Account balances

webling_account_balances
Read-onlyIdempotent

Retrieve account balances for an accounting period grouped by assets, liabilities, income, and expenses, including totals and period result; omit period_id to use the current period and list periods.

Instructions

Balances of all accounts of an accounting period, grouped by account group (assets, liabilities, income, expense), with totals and the period result. Without period_id the current period is used; the answer also lists all periods.

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

Input Schema

NameRequiredDescriptionDefault
period_idNo
include_zeroNoAlso list accounts with balance 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavior: the default-to-current-period fallback and the fact that the response also returns the list of all periods, which the agent could not infer from annotations.

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 that front-load the returned data and then the default behavior. Dense but every clause carries information; no filler or repetition.

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 and only two optional parameters, the description adequately covers what comes back (grouped balances, totals, period result, period list) and the default parameter behavior. Nothing critical to correct invocation appears missing, though tie-breaking against sibling reporting tools is left implicit.

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 50% — include_zero is documented in the schema, but period_id has no description there, and the description supplies its key semantic (omitted means current period) and implies the returned period list can be used to find valid IDs. That offsets the gap but does not deepen either parameter beyond that, so the 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 names a specific resource (account balances for an accounting period) and details the grouping (assets, liabilities, income, expense) plus totals and the period result. It is clearly distinguishable from siblings like webling_query or webling_get, though it describes an output rather than leading with an explicit verb.

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 implied rather than stated: it tells you the tool yields period balances, and that omitting period_id defaults to the current period. There is no explicit guidance on when to prefer this over webling_query or webling_get, and no stated exclusions or prerequisites.

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