Skip to main content
Glama

Get deal details

get_deal
Read-only

Full details of a deal: product photo, price and discount in BRL, store, coupon, purchase link, 30-day price history, product pros/cons, specs and FAQ. Markdown in Brazilian Portuguese.

Input Schema

NameRequiredDescriptionDefault
idYesDeal id, the UUID in https://pechincha.ai/p/<id>/<slug>

Output Schema

NameRequiredDescriptionDefault
dealYesnull when the deal does not exist

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / deal / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coupon_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "discount_percent": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "image_url": {
      -        "description": "Product photo",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "old_price": {
      -        "description": "BRL, price before the discount",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "price": {
      -        "description": "BRL",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "price_30d": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "avg": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "max": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "min": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "records": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "min",
      -              "avg",
      -              "max",
      -              "records"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_url": {
      -        "description": "Product page with price history and other stores",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "published_at": {
      -        "description": "ISO 8601",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "purchase_url": {
      -        "description": "Link to buy at the store",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "active",
      -          "expired",
      -          "pending"
      -        ],
      -        "type": "string"
      -      },
      -      "store": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Deal page on Pechincha.ai",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "title",
      -      "price",
      -      "old_price",
      -      "discount_percent",
      -      "store",
      -      "coupon_code",
      -      "published_at",
      -      "url",
      -      "image_url",
      -      "status",
      -      "purchase_url",
      -      "product_url",
      -      "price_30d"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "cons": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "coupon_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "discount_percent": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "faq": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "answer": {
      +              "type": "string"
      +            },
      +            "question": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "question",
      +            "answer"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "image_url": {
      +        "description": "Product photo",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "old_price": {
      +        "description": "BRL, price before the discount",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "price": {
      +        "description": "BRL",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "price_30d": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "avg": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "max": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "min": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "records": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "min",
      +              "avg",
      +              "max",
      +              "records"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "product_id": {
      +        "description": "For get_product and get_price_history",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "product_url": {
      +        "description": "Product page with price history and other stores",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "pros": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "published_at": {
      +        "description": "ISO 8601",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "purchase_url": {
      +        "description": "Link to buy at the store",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "review_summary": {
      +        "description": "Summary of reviews and expert opinion",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "specs": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "key": {
      +              "type": "string"
      +            },
      +            "value": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "value"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "enum": [
      +          "active",
      +          "expired",
      +          "pending"
      +        ],
      +        "type": "string"
      +      },
      +      "store": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "summary": {
      +        "description": "Price facts: discount, price verdict and history",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Deal page on Pechincha.ai",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "title",
      +      "price",
      +      "old_price",
      +      "discount_percent",
      +      "store",
      +      "coupon_code",
      +      "published_at",
      +      "url",
      +      "image_url",
      +      "status",
      +      "purchase_url",
      +      "product_id",
      +      "product_url",
      +      "price_30d",
      +      "summary",
      +      "review_summary",
      +      "pros",
      +      "cons",
      +      "specs",
      +      "faq"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  2. Changed1 schema field changed
    • changedOutput schema / properties / deal / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "coupon_code": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "discount_percent": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "old_price": {
      -        "description": "BRL, price before the discount",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "price": {
      -        "description": "BRL",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "price_30d": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "avg": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "max": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "min": {
      -                "description": "BRL",
      -                "type": [
      -                  "number",
      -                  "null"
      -                ]
      -              },
      -              "records": {
      -                "type": "integer"
      -              }
      -            },
      -            "required": [
      -              "min",
      -              "avg",
      -              "max",
      -              "records"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "product_url": {
      -        "description": "Product page with price history and other stores",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "published_at": {
      -        "description": "ISO 8601",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "purchase_url": {
      -        "description": "Link to buy at the store",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "status": {
      -        "enum": [
      -          "active",
      -          "expired",
      -          "pending"
      -        ],
      -        "type": "string"
      -      },
      -      "store": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Deal page on Pechincha.ai",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "title",
      -      "price",
      -      "old_price",
      -      "discount_percent",
      -      "store",
      -      "coupon_code",
      -      "published_at",
      -      "url",
      -      "status",
      -      "purchase_url",
      -      "product_url",
      -      "price_30d"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "coupon_code": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "discount_percent": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "image_url": {
      +        "description": "Product photo",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "old_price": {
      +        "description": "BRL, price before the discount",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "price": {
      +        "description": "BRL",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "price_30d": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "avg": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "max": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "min": {
      +                "description": "BRL",
      +                "type": [
      +                  "number",
      +                  "null"
      +                ]
      +              },
      +              "records": {
      +                "type": "integer"
      +              }
      +            },
      +            "required": [
      +              "min",
      +              "avg",
      +              "max",
      +              "records"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      },
      +      "product_url": {
      +        "description": "Product page with price history and other stores",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "published_at": {
      +        "description": "ISO 8601",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "purchase_url": {
      +        "description": "Link to buy at the store",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "active",
      +          "expired",
      +          "pending"
      +        ],
      +        "type": "string"
      +      },
      +      "store": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "title": {
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Deal page on Pechincha.ai",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "title",
      +      "price",
      +      "old_price",
      +      "discount_percent",
      +      "store",
      +      "coupon_code",
      +      "published_at",
      +      "url",
      +      "image_url",
      +      "status",
      +      "purchase_url",
      +      "product_url",
      +      "price_30d"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  3. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely non-structured context: the response is Markdown rendered in Brazilian Portuguese, which affects how the agent should present and localize results.

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?

One front-loaded sentence enumerating the payload, with a short trailing clause for format and language. Every clause carries information; the only minor cost is that the long enumeration reads as a list rather than a structured one.

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 return structure need not be explained, and the description still summarizes the content plus its language/format. For a read-only, single-required-param tool the definition is nearly sufficient; only the sibling-routing gap keeps it from being fully 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% and the single 'id' parameter is fully documented in the schema with its UUID format and URL source. The description adds nothing about the id, but the baseline of 3 is appropriate when the schema does the work.

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 ('Full details of a deal') and enumerates the payload precisely: photo, price/discount in BRL, store, coupon, purchase link, 30-day history, pros/cons, specs, FAQ. That is enough to distinguish it from most siblings, but it never names or contrasts get_product, get_price_history, or get_similar_deals, whose content overlaps with what is listed here.

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 when-to-use guidance and no routing away from the overlapping siblings, even though get_price_history and get_product cover a subset of this tool's output. The only implicit cue is that a single deal id is required, which an agent can already read from the schema.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources