Skip to main content
Glama
LamPyrid
by RadCod3

Get Financial Summary

get_financial_summary
Read-onlyIdempotent

Retrieve a complete financial overview for a date range, including expense, income, and transfer totals plus net position. Filter by account IDs to check financial health or build dashboard summaries.

Instructions

Get a complete financial overview for a time period.

Returns expense, income, and transfer totals along with net position (income minus expenses). Makes parallel API calls for efficiency.

Use cases:

  • Quick financial health check

  • Monthly/yearly overview

  • Dashboard summary data

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "req": "<req>"
    },
    "name": "get_financial_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYesRequest for complete financial summary.

Output Schema

NameRequiredDescriptionDefault
end_dateYesEnd of the analysis period
start_dateYesStart of the analysis period
net_positionYesNet financial position (income - expenses). Positive means net gain.
total_incomeYesTotal income for the period (as positive number)
currency_codeYesPrimary currency code for all amounts
total_expensesYesTotal expenses for the period (as positive number)
total_transfersYesTotal transfer amount for the period

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, and closed-world, so the safety profile is covered. The description adds one genuine behavioral detail — that it issues parallel API calls for efficiency — plus what the aggregate contains (net = income minus expenses), but says nothing about cost, caching, or behavior with empty date ranges.

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?

The what-and-returns summary is front-loaded in two short sentences, then use cases are cleanly bulleted. The 'parallel API calls' line is mildly interesting but not actionable for an agent; otherwise there is no padding.

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 an output schema present there is no need to explain return shape, and annotations carry the safety profile, so the description only needs to frame scope and aggregation semantics — which it does. Minor missing pieces are whether account_ids restricts all three totals and how transfers interact with net position.

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%, so the nested req object, date formats, and the optional account_ids filter are fully documented in the schema. The description only implies date-range scoping and adds no syntax or semantics beyond that, which is the baseline case.

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 opens with a specific verb and resource ('Get a complete financial overview for a time period') and enumerates the returned totals (expense, income, transfer, net position), which separates it from single-entity siblings like get_account or get_transaction. It does not explicitly distinguish itself from the closest neighbor, get_budget_summary, so it falls 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?

Three concrete use cases (health check, monthly/yearly overview, dashboard data) tell the agent when this tool is appropriate. There is no explicit exclusion or named alternative for budget-specific or per-transaction questions, which is the main gap.

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