Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_update_attachment

Update an existing SKU attachment with new information by sending a PUT request to the attachment ID endpoint, so catalog attachment details stay current.

Instructions

[PUT] Update attachment | Category: Attachment | Path: /api/catalog/pvt/attachment/:attachmentid | Description: Updates a previously existing SKU attachment with new information. >⚠️ To understand the specific syntax for Assembly Options attachments, read the [Assembly Options](https://help.vtex.com/en/tutor | Path params: attachmentid

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": {
      "attachmentid": "<attachmentid>"
    },
    "name": "vtex_update_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
attachmentidYesPath parameter: attachmentid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/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 says 'updates' but never states whether PUT replaces or merges existing attachment fields, what permissions are required, whether the change is reversible, or what the response returns. The warning about Assembly Options syntax is the only real behavioral context, and even that link text is cut off mid-URL.

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 raw OpenAPI metadata concatenated with pipe separators ('[PUT] Update attachment | Category: Attachment | Path: ...'), including a truncated markdown link that ends in '| Path params: attachmentid'. The core sentence is buried and the structural scaffolding does not help an agent.

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 a mutation tool with an unannotated, nested request body and no output schema, the description should explain payload expectations and effects. It instead supplies ticket-style metadata and a broken doc link, leaving what an agent must put in the body entirely unspecified.

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 description coverage is reported at 100%, which sets the baseline at 3, and the description adds the attachmentid path context. However, the body is a nested object documented only as 'Request body (JSON object)', so neither schema nor description identifies which attachment fields are accepted, leaving a real gap for the primary payload.

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 ('Updates a previously existing SKU attachment with new information'), which clearly separates it from create/delete/associate siblings in the Attachment family. The leaked OpenAPI path ('/api/catalog/pvt/attachment/:attachmentid') reinforces scope, though no explicit sibling routing is given.

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 relative to vtex_create_attachment, vtex_get_attachment_by_id, or the associate/dissociate tools. The only contextual hint is a pointer to Assembly Options documentation for a special-case syntax, which is truncated and does not tell the agent when to prefer this tool.

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