Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_create_attachment

Creates a new SKU attachment via the VTEX Catalog API to add files or options to products for order customization and assembly choices.

Instructions

[POST] Create attachment | Category: Attachment | Path: /api/catalog/pvt/attachment | Description: Creates a new SKU attachment. >⚠️ To understand the specific syntax for Assembly Options attachments, read the [Assembly Options](https://help.vtex.com/en/tutorial/assembly-options--5x5FhNr4f5RUGDEG

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_create_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)

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 are provided, so the description carries the full burden of behavioral disclosure. It identifies the operation as a POST/create and flags a special Assembly Options case, but it does not describe permissions, validation rules, uniqueness constraints, side effects, or the response behavior.

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 definition is compact and front-loads the creation purpose, but it repeats the operation in the title-like prefix and description, and the trailing Assembly Options link appears truncated. The HTTP path metadata is useful but not fully integrated with the usage context.

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?

With an opaque nested request body, no output schema, and no annotations, the description is too thin for correct invocation. It does not document body fields, required SKU linkage, response shape, or error conditions, leaving the agent dependent on external documentation.

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 reported as 100%, but the sole body parameter is described only as a generic JSON object. The description adds a pointer about Assembly Options syntax, which is relevant, but it does not explain the body fields or required structure beyond what the schema already exposes.

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: it "Creates a new SKU attachment" and identifies the POST endpoint path. This clearly distinguishes creation from sibling operations such as update, delete, get, and associate, though it does not explicitly name those alternatives.

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 only usage guidance is a pointer to documentation for Assembly Options attachment syntax. It does not explain when to use this tool versus associating an attachment to an SKU, nor does it state prerequisites such as whether an SKU must already exist.

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