Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_delete_collection

Deletes a collection configured through the Legacy CMS Portal by collectionId via the VTEX Catalog API, enabling removal of obsolete or unwanted collections from the store.

Instructions

[DELETE] Delete 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_delete_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectionIdYesPath parameter: collectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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. The Legacy-vs-Beta compatibility caveat is useful context beyond the schema, but the description never states that deletion is irreversible, whether products inside the collection are affected, or what happens when the ID does not exist — all material for a destructive operation.

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

Conciseness4/5

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

The pipe-delimited metadata format front-loads the HTTP method and action, which is efficient, and there is no filler prose. The trailing 'Path params: collectionId' is redundant with the schema and the 'Category:'/'Path:' fields are machine-generated noise, keeping it from a 5.

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 single-parameter destructive endpoint with no annotations and no output schema, the description supplies the essential compatibility caveat but omits irreversibility, permission requirements, and side effects on collection contents. It is adequate but leaves meaningful gaps for a delete operation.

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% for the single parameter, so the schema already documents collectionId. The description's 'Path params: collectionId' adds nothing beyond confirming it is a path segment, which is the baseline expectation rather than added value.

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 opens with a specific verb+resource ('[DELETE] Delete collection') and pins the exact REST path '/api/catalog/pvt/collection/:collectionId', so an agent knows precisely what is removed and by which identifier. It does not explicitly contrast with near-siblings such as vtex_delete_subcollection or vtex_update_collection, so it falls short of a 5.

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-configured collections is a genuine applicability gate that tells the agent when this call is valid and when it will not apply. It stops short of naming an alternative tool for Beta-module collections or stating prerequisites such as required permissions.

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