Skip to main content
Glama

vex_zones

Manage Vendure zones and their country or region members: create, update, delete zones, add or remove members, and list or create countries for shipping and tax coverage.

Instructions

Manage Vendure zones and their country/region members.

Actions:

  • list: List zones with optional pagination.

  • get: Get a single zone by ID with its country/region members.

  • create: Create a new zone, optionally assigning members immediately.

  • update: Update an existing zone.

  • delete: Delete a zone by ID.

  • add_members: Add countries/regions to an existing zone.

  • remove_members: Remove countries/regions from an existing zone.

  • create_country: Create a new country/region.

  • list_countries: List available countries/regions with optional pagination.

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

Input Schema

NameRequiredDescriptionDefault
idNoZone ID
envNoTarget env name (default: VEX_ENV, else active).
codeNoISO country code (e.g. 'IN', 'US', 'GB')
nameNoCountry name (e.g. 'India', 'United States')
skipNoItems to skip (default 0).
takeNoItems per page (default 20).
actionYesOperation to perform; see description for valid values.
zoneIdNoZone ID
enabledNoWhether the country is enabled (default: true)
memberIdsNoCountry/region IDs to remove

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 supplied, so the description carries the full behavioral burden, yet it says nothing about consequences of the mutating actions: whether delete cascades or fails when a zone is referenced by tax rates/shipping methods, whether add_members/remove_members are idempotent, what permissions or env switching (env param) entail, or what any action returns. Only the incidental detail that create can assign members immediately is disclosed.

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 purpose sentence followed by a scannable bullet per action with zero preamble waste. A few bullets are pure restatements of the enum ('update: Update an existing zone'), and the list duplicates the action enum, so it is slightly padded but still well structured.

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

Completeness3/5

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

For a 10-parameter, 9-action dispatcher with no annotations and no output schema, the description covers what each action does but not which parameters each action requires or accepts, nor what list/get return. It is adequate to start a call but leaves real gaps for a multi-operation tool of this complexity.

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 adds a little action-to-parameter mapping ('create ... optionally assigning members immediately'), but it never disambiguates the two identically described 'Zone ID' parameters (id vs zoneId), nor which of skip/take, memberIds, code, name, enabled applies to which action.

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 opening sentence names a specific verb and resource ('Manage Vendure zones and their country/region members'), then enumerates all nine actions with a one-line gloss for each. An agent can distinguish this from vex_tax or vex_channels purely on the resource noun, without opening the schema.

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 action list implies which operation to pick for a given goal, but there is no explicit when-to-use guidance, no prerequisites (e.g. that add_members/remove_members require an existing zone ID obtained from list), and no mention of the sibling generic tools (vex_query, vex_mutate) that could otherwise be used. Usage is inferable rather than stated.

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