Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_delete_attachment

Deletes an existing SKU attachment by attachment ID in the VTEX catalog, removing a file previously linked to a SKU.

Instructions

[DELETE] Delete attachment | Category: Attachment | Path: /api/catalog/pvt/attachment/:attachmentid | Description: Deletes a previously existing SKU attachment. ## Permissions Any user or API key must have at least one of the approp | 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_delete_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
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 behavioral burden. It gestures at a permission requirement ('must have at least one of the approp') but the sentence is truncated mid-word, so the actual scope is unusable, and it says nothing about irreversibility, whether SKU associations are cascaded, or behavior when the ID is unknown.

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 category, raw path, and permission boilerplate with a duplicated 'Description:' label and a dangling 'Path params' footer. The one useful sentence is buried in the middle and the permission clause is cut off, which is wasted space rather than efficient front-loading.

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 destructive tool with no annotations and no output schema, the description should at minimum state the permission needed in full and the consequences of deletion. Instead the permission sentence is truncated and no return or failure behavior is conveyed, leaving meaningful gaps for a mutation endpoint.

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 100% for the single required attachmentid parameter, so the schema already documents the input. The trailing 'Path params: attachmentid' merely restates it and adds no format, source, or lookup detail beyond what is structured.

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 concrete verb and resource: 'Deletes a previously existing SKU attachment.' That is enough to tell the agent this is a destructive operation on an attachment record. However, it does not distinguish itself from the close sibling vtex_delete_sku_attachment_by_attachment_association_id, which also deletes a SKU attachment but keys off a different identifier, so tool selection still requires guesswork.

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 only conditional signal is the implied prerequisite that the attachment already exists ('previously existing'), leaving the agent to infer the alternative tools for association-ID deletion or dissociation entirely from sibling names.

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