Skip to main content
Glama

List coupons

list_coupons
Read-onlyIdempotent

Lists Cartão Continente coupons from your signed-in account, showing each coupon’s ID, description, benefit, availability, and whether it is selected in the cart.

Instructions

List the Cartão Continente coupons on the account page, with each one's couponId, description, benefit and availability as shown, and whether it is selected in the cart (null when the cart has no coupon choices, for example because it is empty, or when cartSelection is unknown and it is not known to be selected). Whether a coupon applies to the cart and whether coupons combine are not stated. Needs the account to be signed in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, non-destructive, open-world profile, and the description adds real value on top: the sign-in requirement, the precise null semantics of the selection field (empty cart vs. unknown cartSelection), and an explicit disclaimer that cart applicability and coupon combinability are not reported. Those disclaimers actively prevent an agent from over-reading the result. It stops short of describing pagination, ordering, or failure modes for an expired session.

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 content is front-loaded and free of filler, but it is delivered as a single long sentence with nested parentheticals that is harder to parse than a short bulleted breakdown would be. Dense but not wasteful.

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?

An output schema exists, so the field inventory in the description is partly redundant, but the sign-in requirement and the unknown/not-applicable disclaimers are exactly the context the schema cannot supply. For a zero-parameter read tool, an agent has everything needed to call it and interpret the response.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Zero-parameter tool, so the schema carries no semantic burden and the baseline applies. The description implicitly confirms there is nothing to pass in beyond the signed-in account state.

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 leads with a specific verb and resource ("List the Cartão Continente coupons") and even enumerates the returned fields (couponId, description, benefit, availability, cart selection state), so an agent knows exactly what it gets. It does not name or differentiate itself from the relevant sibling set_cart_coupons, so the boundary between reading and mutating coupon selection is left implicit.

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?

"Needs the account to be signed in" is a genuine precondition, and the null-selection caveat hints at when the output is uninformative. However, there is no explicit statement of when to call this versus set_cart_coupons or get_cart, and no guidance on refresh/retry behavior; usage is implied rather than stated.

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