Skip to main content
Glama

Preview series end

figa_preview_series_end
Read-onlyIdempotent

Preview only, without saving: Permanently end a recurring expense series after the inclusive lastDate, expressed as Unix seconds in the series timezone. An ended series cannot be resumed. Existing documents are preserved unless eligible stored plans are explicitly excluded. Requires the current series revision and, where applicable, pause ID. Returns effects, conflicts and a previewToken bound to the revision and parameters. Stored documents and payments are preserved by default.

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>",
      "revision": "<revision>",
      "parameters": "<parameters>"
    },
    "name": "figa_preview_series_end"
  }
}

Input Schema

NameRequiredDescriptionDefault
revisionYesCurrent lifecycle revision of the series, as returned by the series read.
expenseIdYesTemplate ID of the recurring series: a template version ID or its canonical root ID. Occurrence IDs and virtual aliases are rejected.
parametersYeslastDate: last included date of the series, in Unix seconds.
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. Changed4 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 / parameters / description
      Added value: +"lastDate: last included date of the series, in Unix seconds."
    • addedInput schema / properties / revision / description
      Added value: +"Current lifecycle revision of the series, as returned by the series read."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotent/non-destructive, and the description reinforces that with 'Preview only, without saving' rather than contradicting it. It adds real context beyond annotations: the underlying end is irreversible ('An ended series cannot be resumed'), documents and payments are preserved by default, and the token is bound to revision and parameters. It does not explain token lifetime or what a conflict entails.

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?

Front-loaded with the preview qualifier and the core action, then prerequisites and return shape. The closing sentence 'Stored documents and payments are preserved by default' largely restates the earlier preservation clause, costing a little density.

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 preview mutation with four required parameters, a nested parameters object, and an output schema, the description covers the dry-run guarantee, irreversibility, prerequisites, preservation semantics, and return contents. Nothing essential to correct invocation is missing.

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 coverage at 100%, the description still adds meaning: lastDate is inclusive, interpreted in the series timezone, and revision must be the current lifecycle revision. Minor friction: it mentions a 'pause ID' that does not appear in the input schema, which could mislead an agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Permanently end a recurring expense series') immediately qualified by scope ('Preview only, without saving'), which cleanly separates it from the sibling mutation figa_end_series. The inclusive lastDate boundary is named inline.

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?

'Preview only, without saving' plus 'Returns ... a previewToken bound to the revision and parameters' makes the use case (dry-run before committing) clear. It does not explicitly name figa_end_series as the commit step or state when a preview is unnecessary, so the routing is implied rather than spelled out.

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