Skip to main content
Glama

Coupons Get

tiendanube_coupons_get
Read-onlyIdempotent

Retrieve a single Tiendanube coupon by ID to inspect its details, optionally limiting returned fields and choosing JSON or markdown output.

Instructions

Get one coupon. HTTP: GET /coupons/{id} Required scope: read_coupons API version: 2025-03

Input Schema

NameRequiredDescriptionDefault
idYesCoupon 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

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is clear. The description adds useful operational context—required scope 'read_coupons' and API version '2025-03'—but does not describe error behavior or response characteristics.

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?

The description is short and front-loaded with the core action, followed by HTTP method, required scope, and API version. There is no filler, though the HTTP path line is slightly redundant with the tool name and 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 single-resource GET tool with full schema coverage and complete annotations, the description provides enough context to call it correctly. The required scope and API version are helpful additions, and no output schema means return values need not be explained.

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 all three parameters are documented in the schema, including the coupon ID, fields filter, and response_format enum. The description adds no parameter-specific meaning beyond what the schema provides, so 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 uses a specific verb and resource: 'Get one coupon.' The singular 'one coupon' implicitly distinguishes it from the sibling tiendanube_coupons_list, though it does not explicitly name that sibling.

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 guidance on when to use this tool versus tiendanube_coupons_list, nor any exclusions or prerequisites beyond the required scope. The agent must infer that this is for fetching a single coupon by ID.

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