Skip to main content
Glama

Preview variable bills

figa_preview_variable_bills
Read-onlyIdempotent

Preview converting an active fixed recurring series to variable bills without saving. Returns a previewToken and affected stored occurrences; paid documents in that range block conversion.

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>",
      "settings": "<settings>"
    },
    "name": "figa_preview_variable_bills"
  }
}

Input Schema

NameRequiredDescriptionDefault
settingsYesfrom: canonical scheduled timestamp (Unix seconds) of the first occurrence to convert; startAmount: starting estimate in minor units, or null.
expenseIdYesTemplate ID of the recurring series: a template version ID or its canonical root ID. Occurrence IDs and virtual aliases are rejected.
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: +"Template ID of the recurring series: a template version ID or its canonical root ID. Occurrence IDs and virtual aliases are rejected."
    • addedInput schema / properties / settings / description
      Added value: +"from: canonical scheduled timestamp (Unix seconds) of the first occurrence to convert; startAmount: starting estimate in minor units, or null."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description still adds real value beyond them by stating what is returned ('a previewToken and affected stored occurrences') and by disclosing a failure mode ('paid documents in that range block conversion'), which an agent cannot infer from the annotations.

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?

Two sentences, no filler: the first states the operation and its non-persistent nature, the second states the return values and the blocking condition. Everything is front-loaded and each clause carries distinct information.

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 annotations covering the safety profile and a fully described schema, the description is nearly complete: it explains the dry-run behavior, the token-style return, and the paid-document precondition. It could be slightly stronger by explicitly pointing at the follow-up conversion tool that consumes the previewToken, but nothing essential for a correct call 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 the nested settings object already documents 'from' as the canonical scheduled timestamp and 'startAmount' as a minor-unit estimate, so the schema carries the parameter burden. The description adds no parameter-level meaning beyond what the schema provides, making the baseline 3 appropriate.

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 names a specific verb and resource: 'Preview converting an active fixed recurring series to variable bills without saving.' The 'without saving' clause implicitly separates it from the actual conversion/enablement operation among the siblings, but it never names figa_enable_variable_bills or another preview tool to make the distinction explicit.

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 the use case (dry-run before converting a fixed series into variable bills) and notes the blocking precondition of paid documents, but gives no explicit when-to-use/when-not-to-use guidance and never identifies which sibling performs the real conversion or which preview tool to use for other scenarios.

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