Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_update_collection

Updates a Legacy CMS Portal collection in VTEX by collection ID, letting you modify collection details through the catalog API.

Instructions

[PUT] Update collection | Category: Collection | Path: /api/catalog/pvt/collection/:collectionId | 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_update_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
collectionIdYesPath parameter: collectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/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 burden. It discloses the legacy-CMS compatibility caveat, but says nothing about required permissions, whether the update is full replacement or partial, whether body fields are merged, or what the response contains — significant gaps for a PUT mutation.

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 piped metadata format front-loads the verb and the compatibility warning is prominent, which is good. But the path string and 'Path params: collectionId' merely repeat what the schema already declares, so several tokens do not earn their place.

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 an unannotated mutation endpoint with no output schema and an unconstrained nested body object, the description should explain body shape and update semantics. It only supplies the collectionId restatement and a module-compatibility caveat, leaving the agent unable to construct a correct request with confidence.

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 coverage is nominally 100%, so the baseline of 3 would apply, and the description restates collectionId as a path parameter. However the body parameter is documented only as 'Request body (JSON object)' with a nested object and no properties, and the description adds no information about what fields the body accepts — a real semantic gap that the schema itself does not fill.

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?

States a concrete verb+resource ('Update collection') plus the HTTP method and path, which makes the operation identifiable against siblings like vtex_create_collection or vtex_delete_collection. It does not explicitly differentiate itself from the subcollection-update sibling, but the resource is unambiguous.

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 warning note implies a key constraint: this endpoint only applies to collections configured through the Legacy CMS Portal, not the Beta Collection module. That is useful scoping, but there is no explicit when-to-use/when-not statement, no mention of prerequisites or the alternative tool for Beta-module collections.

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