Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_associate_product_specification

Associates a defined specification with a product by product ID, linking catalog attributes to the product record.

Instructions

[POST] Associate product specification | Category: Product specification | Path: /api/catalog/pvt/product/:productId/specification | Description: Associates a previously defined specification to a product. ## Permissions Any user or API key must have at least one | Path params: productId

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": {
      "productId": "<productId>"
    },
    "name": "vtex_associate_product_specification"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body (JSON object)
productIdYesPath parameter: productId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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 reports the HTTP method, path, and a permissions sentence, but that sentence is truncated ("must have at least one") and unusable, and nothing states whether re-association is idempotent, whether existing specification values are overwritten, or what a conflict returns. For a mutation tool with zero annotation coverage, that is a substantial gap.

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?

It is short and front-loaded with the method, resource, and path, which is the most useful information. The pipe-delimited template scaffolding ("Category:", "Path:", "Description:") and the broken permissions clause are low-value padding, but the overall size is appropriate.

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?

This is a mutation endpoint with nested body, no annotations, no output schema, and an undescribed body object. The definition never explains the body payload, duplicate-handling behavior, or the permission requirement in a complete form, so an agent cannot confidently construct a correct call.

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% and there are only two params, so the baseline is 3; the description's "Path params: productId" merely repeats the schema. Critically, the body is an untyped JSON object in the schema and the description adds nothing about what it must contain (specificationId, values), leaving the actual payload semantics undocumented.

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: "Associates a previously defined specification to a product," plus the concrete POST path /api/catalog/pvt/product/:productId/specification. It does not distinguish this tool from the close sibling vtex_associate_product_specification_using_specification_name_and_group_name, so an agent must infer the difference from the name alone.

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 explicit when-to-use guidance, no exclusions, and no mention of the alternative that reaches the same outcome by specification name and group name. The only usage hint is the passive note that the specification must be "previously defined," which implies a prerequisite but does not route the agent between siblings.

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