Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_delete_subcollection

Deletes a catalog subcollection by ID, specifically for collections configured through the Legacy CMS Portal.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
subCollectionIdYesPath parameter: subCollectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden. It signals a destructive delete and adds a useful module-compatibility caveat, but says nothing about whether the deletion cascades to associated SKUs, brands, or categories, whether the subcollection must be empty first, whether it is irreversible, or what permissions are needed.

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 leading [DELETE] tag and resource name are front-loaded, which helps scanning, but the pipe-delimited metadata style and the redundant repetition of the path parameter waste space. The warning is the only high-value sentence and is buried mid-string.

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 delete with full schema coverage and no output schema, the minimum is met: the operation, its target, and a key compatibility constraint are stated. However, for a destructive tool with zero annotation coverage, the omission of consequences and preconditions leaves a meaningful gap.

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 required parameter, so the baseline is 3. The description only restates "Path params: subCollectionId" without adding format, source, or how to discover a valid ID, so it adds no meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does name a specific verb and resource ("[DELETE] Delete subcollection"), but it is largely a restatement of the tool name padded with category and route metadata. The one genuinely informative element is the caveat that it only applies to subcollections configured via the Legacy CMS Portal, which weakly separates it from Beta Collection operations, but it does not distinguish it from close siblings such as vtex_delete_collection or the detach-style tools.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative. The Legacy CMS vs Beta Collection warning implies a compatibility boundary, but the agent must infer that a subcollection created in the Beta module should not be deleted with this tool.

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