Skip to main content
Glama
theYahia

retailcrm-mcp

by theYahia

update_customer

Edit an existing customer's details such as name, email, phone, and address using ID or externalId. Only specified fields are updated and returns success.

Instructions

Edit an existing customer (name, email, phones, address) by id or externalId. Only the fields you pass are sent. Returns {success}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
byNoLookup fieldid
idYesCustomer ID or externalId to edit
siteNoSite (store) symbolic code. Required on create/edit when the API key is scoped to multiple sites (see list_sites).
emailNoUpdated email
phonesNoReplace phone numbers
last_nameNoUpdated last name
first_nameNoUpdated first name
patronymicNoUpdated patronymic
address_cityNoUpdated city
address_textNoUpdated full address text
address_regionNoUpdated region/state
Behavior2/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds 'Edit' (a write operation) and the return value '{success}', but does not disclose additional behaviors such as idempotency, authorization requirements, or side effects beyond the partial update characteristic.

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?

Two concise sentences. First sentence encapsulates purpose and identification method. Second covers partial update behavior and return value. No wasted words and front-loaded.

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 11 simple parameters and full schema coverage, the description is sufficient. However, it could mention that the customer must exist, or that some fields may be conditionally required based on site settings. No output schema, but return value is specified.

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?

With 100% schema description coverage, baseline is 3. The description adds value by noting that only passed fields are sent (partial update) and that identification can be by id or externalId, which informs the 'by' parameter usage beyond its schema description.

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 clearly states the verb 'Edit', the resource 'existing customer', and the identification method 'by id or externalId'. It lists the updatable fields (name, email, phones, address), which distinguishes it from customer creation or retrieval tools among siblings.

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 use when modifying an existing customer but does not explicitly state when to use this tool versus alternatives like create_customer or merge_customers. No exclusion or prerequisite conditions are provided.

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

Install Server

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/theYahia/retailcrm-mcp'

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