Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sku_by_reference_id

Retrieve a specific SKU's information by its RefId to resolve catalog lookups for inventory, pricing, or order workflows.

Instructions

[GET] Get SKU by reference ID | Category: SKU | Path: /api/catalog/pvt/stockkeepingunit | Description: Retrieves information about a specific SKU by its RefId. ## Permissions Any user or API key must have at least one | Query params: RefId

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vtex_get_sku_by_reference_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
RefIdNoQuery 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 supplied, so the description carries the full behavioral burden. It does disclose the HTTP method and path plus a partial authentication note, but the permission statement is cut off mid-sentence, and nothing is said about behavior when the `RefId` does not match, whether the lookup is case-sensitive, or what data is returned. For a lookup with zero annotation coverage this is thin.

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 content is a pipe-delimited metadata dump mixing category, path, prose description, a truncated permission note, and a redundant 'Query params: RefId' trailer. The useful sentence is buried among fields that add nothing for an agent, and one clause is visibly incomplete.

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?

With no annotations and no output schema, the description should explain what the response contains and how failures are signalled, but it does neither. The permission requirement, the one genuinely behavioral detail, is truncated, leaving the agent unable to tell what access is needed or what a successful call returns.

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 only one parameter, so the schema is the primary source. The description repeats 'RefId' and identifies it as the query parameter but adds no format, casing, or example value beyond what the schema already states, so the baseline of 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 states a specific verb and resource: retrieving information about a specific SKU by its `RefId`. That is unambiguous on its own, but it offers no differentiation from the very similarly named sibling `vtex_get_sku_id_by_reference_id`, which an agent could easily confuse with this one.

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 reference-id siblings (`vtex_get_sku_id_by_reference_id`, `vtex_get_product_by_reference_id`) or the ID-based lookup. The only conditional text is a truncated permission sentence ('must have at least one'), which reads as leftover doc boilerplate rather than usable selection criteria.

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