Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sku_id_by_reference_id

Retrieves the SKU ID that matches a reference ID in VTEX, so you can resolve catalog SKUs from reference identifiers.

Instructions

[GET] Get SKU ID by reference ID | Category: SKU | Path: /api/catalog_system/pvt/sku/stockkeepingunitidbyrefid/:refId | Description: Retrieves an SKU ID by the SKU's reference ID. ## Permissions Any user or API key must have at least one of the appro | 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_sku_id_by_reference_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
refIdYesPath parameter: refId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/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 disclose useful context — the private API path (/pvt/), that it is a GET, and a permissions section — but the permissions sentence is cut off mid-word ('at least one of the appro'), leaving the auth requirement incomplete. It also never states what exactly is returned (a bare numeric ID vs. an object), which matters for a lookup tool.

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 text is a pipe-delimited dump of metadata (GET tag, category, path, description, permissions) rather than prose built for an agent. Purpose is restated twice, 'Path params: refId' duplicates the schema, and the truncated permissions sentence is a clear structural defect that wastes space without conveying information.

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, no-output-schema read tool, the essentials are present: verb, resource, path, and a partial permission note. However, the truncated permission requirement and the unstated return shape leave small but real gaps for correct invocation.

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 refId parameter, so the schema already defines what is required. The description only repeats 'Path params: refId' without clarifying what a reference ID is in VTEX terms (alternate SKU identifier, format, uniqueness), adding no meaning beyond the schema.

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 an SKU ID by the SKU's reference ID'), and the title/prefix 'Get SKU ID by reference ID' makes the distinction from siblings like vtex_get_sku_by_reference_id reasonably evident by naming the SKU ID as the output. It stops short of explicitly contrasting itself with that sibling, so an agent must infer the difference from the noun alone.

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, no stated precondition (such as having a reference ID on hand), and no named alternative. An agent has to guess whether to call this or vtex_get_sku_by_reference_id to resolve a reference ID.

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