Skip to main content
Glama

vex_assets

Upload local files as Vendure assets and manage them: list with pagination or name filters, fetch by ID, update names, tags, or focal points, and delete.

Instructions

Manage Vendure assets (images/files), incl. multipart upload of local files.

Actions:

  • upload: Upload local files as new assets (Upload scalar via multipart request).

  • list: List assets (take/skip pagination, optional name substring filter).

  • get: Fetch one asset by ID (incl. focal point and tags).

  • update: Update an asset's name, tags, or focal point.

  • delete: Delete an asset 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_assets"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoAsset ID.
envNoTarget env name (default: VEX_ENV, else active).
nameNoNew asset name.
skipNoItems to skip (default 0).
tagsNoReplacement tag list.
takeNoItems per page (default 20).
actionYesOperation to perform; see description for valid values.
filePathsNoLocal file paths to upload.
focalPointNoFocal point as fractions, e.g. {x:0.5, y:0.5}.
nameContainsNoFilter by name substring.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.7/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 notes that upload uses a multipart request (a useful non-obvious detail), but for delete it does not state irreversibility or whether dependent references (tags, focal point) are affected; for update it does not state that tags are replaced wholesale rather than merged; and nothing is said about permissions or return shapes for any action.

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?

A single front-loaded scope sentence followed by a bulleted action list – every line carries distinct information, and the action-per-line format lets an agent scan to the relevant operation without wading through prose.

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 ten-parameter, five-action tool with no annotations and no output schema, the definition covers the what but not the how: required-parameter dependencies per action, error behavior (missing asset ID), and any indication of what each action returns are all left to the schema or to guesswork.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real value by mapping parameters to actions: take/skip/nameContains only for list, filePaths for upload, id for get/update/delete. That action-to-parameter mapping is absent from the flat schema and is the main thing an agent needs to avoid passing irrelevant fields.

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 the resource (Vendure assets) and enumerates five concrete actions with a specific verb-plus-object gloss for each: upload local files, list with pagination/filter, get by ID, update fields, delete by ID. An agent can immediately tell this tool operates on assets rather than the sibling resources (products, orders, channels, customers).

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 when each operation applies, but there is no explicit when-to-use/when-not guidance, no prerequisites (e.g., that an id is required for get/update/delete and filePaths for upload), and no routing to alternatives. Usage is inferable from the action glosses rather than stated.

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