Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sku_by_ean

Retrieves an SKU record from VTEX using its EAN barcode identifier, resolving a barcode to the matching stock keeping unit and its catalog details.

Instructions

[GET] Get SKU by EAN | Category: SKU EAN | Path: /api/catalog_system/pvt/sku/stockkeepingunitbyean/:ean | Description: Retrieves an SKU by its EAN ID. ## Permissions Any user or API key must have at least one of the appropriate [License | Path params: ean

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": {
      "ean": "<ean>"
    },
    "name": "vtex_get_sku_by_ean"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanYesPath parameter: ean

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 burden. It does gesture at an authentication requirement ('Any user or API key must have at least one of the appropriate [License'), but the sentence is truncated mid-link and never states the actual license scope, nor what happens when no SKU matches the EAN (error vs. empty), nor whether the call is cached or rate limited.

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 core sentence is front-loaded and clear, but the definition is padded with generated scaffolding ('[GET]', 'Category:', 'Path:') and a permissions block that is cut off mid-markdown, which is noise rather than signal. Every element is short, but the trailing fragment costs clarity.

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 lookup with no output schema, the essentials are present (verb, resource, path, partial auth note). What is missing is the outcome contract — not-found behavior and roughly what the SKU object contains — which matters because there is no output schema to fall back on.

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?

There is a single parameter with 100% schema description coverage, so the schema already documents it. The description adds nothing beyond 'Path params: ean', which is identical to the schema's 'Path parameter: ean' — baseline 3 applies when the schema does the work.

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: 'Retrieves an SKU by its EAN ID', and the path template (/sku/stockkeepingunitbyean/:ean) reinforces the direction of lookup. It never names the inverse sibling vtex_get_ean_by_sku_id or vtex_get_sku_by_alternate_id, so differentiation is left to the reader.

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 guidance and no exclusions. With siblings covering the reverse lookup (EAN by SKU id) and alternate-id/reference-id lookups, an agent would benefit from even one sentence saying 'use this when you have an EAN and need the SKU', but none is given beyond the restated title.

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