Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_delete_category_from_subcollection

Removes a category from a VTEX subcollection configured through the Legacy CMS Portal; provide the subcollection and category IDs to update the collection.

Instructions

[DELETE] Delete category from subcollection | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId/category/:categoryId | 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, categoryId

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>",
      "categoryId": "<categoryId>"
    },
    "name": "vtex_delete_category_from_subcollection"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryIdYesPath parameter: categoryId
subCollectionIdYesPath parameter: subCollectionId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 for a destructive operation. It does disclose the meaningful Legacy-vs-Beta compatibility constraint, but says nothing about what happens if the category is not in the subcollection, whether the category record itself is affected (as opposed to just the association), error semantics, or required auth scopes.

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 operation is front-loaded in the first clause, which is good, but the definition is a pipe-delimited dump including the raw API path and category metadata that add little for an agent. The Legacy CMS warning is worth keeping; the URL path and "Path params" tail largely duplicate the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter delete, the definition conveys purpose plus the one non-obvious environmental caveat that could cause silent misuse, and no output schema is required. Error behavior and idempotency are absent, but the core call decision can be made correctly from what is provided.

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%, so both parameters are already documented in the input schema. The description's closing "Path params: subCollectionId, categoryId" merely restates them with no added meaning such as ID format, whether the category must already be associated, or any collection-scoping nuance. Baseline 3 applies.

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 category from subcollection," which unambiguously identifies the operation and distinguishes it from siblings like vtex_delete_brand_from_subcollection or vtex_associate_category_to_subcollection. It does not name an alternative tool or contrast adjacent operations explicitly, keeping it at a 4.

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 block gives a real usage constraint: the endpoint only works for collections configured through the Legacy CMS Portal, not the Beta Collection module. That is valuable pre-condition guidance, but there is no explicit when-to-use vs. when-to-use-alternative routing (e.g., how to handle Beta-module collections) and no stated prerequisites such as permissions or collection state.

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