Skip to main content
Glama

Show expenses

figa_show_expenses
Read-onlyIdempotent

Show a paginated expense list with totals for the full selected date range, spanning at most 24 calendar months. Includes plan restrictions and unknown valuations. Supports an interactive view in MCP Apps clients; the same data is returned as text and structured JSON to other clients. Amounts are minor units in the stated currency; dates are ISO calendar dates. seriesId identifies the recurring template/version, not the expense. A due-window row adds dueBy (last day) and windowStart (first day); a Paid row uses its payment day.

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": {
      "workspaceId": "<workspaceId>",
      "scope": "<scope>"
    },
    "name": "figa_show_expenses"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopeYesDate range {start, end} as YYYY-MM-DD, at most 24 calendar months, with optional filters {categoryIds, tagIds, recipientIds}: IDs within one filter are alternatives, different filters must all match, and a category includes its subcategories. Optional selector narrows the rows; page (from 1), pageSize (10, 25 or 50, default 25), sort (date, amount or name, default date) and direction (default desc) control the list.
workspaceIdYesID of a workspace selected for this connection. Other workspaces are rejected.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
messageYes
successYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / scope / description
      Added value: +"Date range {start, end} as YYYY-MM-DD, at most 24 calendar months, with optional filters {categoryIds, tagIds, recipientIds}: IDs within one filter are alternatives, different filters must all match, and a category includes its subcategories. Optional selector narrows the rows; page (from 1), pageSize (10, 25 or 50, default 25), sort (date, amount or name, default date) and direction (default desc) control the list."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description correctly spends its text elsewhere: the 24-month range cap, totals spanning the full range rather than the page, the MCP Apps interactive view versus text/JSON payloads, and row-shape differences for due-window and Paid rows. It stops short of covering error behavior or what happens at the range boundary, which is the only real gap.

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 purpose and range cap are front-loaded in the first sentence, and each following sentence carries a distinct fact (client rendering, units, seriesId, row fields). It is dense but not padded; the MCP Apps sentence is the weakest, though it still tells the agent the payload shape varies by client.

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?

For a two-parameter but deeply nested read tool with an output schema, the description supplies what structured fields cannot: units, date format, the range ceiling, seriesId semantics, and per-row date semantics. The only missing piece an agent would want is a one-line contrast with figa_list_expenses to complete the routing decision.

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; the description earns an extra point by resolving a genuinely ambiguous field — "seriesId identifies the recurring template/version, not the expense" — and by fixing units and formats (minor units in the stated currency, ISO calendar dates). It does not explain the selector sub-objects (financial, recurring, unknownOnly), which the schema leaves undocumented.

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?

"Show a paginated expense list with totals for the full selected date range" states a specific verb and resource plus a distinguishing trait (totals over the whole range, not just the page). It does not distinguish itself from the sibling figa_list_expenses, so an agent cannot tell which list tool to pick from this text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no alternative is named, despite figa_list_expenses and figa_list_manual_series_expenses sitting alongside it. The 24-month cap and pagination notes are constraints on how to call it, not guidance on when to choose it.

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