Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_associate_brand_to_subcollection

Associates a specified brand with a VTEX subcollection through the Legacy CMS Portal-compatible endpoint, enabling catalog grouping for that subcollection.

Instructions

[POST] Associate brand to subcollection | Category: Subcollection | Path: /api/catalog/pvt/subcollection/:subCollectionId/brand | 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_brand_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 provided, so the description must carry the full behavioral burden. It does disclose the important Legacy-CMS-only compatibility constraint and implies a mutating POST, but says nothing about required permissions, idempotency (what happens if the brand is already associated), whether existing brand associations are replaced, or what the response contains.

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?

It is short and the purpose statement is front-loaded, but it is formatted as an API metadata dump with redundant segments ('Category: Subcollection', 'Path: ...', and 'Path params: subCollectionId' duplicating the schema). Trimming those would improve it without losing information.

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 a catalog-mutating tool with no annotations, no output schema, and an undescribed nested request body, the definition is thin: it does not tell the agent what goes in the body, what happens on duplicate association, or what a success response looks like. The legacy-collection caveat is the only substantial context 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 coverage is 100% and the path parameter is documented identically in both places, so the description adds nothing there. The more consequential gap is the 'body' object, which is only typed as a generic JSON object in the schema and is not explained in the description at all — the agent gets no hint that it presumably carries the brand identifier.

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 gives a specific verb and resource — 'Associate brand to subcollection' — plus the HTTP method and path, which lets an agent distinguish it from siblings like vtex_delete_brand_from_subcollection or vtex_associate_category_to_subcollection. The surrounding pipe-delimited metadata is noise, but the core purpose 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 only conditional guidance is the warning that the endpoint is compatible only with collections configured through the Legacy CMS Portal, which is a real constraint on when this tool applies. However, it never states what to do for Beta Collection module collections or names any alternative tool, so the agent is left to infer routing for the non-legacy case.

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