Skip to main content
Glama

Resolve reconciling item

resolve-reconciling-item
Destructive

Dispose of one reconciling item and clear its flag. Three treatments: 'restate' regenerates the event's entries from the accepted payload in place (prior months' figures change — right when nothing external binds them); 'catch_up' leaves history alone and posts the difference as an alignment entry in an open period, local-only so it cannot travel back to the source system and apply the change twice; 'acknowledge' records that the difference was handled elsewhere and clears the flag without touching the ledger (a note is required, and reference_event_id should name the entry that handled it: a standing entry on the item's books, other than the item, and not already counted for something else such as a catch-up or another settlement). An alignment entry authored by hand can name the items it settles in metadata.resolves_reconciling_items instead, each as {event_id, expected_drift_detected_at} carrying the preview's stamp, and each is acknowledged against it as it is recorded — an item left flagged would be caught up a second time. What an acknowledged entry booked counts toward the item's next change; voiding or reversing that entry, or a catch-up, flags the item again, and superseding it by a correction that books exactly the item's difference hands the settlement to the correction. An entry that settles a QuickBooks change has to stay local, as a catch-up does: create it with metadata.publish_to_source false, booking only the differences it settles; one that would publish or books more is refused, and so is a later patch setting it to publish. Omit disposition to take the default from preview-reconciling-item. Clearing the flag means the item stays cleared: the event's payload is set to the accepted one, so the next sync no longer sees a difference.

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": {
      "event_id": "<event_id>"
    },
    "name": "resolve-reconciling-item"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoWhy this disposition. Required for acknowledge, where it is the only record of what was done instead.
statusNocatch_up only: whether the catch-up entry is drafted for review at close (default) or posted immediately. A draft appears in list-period-drafts and posts locally when the period closes.draft
event_idYesEvent id (evt_ prefixed) to resolve
dispositionNoHow to dispose of the difference. Omit to take the default the preview reports: restate when every period the event touches is open, catch_up when any is closed.
posting_dateNocatch_up only: when to post the catch-up entry. Defaults to the end of the earliest open period.
reference_event_idNoacknowledge only: the event that already handled this difference (e.g. an alignment entry authored by hand), recorded on the trail.
expected_drift_detected_atNoThe `drift_detected_at` of the preview this resolution was decided on. Pass it: the resolution is refused when the item has been flagged again since, with a newer payload nobody has seen, and must be previewed again.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond destructiveHint=true, the description explains exactly what each treatment changes, when prior figures are regenerated, when entries stay local, and how voiding, reversing, or correcting an acknowledged entry re-flags the item. It also covers refusal cases and the final payload update that keeps the flag cleared.

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 purpose and default disposition are front-loaded, and the detail is generally justified by the complexity of the operation. However, the paragraph is dense and some clauses, especially the reference_event_id constraints, are hard to parse and could be structured more cleanly.

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 destructive, multi-parameter resolution tool with no output schema, the description covers the important consequences, defaults, refusal conditions, and interactions with corrections, catch-ups, and QuickBooks-local entries. It gives an agent enough context to invoke the tool correctly and avoid double-settling items.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, but the description adds substantial meaning: it explains disposition behavior, the note requirement for acknowledge, eligibility constraints for reference_event_id, and why expected_drift_detected_at must match the preview stamp. These details go well beyond the schema's field-level documentation.

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?

The description opens with a specific verb and resource: "Dispose of one reconciling item and clear its flag." It distinguishes this mutation from the preview sibling by naming preview-reconciling-item as the source of defaults and expected_drift_detected_at.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It lays out all three dispositions and the conditions that select them, including when restating changes prior months, when catch_up avoids touching history, and when acknowledge is appropriate. It also explains omitting disposition to inherit the preview's default and gives additional constraints for manually authored alignment entries.

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.