Skip to main content
Glama

Get summary

figa_get_summary
Read-onlyIdempotent

Summarize all expenses in a date range as totals rather than rows: the overall and recurring metrics (count, amounts, estimated and unknown counts, remaining to pay) and the paid, remaining and estimated shares, with a status for an empty workspace, range or filter. Plan restrictions apply and unknown amounts are counted, never treated as zero. Planned amounts (costParts planned*, future) also hold unpaid occurrences whose due window has not ended, in the month of their date, a past month included.

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_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

A3.6/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description discloses important calculation behavior: plan restrictions apply, unknown amounts are counted and never treated as zero, and planned amounts include unpaid occurrences whose due window has not ended. It also notes an empty-status case for an empty workspace, range, or filter.

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 main sentence is front-loaded but very dense, with long parenthetical clauses and run-on phrasing. The final sentence adds useful edge-case behavior, but the structure makes the description harder to parse than necessary.

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?

An output schema exists, so return values need not be fully restated, and the description still explains the summary categories, plan restrictions, unknown-amount handling, and planned-amount semantics. It is complete enough for a read-only summary tool with a fully described nested input schema.

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 the scope, date range, and filter semantics. The description adds little parameter-specific meaning beyond mentioning that an empty workspace, range, or filter produces a status.

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 states a specific verb and resource: summarize all expenses in a date range as totals rather than rows, and lists the metric families returned. It distinguishes itself from row-returning listing tools, but it does not explicitly distinguish itself from the recurring-summary sibling.

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 by 'as totals rather than rows', which suggests using this tool when aggregate figures are wanted instead of individual expenses. There is no explicit when-to-use or when-not-to-use guidance and no named alternative for comparison.

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