Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sku_attachments_by_sku_id

Retrieves existing attachments for a specific SKU using its SKU ID, so you can inspect files or assets linked to that catalog item.

Instructions

[GET] Get SKU attachments by SKU ID | Category: SKU attachment | Path: /api/catalog/pvt/stockkeepingunit/:skuId/attachment | Description: Retrieves existing SKU attachments by SKU ID. ## Permissions Any user or API key must have at least one of the approp | Path params: skuId

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

Input Schema

NameRequiredDescriptionDefault
skuIdYesPath parameter: skuId

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. It mentions a permissions section but the text is truncated at "at least one of the approp", so the actual authorization requirement is unusable, and there is no word on empty results, return shape, or whether attachments are ordered.

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 payload is a pipe-delimited dump of endpoint metadata (verb, category, path) followed by a permissions section that is cut off mid-sentence. The one genuinely useful sentence is buried, and the truncated fragment is pure noise.

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 single-parameter read with full schema coverage and no output schema, the essentials for invoking it are present. However, the broken permissions sentence leaves an agent unsure about auth requirements, which is a real gap for a bare, un-annotated tool.

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 100% for the single skuId parameter, so the schema already documents it. The description only echoes "Path params: skuId" without adding format, source, or validation meaning, so the baseline of 3 applies.

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 gives a specific verb and resource ("Retrieves existing SKU attachments by SKU ID") plus the underlying endpoint path, which is unambiguous. It implicitly contrasts with the write-side sibling vtex_associate_attachments_to_an_sku, but never names any sibling explicitly.

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 statement of when to use this tool versus vtex_get_all_attachments, vtex_get_attachment_by_id, or vtex_get_sku_complement_by_sku_id. The only contextual hint is the embedded "Category: SKU attachment" label, which does not tell an agent which alternative to pick.

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