Skip to main content
Glama
amin-ale

QuickBooks Online MCP Server

by amin-ale

Update customer

update_customer
Destructive

Update an existing QuickBooks customer's contact info, addresses, or display name using the customer ID and a fresh SyncToken. Sparse update leaves other fields unchanged.

Instructions

Update an existing customer. Use it to correct contact details, addresses, or the display name. Write operation that overwrites the fields you supply on the live record and leaves omitted fields unchanged, so it is a sparse update rather than a replacement. Not idempotent: a successful write increments the SyncToken, so the same call cannot be replayed. Requires the Id plus the SyncToken from a fresh get_customer; a stale token fails with error 5010.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
customerYesFields to change. display_name is required on this payload, so resend the current name unless you intend to rename the customer.
sync_tokenYesSyncToken from a fresh get_customer call for this Id. QuickBooks rejects a stale token with error 5010, so re-read the customer instead of reusing an older token.
customer_idYesQuickBooks Customer Id, as returned by search_customers, list_customers, or create_customer. This is the numeric Id string, not the display name.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
customerNo
Install Server

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=true, idempotentHint=false), it explains that fields supplied are overwritten while omitted fields stay unchanged, that a successful write increments the SyncToken, and that stale tokens fail with error 5010. This gives materially useful operational detail that the annotations alone do not convey; no contradiction.

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?

Every sentence earns its place: purpose, use cases, write semantics, non-idempotence, and the token precondition are all stated with minimal redundancy. The most decision-relevant information is front-loaded in the first two sentences.

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?

Given the 3-parameter shape, a nested customer payload, an output schema, and rich annotations, nothing an agent needs to invoke the tool correctly is missing: it knows the update semantics, the required prerequisite token, the error mode, and the resource. Return values are already covered by the output schema.

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% and the schema already documents customer_id, sync_token, and the customer object, so the baseline is a 3. The description adds value by defining the payload as a sparse patch ('leaves omitted fields unchanged') and reinforcing that the sync_token must come from a fresh get_customer, which clarifies how to use the required parameters beyond their individual field docs.

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?

Description opens with a direct verb+object ('Update an existing customer') and names exact use cases ('correct contact details, addresses, or the display name'). It further distinguishes itself as a sparse update rather than a replacement, which differentiates it from create/delete and from a hypothetical full overwrite.

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?

It explicitly frames when to use the tool ('Use it to correct...') and requires 'Id plus the SyncToken from a fresh get_customer', effectively pairing it with a read step. It stops short of naming explicit exclusions such as 'use create_customer for new records' or 'use delete_customer for removal', though 'existing customer' and sparse-update wording make those boundaries clear.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/amin-ale/mcp-quickbooks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server