Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_product_by_id

Retrieve a specific VTEX product by its ID to inspect its fields and reuse the details when creating a new product.

Instructions

[GET] Get product by ID | Category: Product | Path: /api/catalog/pvt/product/:productId | Description: Retrieves a specific product by its ID. The response body fields are exactly the information needed to create a new product. > 📘 Onboarding guide > > Check the [Catalog onboarding guide](https:/ | Path params: productId

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": {
      "productId": "<productId>"
    },
    "name": "vtex_get_product_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
productIdYesPath parameter: productId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 burden. It adds one genuinely useful behavioral note — the response body mirrors the create-product payload — but says nothing about authentication, error cases for invalid IDs, or whether the fixture is truncated. The onboarding-guide sentence is cut off ('https:/'), so that context is lost.

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 verb+resource leads, which is good front-loading, and the pipe-delimited metadata is scannable. However, 'Category' and 'Path' partly duplicate the leading title, and the truncated markdown link is dead weight that should have been removed or completed.

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 one-parameter read with no output schema, the description should say what comes back; it gestures at that via the create-product equivalence but leaves it vague, and the truncated onboarding reference is unusable. It is enough to call correctly but not enough to interpret results confidently.

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 the single parameter is already documented as 'Path parameter: productId'. The description only restates 'Path params: productId', adding no format, example, or validation detail beyond 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?

States a specific verb and resource ('Retrieves a specific product by its ID') and pins down the resource type with 'Category: Product' and the endpoint path '/api/catalog/pvt/product/:productId'. It distinguishes itself from sibling lookups by emphasizing the productId key, though it never names alternatives such as vtex_get_product_by_reference_id.

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?

Usage is only implied: an agent holding a productId can infer this is the single-product fetch. There is no explicit when-to-use, no exclusion conditions, and no pointer to reference-ID or SKU-based siblings that could satisfy similar needs.

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