Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_remove_product_from_trade_policy

Removes a product from a specified trade policy in VTEX, disassociating it from that sales policy when it should no longer be available under it.

Instructions

[DELETE] Remove product from trade policy | Category: Trade policy | Path: /api/catalog/pvt/product/:productId/salespolicy/:tradepolicyId | Description: Disassociates a trade policy of a product. ## Permissions Any user or API key must have at least one of the appropria | Path params: productId, tradepolicyId

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

Input Schema

NameRequiredDescriptionDefault
productIdYesPath parameter: productId
tradepolicyIdYesPath parameter: tradepolicyId

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 load; it does disclose the destructive HTTP method and a permission requirement, which is useful behavioral context. However, the permissions sentence is truncated mid-word ('must have at least one of the appropria'), so the actual auth scope is unusable, and nothing is said about idempotency, side effects on the product, or error behavior for a non-existent association.

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 operation and endpoint are front-loaded, which is good, but the definition is padded with boilerplate (category, path, a dangling '## Permissions' heading) and includes a visibly truncated sentence that wastes space without conveying information. Repetition of the path params list adds nothing over the schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter delete with no output schema, the definition supplies the operation, endpoint path, and a partial permission note, which is close to sufficient. The truncated permissions text is the main gap; success behavior is less critical here since nothing is returned.

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%, so both parameters are already documented in the schema. The description only restates 'Path params: productId, tradepolicyId' without adding meaning such as whether tradepolicyId is a sales policy ID or name, or any format constraints. Baseline 3 applies when the schema does the heavy lifting.

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: '[DELETE] Remove product from trade policy', reinforced by 'Disassociates a trade policy of a product' and the explicit endpoint path. It is clearly distinguishable from the sibling vtex_associate_product_with_trade_policy by the delete/disassociate framing, though no sibling is named 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 explicit when-to-use guidance, no statement of prerequisites (e.g. that the association must already exist), and no routing to alternatives such as vtex_associate_product_with_trade_policy for the inverse operation. The only contextual hint is the HTTP method '[DELETE]' and the path, leaving usage to be inferred.

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