Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_associate_attachments_to_an_sku

Associates attachments to an SKU by SKU ID, replacing all existing attachment associations with the submitted attachment names.

Instructions

[POST] Associate attachments to an SKU | Category: SKU attachment | Path: /api/catalog_system/pvt/sku/associateattachments | Description: Associates attachments to an SKU based on a given SKU ID and attachment names. This request removes existing SKU attachment associations and recreates the associations with the attachments being sent

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vtex_associate_attachments_to_an_sku"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden and does disclose the important destructive replacement behavior: existing associations are removed and recreated. However, it omits permissions, atomicity, error behavior, and whether the removal affects unrelated attachment data, leaving meaningful gaps for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is compact and front-loads the endpoint metadata before the core behavior. The only minor redundancy is repeating the association purpose between the tool name and the description, but nothing is significantly wasteful.

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 mutation with no annotations and an opaque body schema, the description does well to disclose replacement semantics and the conceptual body inputs. It remains incomplete because an agent cannot reliably construct the body without knowing exact field names or required properties, and the schema misleadingly marks the body as not required.

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?

The schema coverage is technically high, but the only parameter is an opaque body object with a generic 'Request body (JSON object)' description. The description adds useful meaning by saying the body is based on a SKU ID and attachment names, but it does not provide field names, formats, or required body structure.

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: associate attachments to an SKU, with the endpoint path and category. It is clear what the tool does, but it does not distinguish itself from the similar sibling vtex_associate_sku_attachment, which an agent would need in order to choose correctly.

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?

The description gives no explicit when-to-use guidance, no prerequisites, and no comparison to alternatives. It also does not explain when to use this bulk associate/recreate operation versus the nearby singular associate or dissociate attachment tools.

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