Skip to main content
Glama

Caribooks (QuickBooks Online)

update credit card payment txn

update_credit_card_payment_txn
Destructive

Update an existing credit card payment txn in QuickBooks Online (requires Id and SyncToken).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entityYesFields to update. Must include Id and the current SyncToken (fetch the CreditCardPaymentTxn first). Do not send government identifiers (SSN or tax IDs), birth dates or card-processing details. Manage those fields directly in QuickBooks. Updates are sparse by default: only the fields sent change, and a Line array sent replaces all lines. Send sparse: false for a full update, which clears every writable field left out. A sparse update must also repeat Amount, BankAccountRef and CreditCardAccountRef, unchanged, or QuickBooks rejects it as missing.
companyNoWhich connected QuickBooks company to use (name, realm id, or connection id). Optional when only one company is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the agent knows this is a mutating and potentially destructive operation. The description adds that it targets an 'existing' txn and requires Id/SyncToken, but does not detail the sparse/full update behavior or sensitive-field restrictions (those live in the schema description, not the tool description).

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 a single sentence that immediately states the action, target, and a critical prerequisite. No redundant wording, and it avoids repeating information already present in the schema or annotations.

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?

Given the rich schema description and the annotations (readOnlyHint=false, destructiveHint=true), the brief description suffices as a high-level summary. It tells the agent what the tool does and the key requirement, while the schema covers all invocation details; no output schema exists, so return-value expectations are not required.

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

Parameters3/5

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

Schema description coverage is 100%, with the entity parameter thoroughly documented (required Id/SyncToken, sparse update semantics, prohibited fields). The tool description itself adds no parameter detail beyond the name and the Id/SyncToken mention, so the schema carries the semantic load.

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 description clearly states the action ('Update'), the specific resource ('existing credit card payment txn'), and a key prerequisite ('requires Id and SyncToken'), which distinguishes it from create_credit_card_payment_txn. It does not explicitly name sibling alternatives, but the verb and resource are unambiguous.

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

Usage Guidelines3/5

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

The description implies usage for modifying an already-existing txn by requiring Id and SyncToken, but it does not explicitly state when to choose this over create/delete/search variants. The schema adds prerequisites (fetch first), but the description itself offers no when-not-to-use 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