Skip to main content
Glama

shopmonkey

Add an email to a customer

shopmonkey_add_customer_email
Destructive

Add an email address to an existing customer, optionally as their primary address. Shopmonkey: POST /v3/customer/:id/email.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailYesThe email address.
primaryNoMake this the customer's primary email.
customerIdYesThe customer id.
locationIdNoThe shop location id (see shopmonkey_get_current_user for the key's own location).
subscribedNoWhether the customer receives messages at this address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, yet the description never explains what is destructive—whether adding an email replaces an existing primary, how duplicates are handled, or whether permissions are required. It effectively only restates the operation and appends the REST endpoint, adding little behavioral context beyond the annotation.

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

Conciseness4/5

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

Two tight sentences with the core action front-loaded and no filler. The endpoint mapping is a compact extra rather than padding, though it contributes little to selection.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple add-email mutation with no output schema, the description covers the essential action, but it omits failure modes (duplicate address, missing customer), the meaning of the destructive annotation, and how primary/subscribed interact—gaps an agent would want before invoking.

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%, so all five parameters (email, primary, customerId, locationId, subscribed) are already documented in the schema, establishing a baseline of 3. The description echoes the primary/optional concept but adds no format, validation, or constraint detail beyond the schema.

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?

States a specific verb and resource ('Add an email address to an existing customer') and clarifies the optional primary-address scope. It is distinguishable from read siblings like find_customers_by_email, though it does not explicitly contrast with update_customer, which could also modify emails.

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

Usage Guidelines2/5

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

The description notes the 'optionally as their primary address' case but gives no when-to-use guidance, no prerequisites (e.g., the customer must already exist beyond the phrase 'existing customer'), and no direction toward alternatives such as update_customer.

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.