Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_specifications_by_category_id

Retrieves all specifications for a VTEX category by its ID, enabling you to inspect product attributes and required fields for catalog configuration.

Instructions

[GET] Get specifications by category ID | Category: Category specification | Path: /api/catalog_system/pub/specification/field/listByCategoryId/:categoryId | Description: Retrieves all specifications from a category by its ID. ## Permissions Any user or API key must have at least one of | Path params: 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": {
      "categoryId": "<categoryId>"
    },
    "name": "vtex_get_specifications_by_category_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryIdYesPath parameter: categoryId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose that this is a GET on the public catalog system and states the permission requirement (any user or API key). However, the permissions section is left dangling ('must have at least one of |'), and nothing is said about response shape or whether the list can be large or paginated.

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 name, category, path, and description are stacked in a pipe-delimited header that repeats the same information ('Get specifications by category ID' then 'Retrieves all specifications from a category by its ID'). The truncated permissions clause wastes space without conveying usable content.

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 read tool with no output schema, the essentials are covered and auth requirements are noted. The dropped permission detail and the absence of any hint about what the specification records contain leave it only adequately complete.

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?

Only one parameter with 100% schema coverage, so the schema already defines categoryId fully. The description adds nothing beyond 'Path params: categoryId', which merely restates the schema — 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 names a specific verb and resource — 'Retrieves all specifications from a category by its ID' — and the endpoint path confirms the scope. It is clearly distinguishable from siblings that operate on products, SKUs, or specification fields, though it never contrasts itself with vtex_get_specifications_tree_by_category_id, which sounds close in purpose.

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 guidance on when to use this tool versus the tree or field-level specification siblings. The only usage signal is the implied prerequisite of having a categoryId, which is already obvious from the schema.

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