Skip to main content
Glama

Cancel series pause

figa_cancel_series_pause
DestructiveIdempotent

Cancel a future series pause by pauseId, restoring its scheduled occurrences. Only a pause that has not started can be canceled. Requires a reviewed preview with its exact previewToken, revision and parameters. excludePlanIds contains only explicitly selected unprotected stored plans eligible in that preview; [] preserves all documents. 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>",
      "expenseId": "<expenseId>",
      "revision": "<revision>",
      "parameters": "<parameters>",
      "requestId": "<requestId>",
      "previewToken": "<previewToken>",
      "excludePlanIds": "<excludePlanIds>"
    },
    "name": "figa_cancel_series_pause"
  }
}

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.
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.
parametersYespauseId of the pause to cancel.
workspaceIdYesID of a workspace selected for this connection. Other workspaces are rejected.
previewTokenYespreviewToken returned by the reviewed preview of this exact change.
excludePlanIdsYesStored plan IDs from that preview to remove (at most 500); [] keeps every stored document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / excludePlanIds / description
      Added value: +"Stored plan IDs from that preview to remove (at most 500); [] keeps every stored document."
    • 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: +"pauseId of the pause to cancel."
    • addedInput schema / properties / previewToken / description
      Added value: +"previewToken returned by the reviewed preview of this exact change."
    • 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 / 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.2/5.0
Behavior5/5

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

Annotations only say it is mutating, destructive and idempotent; the description goes well beyond by enumerating concrete uncertain-outcome codes, the rule that a retry must reuse ID and payload while corrected inputs are a new operation, and a 24-hour response-cache window. That is exactly the operational context an agent needs before retrying a destructive write.

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?

Preconditions are front-loaded ahead of the idempotency block, and nearly every sentence carries operational weight. The closing line 'longer replay guarantees are stated above' is self-referential and slightly muddy, and the idempotency material repeats itself around uncertain outcomes, costing it the top score.

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 destructive 7-parameter write with no output schema, the description covers the gating flow, the eligibility constraint on excludePlanIds, and retry semantics thoroughly. It does not describe the resulting response or state what happens to occurrences that were already skipped before cancellation, which is a modest remaining gap.

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 cross-parameter meaning the schema cannot express: previewToken, revision and parameters must come from the same reviewed preview, and excludePlanIds may only list unprotected stored plans eligible in that preview. The empty-array behavior is largely a restatement of the schema text.

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 first sentence names a specific verb and resource ('Cancel a future series pause by pauseId') and adds the effect ('restoring its scheduled occurrences'), which is far more than a restated title. It implicitly routes to the preview sibling ('Requires a reviewed preview with its exact previewToken'), though it never names it, keeping it just 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 Guidelines4/5

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

Explicit preconditions are given: only an unstarted pause is cancellable, a reviewed preview plus matching revision/parameters/previewToken is mandatory, and explicit user intent is required. It stops short of naming the concrete alternative (figa_preview_series_cancel_pause) as the prerequisite step, so the routing is implied rather than stated.

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