Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_update_sku_file

Updates an SKU image by replacing the file identified by SKU ID and file ID, using a URL or form-data request body.

Instructions

[PUT] Update SKU file | Category: SKU file | Path: /api/catalog/pvt/stockkeepingunit/:skuId/file/:skuFileId | Description: Updates a new image on an SKU based on its URL or on a form-data request body. ## Permissions Any user or API key mus | Path params: skuId, skuFileId

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>",
      "skuFileId": "<skuFileId>"
    },
    "name": "vtex_update_sku_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
skuIdYesPath parameter: skuId
skuFileIdYesPath parameter: skuFileId

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?

Since no annotations are supplied, the description carries the full burden of behavioral disclosure, and it largely fails to. It hints at permissions ('Any user or API key mus' – truncated mid-sentence) and mentions URL vs form-data input, but says nothing about whether existing files are replaced, what happens on invalid skuFileId, or what the response contains for this mutation.

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 raw doc dump: pipe-delimited HTTP verb, category, path, then a partially truncated permissions sentence ending in 'mus', and finally a redundant trailing 'Path params: skuId, skuFileId' that merely restates the schema. The useful content is buried among metadata noise.

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?

For an unannotated mutation tool with no output schema, an agent still lacks the essentials: replacement semantics, auth requirements (the permissions line is cut off), and error behavior. The path and body-format hints are helpful but do not fill that gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the schema's parameter descriptions are pure tautologies ('Path parameter: skuId'). The description earns above baseline by explaining that the body can carry a URL or form-data payload, which is real meaning the schema's generic 'Request body (JSON object)' does not convey.

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 names a specific verb and resource ('[PUT] Update SKU file') and adds a concrete clarification: it 'Updates a new image on an SKU based on its URL or on a form-data request body.' That is enough for an agent to understand the operation, but it never contrasts itself with nearby siblings such as vtex_delete_sku_image_file or vtex_disassociate_sku_file, so it falls short of a 5.

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 or when-not-to-use guidance. The PUT verb and the API path are routing metadata, not usage advice, and nothing tells the agent when to prefer this update over delete/disassociate/create file operations.

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