Skip to main content
Glama

vex_products

Manage Vendure products: list, fetch, create, update, delete, and add variants through one action-based tool for catalog administration.

Instructions

Manage Vendure products and their variants.

Actions:

  • list: List products with optional name filter (variant detail omitted; use get for it).

  • get: Get a single product by ID with variants, options, and facet values.

  • create: Create a new product.

  • update: Update an existing product.

  • delete: Delete a product by ID.

  • create_variants: Create variants for an existing product.

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_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoProduct ID
envNoTarget env name (default: VEX_ENV, else active).
nameNoNew product name
skipNoItems to skip (default 0).
slugNoNew slug
takeNoItems per page (default 20).
actionYesOperation to perform; see description for valid values.
enabledNoEnable or disable the product
variantsNoArray of variants to create
productIdNoProduct ID to create variants for
descriptionNoNew description
filterByNameNoFilter by product name (contains)
facetValueIdsNoFacet value IDs to assign

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior2/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 for a tool that includes delete, create and update. It does not say whether delete is irreversible or cascades to variants, what permissions are required, whether update is partial or full replacement, or how the env parameter affects the operation. Only the destructive implications of the action names themselves are conveyed.

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?

Front-loaded purpose sentence followed by a scannable per-action bullet list, with no filler. Every line conveys an operation or a routing constraint.

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?

For a 13-parameter multi-action tool with full schema coverage and no output schema, the action enumeration is the essential piece and it is present. Gaps remain around mutation safety and return values, but the core calling information is covered.

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 the baseline is 3. The description does add real value by implicitly partitioning the 13 flat parameters across actions (id for get/delete, filterByName for list, productId plus variants for create_variants), which the schema alone does not do; however it never explicitly documents that mapping or the pagination/env semantics.

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?

The description names a specific resource (Vendure products and variants) and enumerates six concrete operations, so the agent can tell this apart from siblings like vex_orders or vex_customers. It stops short of an explicit statement of scope boundaries versus those siblings, but the action list makes the tool's domain unambiguous.

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?

There is one genuinely useful routing hint: list omits variant detail and directs the agent to get for it. Otherwise the actions are only named, not explained — nothing says when to use create versus create_variants, that create_variants requires a pre-existing productId, or when a sibling tool would be the better choice.

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