Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_associate_category_to_subcollection

Associates a category with a subcollection in VTEX Legacy CMS collections by calling the catalog subcollection category endpoint using the subcollection ID.

Instructions

[POST] Associate category to subcollection | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId/category | 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_associate_category_to_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

B3.3/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 discloses the Legacy CMS compatibility restriction and the target path, which is real context beyond the name, but for a write operation it says nothing about idempotency, what happens if the association already exists, what permissions/catalog auth are required, or what is returned or destroyed.

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 action is front-loaded in the first clause and content is compact, with no filler prose. It loses a point for pipe-delimited metadata scaffolding ('Category: Subcollection | Path: ...') and for the trailing 'Path params: subCollectionId' that merely restates the schema.

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?

With no annotations and no output schema, this mutation tool needs the description to cover input shape and result expectations. It covers the endpoint and one compatibility caveat but omits the body payload contract and any success/error outcome, leaving an agent unable to construct a correct request from the definition alone.

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%, which sets the baseline at 3, and the description correctly identifies subCollectionId as the path parameter. However, the body is a nested, unstructured JSON object whose expected contents (presumably a category identifier) are explained by neither the schema nor the description, so the most important semantic of this call is left to guesswork 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?

States a specific verb and resource pair ('Associate category to subcollection') plus the HTTP method (POST) and the exact path, so an agent can tell it apart from vtex_delete_category_from_subcollection and vtex_associate_brand_to_subcollection by resource alone. It does not explicitly name or contrast a sibling, but the verb+object 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 definition provides a genuine applicability constraint: the endpoint only works for collections configured through the Legacy CMS Portal, not the Beta Collection module. That is valuable when-to-use context, but there is no guidance on when to choose this over alternative linking paths, and no statement of prerequisites such as whether the category and subcollection must already exist.

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