Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_category_by_id

Retrieve general information for a VTEX catalog category by its ID to support category lookups and catalog management.

Instructions

[GET] Get category by ID | Category: Category | Path: /api/catalog/pvt/category/:categoryId | Description: Retrieves general information about a category. ## Permissions Any user or API key must have at least one of the appr | 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_category_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
categoryIdYesPath parameter: categoryId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 gestures at a permissions section ('Any user or API key must have at least one of the appr...') but the sentence is truncated mid-word, so the actual required permission scopes are never stated. Nothing is said about return shape, not-found behavior, or whether categories can be inactive/hidden, which matters for a lookup-by-ID tool.

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 pipe-delimited front-loading is effective and the purpose is stated in the first clause, but the trailing permissions fragment is cut off mid-sentence and conveys no usable information, which is wasted space. The 'Category: Category' label is redundant noise.

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 one-parameter read tool with no output schema, the description covers what is fetched and where. However, the incomplete permissions clause and the absence of any note on what 'general information' includes (name, parent, status) leave an agent guessing at the response and access requirements.

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% and there is a single required path parameter, so the schema already documents categoryId fully. The description merely restates it as 'Path params: categoryId' plus the URL template, adding the useful detail that it is a path segment rather than a query parameter, but no format or validation guidance. 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 gives a specific verb and resource ('Get category by ID', 'Retrieves general information about a category') and names the backing endpoint path, so an agent knows exactly what is fetched. It does not distinguish itself from siblings like vtex_get_specifications_by_category_id or vtex_list_specification_group_by_category, but the resource noun 'category' does most of that work.

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 explicit when-to-use or when-not-to-use guidance; the closest is the implied 'get a category when you have its categoryId'. No alternative retrieval paths (e.g., listing specification groups for a category) are referenced, leaving selection entirely to the agent's inference from tool names.

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