Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_commercial_condition

Retrieves a VTEX commercial condition by its ID so you can inspect its details for catalog or promotion configuration.

Instructions

[GET] Get commercial condition | Category: Commercial conditions | Path: /api/catalog_system/pvt/commercialcondition/:commercialConditionId | Description: Retrieves information of a commercial condition by its ID. ## Permissions Any user or API key must have at least one | Path params: commercialConditionId

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": {
      "commercialConditionId": "<commercialConditionId>"
    },
    "name": "vtex_get_commercial_condition"
  }
}

Input Schema

NameRequiredDescriptionDefault
commercialConditionIdYesPath parameter: commercialConditionId

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 provided, so the description carries the full behavioral burden. It does gesture at authentication ("Any user or API key must have at least one"), but the sentence is truncated and ambiguous about what permission is actually required, and it says nothing about return shape, error behavior for invalid IDs, or whether the read is safe/idempotent.

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 useful sentence is front-loaded and clear, but the definition is padded with API-spec metadata (category label, raw path template, and a dangling "Path params" fragment) that duplicates the schema and adds no decision value.

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 one-parameter read tool with no output schema, the description covers the essential what and identifies the required ID. It stops short of describing what a commercial condition actually contains, which would help an agent decide whether this resource answers its question.

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 parameter, and the description merely restates it as "Path params: commercialConditionId" without adding format, sourcing, or validity details. With the schema doing all the work, 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 states a specific verb and resource: "Retrieves information of a commercial condition by its ID." This distinguishes it from the sibling list endpoint vtex_get_all_commercial_conditions by the singular/ID-based framing, though the differentiation is implicit rather than stated.

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 guidance on when to use this tool versus the sibling listing endpoint or other catalog lookups. "By its ID" weakly implies the caller must already have a commercialConditionId, but no prerequisites, exclusions, or alternative-routing advice are given.

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