Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_create_sku_ean

Creates the EAN value for a specific SKU using its SKU ID. Use it to assign a barcode identifier; existing EAN values cannot be updated.

Instructions

[POST] Create SKU EAN | Category: SKU EAN | Path: /api/catalog/pvt/stockkeepingunit/:skuId/ean/:ean | Description: Creates the EAN value of an SKU. It is not possible to update the EAN. ## Permissions Any user or API key must have a | Path params: skuId, 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": {
      "skuId": "<skuId>",
      "ean": "<ean>"
    },
    "name": "vtex_create_sku_ean"
  }
}

Input Schema

NameRequiredDescriptionDefault
eanYesPath parameter: ean
bodyNoRequest body (JSON object)
skuIdYesPath parameter: skuId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full burden. It does disclose the key behavioral fact that the EAN is immutable once created, but the Permissions section is truncated mid-sentence, and it never says what happens if the SKU already has an EAN, whether the call errors or overwrites, or what is returned.

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 piped header format front-loads method, category, path, and description usefully, but 'Create SKU EAN' is repeated by the Description field and the Permissions sentence trails off as 'must have a', leaving broken text that consumes space without conveying anything.

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 an unannotated mutation tool with no output schema, the definition covers the essentials (method, path, immutability) but leaves real gaps: the truncated permission requirement, the undocumented body object, and no indication of failure behavior when an EAN already exists.

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% and the schema already labels skuId and ean as path parameters, so the description's path-params note is largely redundant. Notably, the schema exposes a nested 'body' object that the description never mentions or explains.

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 ('Creates the EAN value of an SKU') plus the HTTP method and full path template, so an agent can identify it as the EAN-creation operation distinct from delete/get EAN siblings. It stops short of naming those siblings explicitly, so differentiation is inferred rather than stated.

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?

'It is not possible to update the EAN' gives one strong usage constraint that implies delete-then-create for changing an EAN, but no alternative tool is named and no prerequisite is given (the Permissions sentence is cut off at 'must have a'). Usage is implied rather than directed.

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