Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_reposition_sku_on_the_subcollection

Repositions a SKU within a Legacy CMS subcollection by updating its order with the collection ID, so you can correct or rearrange product placement.

Instructions

[POST] Reposition SKU on the subcollection | Category: Subcollection | Path: /api/catalog/pvt/collection/:collectionId/position | Description: >⚠️ There are two ways to configure collections, through Legacy CMS Portal or using the Beta Collection module. This endpoint is compatible with [collections configured through the Legacy CMS Portal] | Path params: collectionId

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": {
      "collectionId": "<collectionId>"
    },
    "name": "vtex_reposition_sku_on_the_subcollection"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
collectionIdYesPath parameter: collectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden of disclosure. It implies a mutation and flags one compatibility constraint, but never says what the operation changes, whether it requires the complete SKU list, whether it is reversible, or what permissions are needed — significant gaps for a write operation.

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?

It is short, but the pipe-delimited metadata dump (category, path, redundant "Description:" label, restated path param) crowds out substance. The useful Legacy CMS warning sits buried mid-string rather than being front-loaded.

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 mutation with a required nested body object and no output schema, the description omits the single most important fact: what the request body must contain to reposition a SKU. An agent cannot construct a correct call from this definition alone.

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

Parameters2/5

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

Schema coverage is nominally 100%, but the actual text is tautological: collectionId is described only as "Path parameter: collectionId" and the body is "Request body (JSON object)". The description repeats "Path params: collectionId" and says nothing about the nested body, which is the parameter that actually determines correct invocation.

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?

"Reposition SKU on the subcollection" names a specific verb and resource and is clearly distinguishable from siblings like add_sku_to_subcollection or delete_sku_from_subcollection. It stops short of saying what "reposition" actually means (ordering index? full reorder list?), so the operation itself remains partly opaque.

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 Legacy CMS Portal compatibility warning is a genuine precondition that tells the agent when this endpoint will work, which is more than nothing. However, there is no guidance on when to use this versus adding/removing SKUs, and no mention of what prerequisite state the subcollection must be in.

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