Skip to main content
Glama

Promotions Get

tiendanube_promotions_get
Read-onlyIdempotent

Retrieve a single promotion by its ID from the Tiendanube API, returning full JSON data or a readable markdown view. Use it to inspect discount details, scope, and settings for one specific promotion.

Instructions

Get one promotion. HTTP: GET /promotions/{id} Required scope: read_discounts API version: 2025-03

Input Schema

NameRequiredDescriptionDefault
idYesPromotion ID
fieldsNoComma-separated list of fields to return, to reduce payload size (e.g. 'id,name,variants')
response_formatNoOutput format: 'json' (default, full data) or 'markdown' (human-readable)json

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, so the safety profile is covered. The description adds genuinely useful non-annotation context: the required OAuth scope 'read_discounts' and the API version '2025-03', both of which affect whether the call will succeed.

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?

Four short lines, front-loaded with the action, followed by the HTTP route, scope, and version. No filler; it is telegraphic but every line carries operational information.

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-resource GET with a fully documented schema and covered safety annotations, the essentials are present. However, the description says nothing about what a promotion record contains or how a missing/invalid id behaves (404), which is the remaining gap for a bare getter.

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 id, fields, and response_format are all documented at the schema level. The description adds nothing about parameter semantics beyond that, which is the baseline expectation when the schema is complete.

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?

States a specific verb and resource ('Get one promotion'), which clearly separates it from the sibling tiendanube_promotions_list retrieval of many. It does not name the sibling explicitly, but the singular/plural pairing 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?

The singular 'one promotion' plus the required id implicitly signals this is the single-record retrieval path versus the list tool, but there is no explicit when-to-use or when-not-to-use guidance.

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