Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_product_by_reference_id

Retrieve a specific VTEX catalog product by its reference ID to look up product details and support product data workflows.

Instructions

[GET] Get product by reference ID | Category: Product | Path: /api/catalog_system/pvt/products/productgetbyrefid/:refId | Description: Retrieves a specific product by its Reference ID. ## Permissions Any user or API key must have at least one of the ap | Path params: refId

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": {
      "refId": "<refId>"
    },
    "name": "vtex_get_product_by_reference_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
refIdYesPath parameter: refId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does start to disclose an auth requirement ('must have at least one of the ap'), but the sentence is truncated mid-word, leaving the permission scope unusable; response shape, error behavior, and whether a missing reference ID 404s are all undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is a raw API-metadata dump with pipe-delimited noise ('Category: Product', 'Path: ...') that crowds out actual guidance, and the permissions section is cut off mid-sentence. The useful core ('Retrieves a specific product by its Reference ID') is buried rather than front-loaded.

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?

The tool is simple and has no output schema, so a short description could suffice, but the truncation leaves the only behavioral disclosure (permissions) incomplete and no return-value expectations are set. An agent cannot tell from this definition what a successful lookup yields or how failures present.

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% for the single required refId parameter, so the baseline is 3. The description adds nothing beyond 'Path params: refId' — no format, casing, or example of a reference ID — but the schema already documents the parameter fully.

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 and resource: 'Retrieves a specific product by its Reference ID.' The 'by Reference ID' qualifier implicitly separates it from vtex_get_product_by_id and vtex_get_sku_by_reference_id, though no sibling is named explicitly.

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 when-to-use or when-not-to-use guidance and no mention of alternatives. An agent must infer from the name alone whether to use this vs. vtex_get_product_by_id or the SKU-by-reference variants.

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