Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_update_subcollection

Updates a VTEX catalog subcollection by ID, enabling changes to Legacy CMS Portal collection configurations through the Catalog API.

Instructions

[PUT] Update subcollection | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId | 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: subCollectionId

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": {
      "subCollectionId": "<subCollectionId>"
    },
    "name": "vtex_update_subcollection"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
subCollectionIdYesPath parameter: subCollectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 does disclose one important operational trait (Legacy CMS compatibility) beyond the schema, but omits PUT semantics — whether the body fully replaces or partially merges subcollection fields — plus permission requirements and any failure modes.

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 pipe-delimited metadata dump is readable and the compatibility warning is prominent, but "Path params: subCollectionId" and the HTTP-method/category/path preambles duplicate structured data rather than adding 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 an unannotated mutation tool with no output schema, the definition covers the critical legacy-vs-beta scoping but leaves the request body contents and returned result undocumented, so an agent still lacks what it needs to construct a correct call.

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% and the only parameter detail added is "Path params: subCollectionId," which merely restates the schema. The body parameter is a hollow nested object with no documented properties, and the description does nothing to say what fields (name, etc.) an update body accepts.

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 concrete verb and resource ("[PUT] Update subcollection") plus the exact endpoint path, which distinguishes this from the many vtex_update_* catalog siblings (update_collection, update_brand, update_sku) at the name/resource level. It stops short of a full statement of what is being updated, but an agent can identify the operation unambiguously.

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

Usage Guidelines4/5

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

The warning that there are two collection configurations (Legacy CMS Portal vs. Beta Collection module) and that this endpoint only works with Legacy CMS Portal collections is a genuine applicability constraint — effectively a when-not condition an agent would otherwise have to discover by failure. It does not name an alternative endpoint for Beta-module collections, which keeps it below a 5.

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