Skip to main content
Glama

Upsert customer

upsert_customer
DestructiveIdempotent

[demo: deshabilitada] Creates a new customer or updates an existing one for the authenticated business.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoCustomer city or locality (optional).
nameNoCustomer display name.
emailNoCustomer email address (optional).
phoneNoCustomer phone number.
addressNoCustomer street address (optional).
customerIdNoWhen provided, updates the customer with this id.
postalCodeNoCustomer postal code (optional).

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already indicate idempotentHint=true and destructiveHint=true, and the description adds little beyond that. It does not explain the upsert mechanism (e.g., how customerId triggers update vs create) or any side effects. The '[demo: deshabilitada]' prefix is not elaborated, adding no behavioral clarity.

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?

The description is a single sentence and mostly to the point, but the leading '[demo: deshabilitada]' flag is extraneous and may confuse. It still earns a 4 for brevity, though the flag undermines conciseness slightly.

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

Completeness2/5

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

With 7 parameters, no output schema, and a mutation operation, the description is too minimal. It fails to mention the critical behavior that omitting customerId creates a new customer while providing it updates an existing one. This information is only in the schema, and the description does not integrate it, leaving a significant gap in completeness.

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 covers 100% of parameters with descriptions, so the schema already documents each field. The description does not add additional parameter semantics, so it stays at the baseline for full schema coverage.

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 tool's action ('Creates a new customer or updates an existing one') and its resource ('customer'). This distinguishes it from siblings like delete_customer and find_customer, and includes the scope 'for the authenticated business'.

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 usage for creating or updating a customer, but does not explicitly mention alternatives or when-not-to-use. It lacks guidance on when to prefer find_customer or delete_customer, leaving usage to be inferred from the verb 'upsert'.

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.

TDQS

B3.1/5.0
Disambiguation2/5

Multiple tools have overlapping purposes, such as caja_registrar_movimiento vs register_movement, get_payment_intent_status vs open_cobro_status, and adjust_stock vs stock_load. The distinctions are not immediately clear from names/descriptions, causing a high risk of misselection.

Naming Consistency2/5

Naming is inconsistent: mixes English and Spanish (caja_*, emit_invoice, send_whatsapp_*), and uses different patterns (open_*, get_*, query_*, list_*, etc.). Some names like stock_load and bulk_price_update don't follow a clear verb_noun convention.

Tool Count2/5

50 tools is excessive for most contexts, even for a broad ERP-like domain. Many are UI widgets (open_*) that add clutter and could be consolidated, making the tool set feel heavy and harder to navigate.

Completeness3/5

The tool set covers many core business functions (products, suppliers, customers, sales, invoicing, shipping, cash register, payments, integrations). However, there are noticeable gaps: purchase requests have only create (no list/update/delete), shipments cannot be updated/cancelled, and sales lack direct update/query by ID.