Skip to main content
Glama

woo_update_customer

Update a WooCommerce customer's email, name, billing, and shipping details using the customer ID and site.

Instructions

Update a customer

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesCustomer ID
siteYesSite id (see list_sites)
emailNo
billingNo
shippingNo
last_nameNo
first_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv3.4.0
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "site",
      +  "id"
      +]
  2. First observedv2.0.0

TDQS

D1.8/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses nothing. It does not state required permissions, whether omitted fields are cleared or preserved, whether the update is reversible, or that a site and customer id are mandatory. For a mutation tool this is a critical gap.

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

Conciseness2/5

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

Three words are technically concise, but this is under-specification rather than conciseness. There is nothing to front-load and no useful structure.

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

Completeness1/5

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

A seven-parameter mutation tool with nested billing/shipping objects, no annotations, and no output schema demands far more than a three-word description. An agent cannot determine required arguments, update semantics, or side effects.

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

Parameters1/5

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

Schema description coverage is only 29%, with five parameters (email, billing, shipping, first_name, last_name) undocumented, and two of them are nested objects. The description adds zero parameter meaning, so it fails to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a verb (Update) and resource (customer), so the basic operation is identifiable. However, it gives no scope: which fields are updatable, whether it is a partial or full update, or how it differs from siblings like woo_create_customer or woo_get_customer. It is adequate but vague.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as woo_create_customer for new customers or woo_get_customer for reads. The only hint is the verb 'Update' itself, which the agent must infer from the name.

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

Deploy Server

Other Tools