Skip to main content
Glama

Resolve register diff gap

well_resolve_register_diff_gap

Post a well_run_register_diff gap (one of missing_in_register_ids' review tasks) into QuickBooks as a Purchase or Deposit.

Requires the exact ledger_account_id (a UUID, not a name) for both:

  • bank_ledger_account_id: the bank/cash account the money moved through (e.g. Checking).

  • category_ledger_account_id: the expense or income category the gap books against.

Look these up first with well_query_records({ root: "ledger_accounts", filters: [...] }) scoped to the register connector — never guess an id or match an account by substring/fuzzy name.

Fails with an error (not a silent no-op) if gap posting is disabled for this workspace, if either account doesn't belong to this gap's register connector, or if either account no longer resolves in QuickBooks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesThe gap review task's task_id.
workspace_idNoTarget workspace. Omit when the token authorizes one workspace. Required when it authorizes several — a write lands in exactly one workspace and this call would not say which.
idempotency_keyNoOptional client-supplied key. A retried write with the same key returns the original result instead of re-applying the operation.
bank_ledger_account_idYesledger_account_id of the bank/cash account.
category_ledger_account_idYesledger_account_id of the category account.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
successYes
task_idNo
external_idNo
already_postedNo

TDQS

A4.5/5.0
Behavior4/5

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

Annotations only provide readOnlyHint=false and destructiveHint=false, so the description carries the burden of explaining behavior. It does so well by stating that the operation fails with an error rather than silently no-op'ing when gap posting is disabled, accounts don't belong to the connector, or accounts no longer resolve in QuickBooks. It stops short of describing post-success state changes, but the failure semantics are a meaningful addition.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-organized: purpose first, then requirements, then lookup instructions, then failure conditions. Every sentence earns its place, and the structure front-loads the most decision-relevant information.

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 write operation that depends on external QuickBooks resolution and workspace/account scoping, the description covers prerequisites, lookup procedure, validation constraints, and failure modes. The presence of an output schema means return values are documented elsewhere, so nothing essential is missing for an agent to invoke this correctly.

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 adds value by explaining that bank_ledger_account_id and category_ledger_account_id must be UUIDs (not names), must be exact, and must belong to the gap's register connector. This goes beyond the terse schema descriptions and materially reduces misuse risk.

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: 'Post a well_run_register_diff gap ... into QuickBooks as a Purchase or Deposit.' This clearly identifies the action, the target system, and the record type. It also distinguishes itself from likely siblings like well_run_register_diff by framing this as the follow-up resolution step for a gap.

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?

The description gives explicit usage prerequisites: both ledger account IDs must be exact UUIDs and must be looked up first via well_query_records scoped to the register connector, with a warning never to guess or fuzzy-match. It could add an explicit 'use this when...' contrast with well_resolve_reconciliation_task, but the lookup-first guidance and failure preconditions provide strong practical direction.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: CRUD for companies, people, and invoices; financial analytics (cash, cost, runway, holdings); connector management and invocation; schema discovery; querying; reconciliation; and contact channel management. No two tools could be confused for the same action.

Naming Consistency5/5

All tools follow the `well_verb_noun` pattern with consistent verb choices (create, get, list, update, delete, add, remove, run, resolve, query, invoke). The naming is predictable and makes the tool's purpose immediately clear.

Tool Count4/5

With 26 tools, the set is slightly above the ideal 3-15 range, but every tool earns its place given the breadth of the domain (CRM, invoicing, financial analytics, reconciliation, connector management). The count is well-scoped and not excessive.

Completeness4/5

The tool surface covers core CRUD, financial KPIs, reconciliation, and connector management. Minor gaps exist (e.g., no direct tool to update contact channels or manage accounts), but the query and schema tools allow agents to work around them, and the primary workflows are fully supported.

Resources