Skip to main content
Glama

Lightspeed Retail (X-Series) MCP by usefulapi

Update customer

lightspeedxseries_update_customer
DestructiveIdempotent

WRITE: change fields of an existing customer. Only the fields you pass change: the tool first reads the customer and sends the vendor its full record with your changes applied (the vendor's update is a full PUT). Cannot delete a customer or change balances. Lightspeed offers no partial update for customers, so a change made by someone else in the moments between the tool's read and its write can be overwritten. PUT /customers/{customer_id}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
emailNo
phoneNo
mobileNo
last_nameNoLast name.
first_nameNoFirst name.
customer_idYesCustomer id.
company_nameNo
do_not_emailNo
customer_codeNoUnique customer code (generated when omitted on create).
date_of_birthNo
physical_cityNo
enable_loyaltyNo
physical_stateNo
physical_suburbNo
customer_group_idNoCustomer group id (see list_customer_groups).
physical_postcodeNo
physical_address_1No
physical_address_2No
physical_country_idNoCountry code such as US, CA, AU.
enable_promotional_smsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the read-modify-write internals, that the vendor performs a full PUT, and the resulting lost-update race window. That is exactly the operational context an agent needs before mutating a customer, which the annotations alone (readOnly=false, destructive=true, idempotent=true) cannot convey.

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?

Front-loads the write/partial-update constraint, then adds the safety caveats and the endpoint tag in dense, waste-free sentences. Every clause adds actionable information.

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?

No output schema exists, and the description thoroughly covers mutation semantics and side effects, but it leaves return-value behavior and per-field meaning unaddressed for a 21-parameter tool. Mostly complete for correct invocation, with a minor gap on what comes back.

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?

With 21 parameters and only 29% schema description coverage, the description carries real weight by explaining the partial-update semantics (only supplied fields change, others preserved via the internal read). However, it says nothing about individual field meanings, formats, or the customer_group_id/customer_code references, leaving much of the parameter surface undocumented.

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?

Opens with an explicit 'WRITE: change fields of an existing customer', naming the verb, resource, and mutation class, plus the underlying endpoint PUT /customers/{customer_id}. This clearly distinguishes it from create_customer and get_customer siblings.

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?

Clearly frames this as a partial-field update where only passed fields change, and states what it cannot do (delete, change balances). It doesn't explicitly name sibling tools as alternatives (e.g., create_customer for new records), so it stops just short of full routing 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.