Skip to main content
Glama
PedroHSGuimaraes

Tienda Nube MCP Server

tiendanube_update_coupon

Modify existing discount coupon settings including discount value, validity period, usage limits, and restrictions to adjust promotional campaigns and optimize marketing strategies.

Instructions

✏️ UPDATE COUPON - Modify existing discount coupon settings including discount value, validity period, usage limits, and restrictions. Use this for adjusting promotional campaigns, extending coupon validity, changing discount amounts, updating usage limits, and managing coupon lifecycle. Essential for dynamic marketing strategies and campaign optimization.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coupon_idYesThe unique ID of the coupon to update
codeNoUnique coupon code
typeNoDiscount type
valueNoDiscount value
validNoWhether the coupon is valid/active
max_usesNoMaximum number of times the coupon can be used
min_priceNoMinimum order value required to use the coupon
start_dateNoStart date for coupon validity (ISO 8601)
end_dateNoEnd date for coupon validity (ISO 8601)
categoriesNoArray of category IDs the coupon applies to
productsNoArray of product IDs the coupon applies to
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It states 'modify' but does not disclose whether updates are partial or full, any side effects, or required permissions. Important behavioral details are missing.

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 description is four sentences long, which is acceptable. However, it includes some repetitive and marketing-like phrasing ('Essential for dynamic marketing strategies and campaign optimization') that could be trimmed without losing substance.

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

Completeness2/5

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

Given 11 parameters and no output schema or annotations, the description should clarify that only coupon_id is required, and describe the return value or confirmation. It omits error conditions, prerequisites, and partial update behavior.

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% with adequate descriptions for each parameter. The description's mention of 'discount value, validity period, usage limits, and restrictions' adds minimal grouping context but does not significantly augment the schema details.

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 clearly states it modifies existing discount coupon settings and lists specific modifiable aspects (discount value, validity, usage limits, restrictions). The verb 'modify' and resource are clear, but it does not explicitly differentiate from sibling tools like tiendanube_create_coupon or tiendanube_delete_coupon.

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 description provides use cases like adjusting campaigns, extending validity, and changing amounts, which imply when to use. However, it does not give explicit guidance on when not to use or suggest alternatives among siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PedroHSGuimaraes/nuvem-shop-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server