Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_subcollection_by_subcollection_id

Retrieve a VTEX subcollection by its subcollection ID to inspect details for Legacy CMS Portal collections. Use it when you need collection metadata for a specific subcollection.

Instructions

[GET] Get subcollection by subcollection ID | 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_get_subcollection_by_subcollection_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
subCollectionIdYesPath parameter: subCollectionId

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 provided, so the description carries the full burden. It discloses that this is a GET operation and adds a compatibility caveat, but it omits return format, error behavior, authentication needs, and rate-limit details. For a simple read endpoint, this is minimal but acceptable.

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 description is front-loaded with the HTTP method and endpoint purpose, and the pipe-separated metadata is easy to scan. There is some redundancy ('subcollection by subcollection ID' and the path-param note), but no unnecessary sentences.

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 simple read endpoint with one required parameter and no output schema, the description provides the path and compatibility caveat. However, it does not state what the endpoint returns or how errors are surfaced, leaving clear gaps for an agent unfamiliar with the API.

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?

The input schema has 100% description coverage and the single path parameter is already documented there. The description only repeats 'Path params: subCollectionId' without adding format, constraints, or examples, so it does not improve on the schema.

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 states a specific verb (Get) and resource (subcollection) retrieved by ID, and the path parameter reinforces it. It distinguishes from sibling tools like vtex_get_subcollection_by_collection_id by the 'by subcollection ID' wording, though it does not explicitly contrast them.

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 about Legacy CMS Portal vs Beta Collection module provides a clear when-to-use constraint: the endpoint is only for collections configured through the Legacy CMS Portal. It does not mention an alternative tool for the Beta module, but the exclusion is stated.

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