Skip to main content
Glama

Get recurring summary

figa_get_recurring_summary
Read-onlyIdempotent

Analyze recurring expenses per series for a date range. rows has one entry per series with an occurrence in the range: name, schedule, category, recipient, observed and valued counts, first and last observation and whether amounts changed. future, overall and per row, projects those series from tomorrow through the same day next year (futureRange); rows and future exclude one-time expenses. planned covers every expense matching the filters, one-time included, dated in planned.range, and planned.kind sets that range: rest_of_year (tomorrow to 31 December, for a range already ended), after_today (tomorrow to the range end), paid_ahead (a range starting after today; only expenses already paid ahead) or no_future_days (no range, empty). Unknown and estimated amounts are counted separately, never as zero.

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_get_recurring_summary"
  }
}

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.
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."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

B3.4/5.0
Behavior4/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 goes further by disclosing computed behavior an agent could not infer: one-time expenses are excluded from future projections, planned.kind derives its window from the range position, and unknown/estimated amounts are never coerced to zero. It does not mention rate limits or cost of the analysis.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is front-loaded and efficient, but the remainder is a single comma-chained run-on that packs rows, future, planned and four planned.kind values into one breath. No filler words are present, yet the structure makes the return semantics hard to parse on first read.

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, the description does not need to enumerate return fields, and the extra explanation of projection windows and amount handling is genuinely additive. The one material gap is routing guidance against the many sibling summary/series tools, given this is the only recurring-specific aggregator in the set.

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 schema already documents range format, the 24-month cap, and filter semantics (alternatives within a filter, conjunction across filters, subcategory inclusion). The description adds nothing about workspaceId or scope, so it sits at the baseline for a fully documented schema.

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 opening sentence names a specific verb and resource ('Analyze recurring expenses per series') and scopes it to a date range, which is enough for an agent to tell it apart from generic summary tools. It stops short of naming or contrasting with a sibling such as figa_get_summary or figa_compare_periods, so the differentiation is implicit.

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?

The description explains internal semantics (what rows/future/planned contain) but never says when to call this instead of figa_get_summary, figa_list_series or figa_compare_periods. There are no stated preconditions or exclusions beyond the incidental note that one-time expenses are excluded from rows and future.

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