Skip to main content
Glama

Set manual series archived

figa_set_manual_series_archived
DestructiveIdempotent

Archive (archived: true) or restore (archived: false) an expense group. expectedRevision identifies the current group version; a mismatch returns MANUAL_SERIES_WRITE_CONFLICT. Archiving preserves the ID, defaults and all editable member expenses, while blocking new membership. Restoring reopens the same group with its previous members. An unchanged state is a no-op. No expenses or totals are created, deleted or changed. 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>",
      "archived": "<archived>",
      "expectedRevision": "<expectedRevision>"
    },
    "name": "figa_set_manual_series_archived"
  }
}

Input Schema

NameRequiredDescriptionDefault
archivedYestrue archives the group, false restores 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.
workspaceIdYesID of a workspace selected for this connection. Other workspaces are rejected.
expectedRevisionYesCurrent revision of the group, as returned by the group read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / archived / description
      Added value: +"true archives the group, false restores it."
    • addedInput schema / properties / expectedRevision / description
      Added value: +"Current revision of the group, as returned by the group read."
    • 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 / workspaceId / description
      Added value: +"ID of a workspace selected for this connection. Other workspaces are rejected."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare write/idempotent/destructive flags; the description adds substantive behavior: the ID, defaults and member expenses are preserved while new membership is blocked, restore reopens the same group with prior members, an unchanged state is a no-op, and a revision mismatch returns MANUAL_SERIES_WRITE_CONFLICT. It also documents the uncertain-outcome error codes (IDEMPOTENCY_OUTCOME_UNKNOWN, IDEMPOTENT_REQUEST_IN_PROGRESS, INTERNAL_SERVER_ERROR) and a 24-hour transport cache, which no annotation conveys.

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?

The core operation and its side-effect profile are front-loaded in the first three sentences, then the idempotency contract follows. The idempotency paragraph is dense and somewhat repetitive ('identical retries retain the same ID and payload' repeats the schema wording), which keeps it from a 5, but every sentence carries operational meaning.

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 five-required-parameter mutation with no output schema, the description covers side effects, conflict handling, idempotency and outcome uncertainty well. The remaining gap is the post-write result: it never indicates what is returned (e.g. the new revision or resulting state), which an agent must guess.

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; the description earns above baseline by giving runtime meaning to expectedRevision (mismatch yields MANUAL_SERIES_WRITE_CONFLICT) and to requestId (identical retries retain ID and payload, a new ID can duplicate an uncertain write). workspaceId and seriesId semantics are left entirely to 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?

Opens with a specific verb+resource pair and immediately disambiguates the boolean: 'Archive (archived: true) or restore (archived: false) an expense group.' It further separates the operation from deletion by stating 'No expenses or totals are created, deleted or changed', so an agent can distinguish it from destructive siblings like delete_expense or update_manual_series without opening a 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?

Gives a clear precondition ('This write requires explicit user intent') and precise retry branches: reuse the same requestId for identical retries, use a new ID only after a definite validation/business refusal, and treat uncertain outcomes as uncertain rather than failures. It does not name an alternative sibling (e.g. update_manual_series) or state when to prefer restore over other reactivation paths, so it falls short of full 5-level routing guidance.

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