Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sku_by_alternate_id

Retrieve a VTEX SKU by its alternate ID, such as an EAN or reference ID, to resolve product identifiers and look up stock keeping unit details.

Instructions

[GET] Get SKU by alternate ID | Category: SKU | Path: /api/catalog_system/pvt/sku/stockkeepingunitbyalternateId/:alternateId | Description: Retrieves an SKU by its alternate ID, which can be the EAN or the reference ID. ## Permissions Any user or API key mu | Path params: alternateId

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": {
      "alternateId": "<alternateId>"
    },
    "name": "vtex_get_sku_by_alternate_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
alternateIdYesPath parameter: alternateId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations were provided, so the description carries the full disclosure burden. It implies a read operation via '[GET]', but the permissions section is cut off mid-sentence ('Any user or [API key] mu'), so the one piece of behavioral context it attempts to add is unusable, and nothing is said about response shape, failure behavior when the alternate ID is unknown, or ambiguity if the same value exists as both EAN and reference ID.

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 useful, but it is wrapped in machine-generated scaffolding that duplicates the tool name ('[GET] Get SKU by alternate ID'), the path, and a category tag. The trailing permissions fragment is truncated mid-word, leaving visible waste and an incomplete thought.

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?

There is no output schema, so the description should indicate what an SKU record contains or at least signal the return shape, but it says only 'Retrieves an SKU'. Combined with truncated permission details and no error-case behavior for an unmatched alternate ID, the definition is under-specified for a lookup tool an agent must call blind.

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 single parameter's schema text is merely 'Path parameter: alternateId'. The description adds real meaning by defining what an alternate ID can be (EAN or reference ID), which is the key semantic an agent needs, but it does not clarify format expectations or precedence between the two identifier types.

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 an SKU by its alternate ID') and disambiguates the identifier by explaining that an alternate ID 'can be the EAN or the reference ID'. This meaningfully separates it from sibling lookups like vtex_get_sku_by_reference_id and vtex_get_ean_by_sku_id, though the surrounding pipe-delimited metadata (Category, Path) is boilerplate rather than clarification.

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?

No explicit when-to-use or when-not-to-use guidance is given, and no sibling is named as an alternative. The agent must infer from the 'EAN or reference ID' phrase that this is the right tool when the identifier is not a numeric SKU ID, which is an inference rather than stated routing guidance.

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