Skip to main content
Glama

Get bill

figa_get_bill
Read-onlyIdempotent

Read the bill context of an expense occurrence: amountMode, currency, amount, frequency, settings and revisions, plus the bill state (unknown, estimated or confirmed) with its period, forecast and previous-year comparison. Services retain their exact billing month and reject a different period.

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

Input Schema

NameRequiredDescriptionDefault
periodNoOptional bill period {start, end} as YYYY-MM-DD, to inspect an ordinary variable bill's forecast and comparable history for a proposed period without confirming it. Omit it for the occurrence's current period.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 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 / period / description
      Added value: +"Optional bill period {start, end} as YYYY-MM-DD, to inspect an ordinary variable bill's forecast and comparable history for a proposed period without confirming it. Omit it for the occurrence's current period."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior, but the description adds substantive context: it lists returned bill fields, states, period, forecast, and previous-year comparison. It also discloses a meaningful constraint that services retain their exact billing month and reject a different period. It does not cover error shapes or permissions, but that is less critical given the annotation coverage.

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

Conciseness5/5

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

The description is two tightly written sentences with the core purpose front-loaded. It then adds only the constraint and state information an agent needs to know. No wording is wasted.

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 read-only tool with no output schema, the description does well by enumerating the key returned fields and bill states. It does not fully describe the structure of nested settings or revisions, but it provides enough context for correct invocation. The annotation coverage fills in the safety profile.

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?

With schema description coverage at 100%, the schema already documents each parameter thoroughly. The description still adds meaning beyond the schema by explaining that services reject a different period and that the optional period is used to inspect a proposed period without confirming it. This is useful parameter-level context, though not exhaustive.

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: 'Read the bill context of an expense occurrence.' It then enumerates the core fields and states, making the tool's scope clear. It does not explicitly distinguish itself from siblings such as figa_preview_bill_forecast or figa_get_expense, 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 Guidelines3/5

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

The description implies usage by saying it reads bill context and that the optional period is for inspecting a variable bill's forecast 'without confirming it.' However, it gives no explicit when-to-use guidance relative to alternatives like figa_preview_bill_forecast or figa_confirm_bill. The guidance is present but must be inferred.

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