Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_reorder_sku_files

Define the display order of SKU images by sending every file ID with its new position for a given SKU.

Instructions

[PUT] Reorder SKU files | Category: SKU file | Path: /api/catalog/pvt/stockkeepingunit/:skuId/file/reorder | Description: Defines SKU images positions. For the request to work properly, you must send all SKU images positions. For example, if the SKU has 10 images, you have to send in the request all file IDs and position | Path params: skuId

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": {
      "skuId": "<skuId>"
    },
    "name": "vtex_reorder_sku_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
skuIdYesPath parameter: skuId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations at all, the description must carry the whole behavioral burden; it does disclose the critical all-or-nothing semantics (all file IDs and positions must be supplied), which is a genuine operational trait beyond the schema. It omits what happens to files omitted from the list, whether the operation is reversible, and any permission requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The operative content is front-loaded and short, but it is wrapped in channel-style metadata ([PUT], Category, Path, a redundant 'Description:' label) that adds noise for an agent. The path parameter is restated at the end without added value.

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 mutation tool with no annotations and no output schema, the description covers the main hazard (incomplete payloads) but leaves the agent guessing about side effects, failure modes, and return shape. Enough to call it, not enough to call it safely in edge cases.

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 description coverage is nominally 100%, but the body parameter is an opaque 'Request body (JSON object)' with no field structure. The description compensates by explaining that the body must contain all file IDs together with their positions, which is meaning the schema does not convey.

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 gives a specific verb+resource pair ('Reorder SKU files') and sharpens it with 'Defines SKU images positions', which tells an agent exactly what changes. Siblings like vtex_get_sku_files or vtex_delete_all_sku_files are distinguishable from the verb alone, though no sibling is named as an alternative.

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 no explicit when-to-use vs. when-not-to-use guidance or alternative routing. However, the description does encode a real usage precondition: the request only works if all image positions are sent, with a concrete 10-image example. That is helpful but is a constraint, not guidance on tool selection.

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

Deploy Server

Other Tools