Skip to main content
Glama

Update manual series

figa_update_manual_series
DestructiveIdempotent

Change an expense group: name or defaults for future expenses (category, recipient, tags, currency). expectedRevision identifies the current group version; a mismatch returns MANUAL_SERIES_WRITE_CONFLICT without saving. Omitted fields are preserved; categoryInput/recipientInput null clears the default, tagInputs [] clears tags, and name/currency cannot be cleared. References accept accessible IDs or local drafts created atomically with the edit. Defaults populate future expense forms and never modify existing member expenses or totals. An archived group remains archived after editing. This write requires explicit user intent. A UUID requestId identifies one intended operation; identical retries retain the same ID and payload. A missing response or IDEMPOTENCY_OUTCOME_UNKNOWN, IDEMPOTENT_REQUEST_IN_PROGRESS or INTERNAL_SERVER_ERROR leaves the outcome uncertain, not a confirmed failure. A new ID can duplicate an uncertain write. Corrected inputs after a definite validation or business refusal constitute a new operation. The transport response cache lasts 24 hours; longer replay guarantees are stated above.

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>",
      "requestId": "<requestId>",
      "seriesId": "<seriesId>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "figa_update_manual_series"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew group name, 1-200 characters; omitted keeps it.
currencyNoDefault currency, one of the supported currency codes; omitted keeps it.
seriesIdYesID of the expense group.
requestIdYesCaller-generated UUID identifying this one intended write. A retry of the same write reuses the ID and payload; the same ID with different input returns IDEMPOTENCY_KEY_MISMATCH.
tagInputsNoDefault tags, at most 50: accessible tag IDs or drafts {name}. [] clears them; omitted keeps them.
workspaceIdYesID of a workspace selected for this connection. Other workspaces are rejected.
categoryInputNoDefault category: an accessible category ID, a category name, or a local draft {name, parentId or parentName}. null clears it; omitted keeps it.
recipientInputNoDefault recipient: an accessible recipient ID, or a name that reuses a matching recipient or creates one. null clears it; omitted keeps it.
expectedRevisionYesCurrent revision of the group, as returned by the group read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / categoryInput / description
      Added value: +"Default category: an accessible category ID, a category name, or a local draft {name, parentId or parentName}. null clears it; omitted keeps it."
    • addedInput schema / properties / currency / description
      Added value: +"Default currency, one of the supported currency codes; omitted keeps it."
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Current revision of the group, as returned by the group read."
    • addedInput schema / properties / name / description
      Added value: +"New group name, 1-200 characters; omitted keeps it."
    • addedInput schema / properties / recipientInput / description
      Added value: +"Default recipient: an accessible recipient ID, or a name that reuses a matching recipient or creates one. null clears it; omitted keeps it."
    • addedInput schema / properties / requestId / description
      Added value: +"Caller-generated UUID identifying this one intended write. A retry of the same write reuses the ID and payload; the same ID with different input returns IDEMPOTENCY_KEY_MISMATCH."
    • addedInput schema / properties / seriesId / description
      Added value: +"ID of the expense group."
    • addedInput schema / properties / tagInputs / description
      Added value: +"Default tags, at most 50: accessible tag IDs or drafts {name}. [] clears them; omitted keeps them."
    • addedInput schema / properties / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint/idempotentHint, and the description goes well beyond them: conflict returns MANUAL_SERIES_WRITE_CONFLICT without saving, omitted fields are preserved, null clears category/recipient while name/currency cannot be cleared, archived state is retained, and defaults never alter existing expenses or totals. It also discloses the uncertain-outcome error codes and the 24-hour transport cache, which is exactly the behavioral context the annotations cannot convey.

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 change surface and the revision-conflict rule, then edge cases and idempotency in a logical order; nearly every sentence earns its place. The closing cache sentence ("longer replay guarantees are stated above") is slightly awkward and self-referential, costing a point.

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 9-parameter, non-read-only mutation with no output schema, the definition covers conflict handling, null-vs-omitted semantics, side-effect boundaries, and idempotency/uncertain-outcome behavior. Nothing an agent needs to invoke it safely and correctly 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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: name/currency cannot be cleared, tagInputs [] clears tags while omission preserves them, and references accept accessible IDs or local drafts created atomically with the edit. Only the expectedRevision mismatch semantics are partly duplicated by the schema.

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?

"Change an expense group: name or defaults for future expenses (category, recipient, tags, currency)" states a specific verb, resource, and the exact editable surface, and the clarifying line that defaults never touch existing member expenses or totals cleanly separates it from figa_update_expense. An agent can identify the tool and its scope without opening the schema.

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?

It gives a clear when-to-use constraint ("This write requires explicit user intent") and precise retry guidance, including that a new requestId can duplicate an uncertain write and that corrected inputs after a definite refusal are a new operation. It does not name sibling alternatives explicitly (e.g., set_manual_series_archived for archival), leaving that routing to inference.

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