Skip to main content
Glama

vex_setup

Manage Vendure API environments: add, remove, list, switch, show, or update stored connections for MCP workflows.

Instructions

Manage Vendure API environments: add, remove, list, switch, show, or set (update).

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

Input Schema

NameRequiredDescriptionDefault
urlNoVendure Admin API URL (required for add)
nameNoEnvironment name (required for add/remove/switch, optional for show/set — defaults to active)
actionYesAction to perform: add, remove, list, switch, show, or set
apiKeyNoVendure API key (required for add)
schemaTypeNoSchema source type: 'endpoint' for introspection, 'file' for local SDL
fetchSchemaNoIf true, fetch and cache schema immediately after adding
schemaValueNoSchema source value: URL for endpoint or file path for file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, yet it only lists action names. It does not disclose that add/remove/switch/set mutate persistent configuration, whether changes require authentication, what happens to the active environment on removal, or any side effects on subsequent calls.

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 single sentence is front-loaded with the resource and lists the actions without filler. It could be marginally improved by grouping read vs. write actions, but it is efficient and wastes no words.

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 multi-action environment-management tool with seven parameters, no annotations, and no output schema, the description is too sparse. It omits crucial context: persistence location, impact on the active environment, and how actions relate to sibling tools such as vex_current_env.

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 schema already defines action enums and per-action requirements (e.g., url required for add, name optional for show/set). The description adds no meaning beyond restating the action names already present in the enum.

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 the resource (Vendure API environments) and enumerates six specific actions (add, remove, list, switch, show, set), making the tool's scope clear. It does not distinguish itself from siblings like vex_current_env, which likely overlaps on environment visibility.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, nor any indication of how this tool relates to alternatives such as vex_current_env or vex_refetch_schema. The action list implies capabilities but does not route the agent.

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