Skip to main content
Glama

vex_tax

Create, list, update, and delete Vendure tax categories and tax rates, linking categories to zones with percentage values via an MCP server.

Instructions

Manage Vendure tax categories and tax rates.

Actions:

  • list_categories: List tax categories.

  • get_category: Get a tax category by ID.

  • create_category: Create a new tax category (e.g. 'Standard', 'Reduced', 'Zero-rated').

  • delete_category: Delete a tax category by ID.

  • list_rates: List tax rates.

  • get_rate: Get a tax rate by ID.

  • create_rate: Create a new tax rate linking a tax category to a zone with a percentage value.

  • update_rate: Update an existing tax rate.

  • delete_rate: Delete a tax rate by ID.

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

Input Schema

NameRequiredDescriptionDefault
idNoTax rate ID
envNoTarget env name (default: VEX_ENV, else active).
nameNoNew tax rate name
skipNoItems to skip (default 0).
takeNoItems per page (default 20).
valueNoNew tax rate percentage
actionYesOperation to perform; see description for valid values.
zoneIdNoNew zone ID
enabledNoEnable or disable the tax rate
isDefaultNoSet as the default tax category
categoryIdNoNew tax category ID
customerGroupIdNoNew customer group ID

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 disclosure burden for a nine-action tool that includes three destructive deletes and several mutations. It says nothing about whether delete_category fails when rates still reference the category, whether deletion cascades, permission/scope requirements, whether set-as-default displaces an existing default (isDefault), or how list results are paginated despite skip/take parameters.

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 one-line scope statement followed by a flat bulleted action list is well front-loaded and scannable, and most bullets earn their place by naming the resource operated on. Minor waste in repeated phrasing ('by ID', 'a new tax rate ...') and no grouping of read vs write actions, but nothing is padded.

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 12-parameter, 9-action multiplexer with no annotations and no output schema, the definition covers action selection but not per-action parameter applicability, delete preconditions, default-flag semantics, or what list_rates/list_categories return. It is workable but leaves real gaps an agent would have to discover by trial.

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 schema already documents id, env, name, value, zoneId, categoryId, customerGroupId and enabled individually. The description adds a little relational meaning ('create_rate ... linking a tax category to a zone with a percentage value') but never maps which parameters apply to which action, leaving the agent to infer that value/value-ish fields only matter for rates and isDefault only for categories.

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 names a concrete verb and resource ('Manage Vendure tax categories and tax rates') and then enumerates all nine supported actions with their own verbs and objects (list_categories, create_rate, delete_rate, etc.). This makes it immediately distinguishable from siblings like vex_zones or vex_products, since the tax-category/tax-rate domain is explicit.

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 implicitly tells the agent which operation to pick for a given intent, and 'create_rate' is clarified as linking a category to a zone with a percentage. However, there is no explicit when-to-use/when-not guidance, no mention of prerequisites (e.g. a zone or category must exist first, which touches vex_zones), and no indication of ordering or read-vs-write selection strategy.

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