Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

getBalanceHistory

Read-only

Retrieve a newest-first ledger of your organization's balance changes with signed amounts and resulting balance. Filter by date to find where credit went or when a top-up landed.

Instructions

Every change to your organization's balance, newest first: each call charge, recharge, phone number purchase or renewal, subscription credit, reward and adjustment, with the signed amount and the balance right after it.

Use it to find out where credit went, or when a top-up landed. The dashboard's usage statement shows the same entries as totals per day and per kind.

Days are in your account's time zone. Without dates you get the last 31 days; a range covers at most 31 days. The API key's user needs Billing access in your organization.

(Tags: Account)

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

Input Schema

NameRequiredDescriptionDefault
pagenoNoPage number.
date_toNoLast day (`YYYY-MM-DD`), included. Defaults to today.
pagesizeNoEntries per page.
date_fromNoFirst day (`YYYY-MM-DD`). Defaults to 30 days before `date_to`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.26.0

TDQS

A4.2/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the description discloses ordering (newest first), the default 31-day window, the 31-day maximum range, that days follow the account time zone, and the Billing-access permission requirement. These are the practical constraints an agent needs before calling, none of which annotations or schema convey.

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?

Front-loaded with the resource and contents, then uses cases, then constraints and permissions in a logical order; nearly every sentence earns its place. The trailing '(Tags: Account)' is catalog metadata with no decision value and is the one piece of noise.

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 usefully characterizes the return shape (signed amount plus post-entry balance) and covers limits, time zone, and auth. Pagination edge behavior for a large result set is only covered by the schema, a minor residual gap.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: that a range may cover at most 31 days and that dates are interpreted in the account's time zone. Pagination behavior (pageno/pagesize) is left entirely to the schema, which is acceptable.

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 gives a specific verb-and-resource framing ('Every change to your organization's balance, newest first') and enumerates the entry kinds (call charge, recharge, number purchase/renewal, subscription credit, reward, adjustment). It does not name or differentiate from the closest sibling, getAccountBalance, so an agent must infer that this is historical entries rather than the current balance.

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?

It supplies concrete use cases ('find out where credit went, or when a top-up landed') and points to the dashboard's usage statement as the aggregate view of the same data. It stops short of explicit exclusions or naming which sibling to call for a plain current-balance lookup.

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