Skip to main content
Glama
YawLabs

@yawlabs/lemonsqueezy-mcp

by YawLabs

ls_update_customer

DestructiveIdempotent

Update a customer's name, email, city, region, country, or archive their account by specifying the customer ID and new values.

Instructions

Update an existing customer's name, email, city, region, country, or status. The only supported status value is 'archived'; setting it here is the same operation as ls_archive_customer and is treated as destructive (rate-limited and audited). Other field edits are not.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoNew city
nameNoNew name
emailNoNew email
regionNoNew region/state
statusNoSet to 'archived' to archive the customer. Equivalent to calling ls_archive_customer.
countryNoNew country (ISO 3166-1 alpha-2 code)
customerIdYesThe customer ID to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.2
    • changedInput schema / properties / email / pattern
      Previous value: -"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"New value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  2. First observedv0.10.10

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint and readOnlyHint, but the description adds valuable nuance: only the status='archived' path is destructive, and that path is rate-limited and audited. It also states that other field edits are not destructive, which goes beyond the tool-level annotation. This is good behavioral context.

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?

The description is three short sentences with the primary purpose front-loaded and the critical destructive-context caveat following immediately. There is no filler, repetition, or extraneous detail.

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?

Together with the rich schema and annotations, the description covers what the tool updates, the special status behavior, and the destructive implications. It does not describe the return value or error behavior, and partial-update semantics are only implied by openWorldHint, but nothing essential for selecting and invoking the tool is missing.

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 every parameter already has a meaningful description in the schema. The description repeats the status/archive equivalence but adds no new format, constraint, or behavior details beyond the schema. Baseline 3 is appropriate.

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 opens with a specific verb and resource: 'Update an existing customer's name, email, city, region, country, or status.' Saying 'existing' distinguishes it from creation tools, and the status/archive mention explicitly relates it to ls_archive_customer. An agent can immediately tell what this tool does.

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?

The description names ls_archive_customer as an equivalent for the status field and clarifies that other field edits are not destructive. This gives clear context for choosing between a normal update and an archive operation. It stops short of an explicit preference like 'use ls_archive_customer for archive-only requests,' but the guidance is strong.

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