Skip to main content
Glama
VTEX MCP Server

VTEX MCP Server

by Volve-Tech

vtex_get_sales_channel_by_id

Retrieve a specific VTEX sales channel by its ID to inspect channel details and support catalog or order configuration tasks.

Instructions

[GET] Get sales channel by ID | Category: Sales channel | Path: /api/catalog_system/pub/saleschannel/:salesChannelId | Description: Retrieves a specific sales channel by its ID. ## Permissions Any user or API key must have at least one of the approp | Path params: salesChannelId

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": {
      "salesChannelId": "<salesChannelId>"
    },
    "name": "vtex_get_sales_channel_by_id"
  }
}

Input Schema

NameRequiredDescriptionDefault
salesChannelIdYesPath parameter: salesChannelId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden and does add some value: it discloses the endpoint path and that the caller needs a user or API key with certain permissions. However, that permissions sentence is truncated mid-word ('at least one of the approp'), so the actual required scope is never revealed, and there is no statement about error behavior for an invalid ID.

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 definition is compressed into one pipe-delimited line mixing HTTP verb, category, path, description, and a permissions fragment, which is scannable but front-loads metadata over the core statement. The permissions sentence is cut off mid-thought, which is wasted text in the most literal sense.

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 essential information (what it fetches, by what key) is present. The incomplete permission clause leaves a real gap for an agent operating without authentication context, so the definition is adequate but not complete.

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 salesChannelId parameter, so the schema already documents it. The description only repeats 'Path params: salesChannelId' without adding format, source, or lookup guidance, which matches the baseline for fully-covered schemas.

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 a specific sales channel by its ID') and includes the HTTP method and path, making the single-record scope explicit against the sibling vtex_get_sales_channel_list. It stops short of naming that sibling directly, but the 'by ID' framing is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer it should call this when it has a salesChannelId, but the description never says when to prefer it over the list endpoint or what to do when the ID is unknown. There are no exclusions or preconditions beyond the implicit path-parameter requirement.

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