Skip to main content
Glama

List expense payments

figa_list_expense_payments
Read-onlyIdempotent

Read the payment records stored for one accessible expense: amount and currency, base-currency amount, payment date, method and notes, plus metadata with totalPaid, remainingAmount and paymentCount. Setting Paid or Unpaid creates no payment record, so an expense can be Paid with an empty list. A generated occurrence that was never saved has no records.

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>",
      "expenseId": "<expenseId>"
    },
    "name": "figa_list_expense_payments"
  }
}

Input Schema

NameRequiredDescriptionDefault
expenseIdYesExpense ID as returned by expense reads: a stored expense UUID or the ID of a generated occurrence of a recurring series.
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 / expenseId / description
      Added value: +"Expense ID as returned by expense reads: a stored expense UUID or the ID of a generated occurrence of a recurring series."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuinely non-obvious domain behavior: status changes do not create payment rows, so a Paid expense may legitimately return an empty list, and unsaved occurrences have no records at all. The field enumeration partially duplicates the output schema but the empty-result semantics do not.

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?

Three front-loaded sentences: capability first, then the two interpretation caveats. Effort is slightly diluted by the long mid-sentence field inventory that the output schema already covers, but nothing is redundant or padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read-only list with a full output schema and rich annotations, the description covers the remaining burden: what entity it reads, what records look like, and why the list may be empty. Nothing an agent needs to call it correctly or interpret a zero-length result is missing.

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 both parameters are required and documented in-schema, including the note that other workspaces are rejected. The description only echoes that scoping with the word 'accessible' and adds no format, ID-resolution, or edge-case guidance beyond the 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 clause names a specific verb and resource: 'Read the payment records stored for one accessible expense,' and enumerates the returned fields (amount, base-currency amount, payment date, method, notes, totals). This clearly separates it from expense-level reads like figa_get_expense, though it never names a sibling explicitly.

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?

There is no explicit 'use this instead of X' routing, but the description gives strong selection context: it is scoped to one expense's payment records and warns that Paid/Unpaid status produces no record and unsaved generated occurrences have none. An agent knows when an empty list is expected rather than an error.

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