Skip to main content
Glama

vex_customers

Manage Vendure customer data by listing, retrieving, creating, updating, deleting customers, and adding notes, with filters by name or email.

Instructions

Manage Vendure customers.

Actions:

  • list: List customers with optional filters.

  • get: Get a single customer by ID with full details.

  • create: Create a new customer.

  • update: Update an existing customer.

  • delete: Delete a customer by ID.

  • add_note: Add a note to a customer.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "vex_customers"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoCustomer ID
envNoTarget env name (default: VEX_ENV, else active).
noteNoNote content
skipNoItems to skip (default 0).
takeNoItems per page (default 20).
titleNoTitle (Mr, Mrs, etc.)
actionYesOperation to perform; see description for valid values.
isPublicNoWhether the note is public (default: false)
lastNameNoNew last name
firstNameNoNew first name
phoneNumberNoNew phone number
emailAddressNoNew email address
filterByNameNoFilter by first or last name (contains)
filterByEmailNoFilter by email (contains)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not disclose that delete is destructive or irreversible, whether deletes cascade to orders, what permissions are required, pagination defaults, or what any action returns; only 'with full details' hints at response shape.

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?

Front-loaded one-line purpose followed by a scannable action bullet list; no filler sentences. Slightly terse given the tool's complexity, but every sentence earns its place.

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?

For a 6-action, 14-parameter mutation-capable tool with no annotations and no output schema, the description omits which parameters each action requires or honors (e.g. id for get/delete, emailAddress/firstName for create, note/isPublic for add_note). The agent must infer per-action parameter applicability entirely from the flat schema.

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%, with every one of the 14 parameters documented inline (including defaults for skip, take, isPublic, env). The description adds no parameter-level meaning beyond the action enum, so the baseline 3 applies.

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 resource (Vendure customers) and enumerates six concrete operations (list, get, create, update, delete, add_note), so the agent knows exactly the surface area. It does not explicitly contrast with siblings such as vex_orders or vex_query, but the resource naming makes the boundary reasonably inferable.

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?

Each action gets a one-line gloss ('get: Get a single customer by ID with full details'), which implicitly routes the agent between list/get/create/update/delete. However, there is no guidance on when to prefer this tool over a generic sibling like vex_query or vex_mutate, and no prerequisites or exclusions are stated.

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