Skip to main content
Glama

StackTheDeal Deals

Deals with a coupon code

get_coupons
Read-onlyIdempotent

Live deals that need a coupon/promo code at checkout, each with its coupon_code spelled out. Use for 'any coupon codes?' questions. Results link to each deal's page on stackthedeal.com only.

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": "get_coupons"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax deals to return (1-50, default 20).
offsetNoPagination: skip this many matches (use the next_offset from the previous result to page further).

Output Schema

NameRequiredDescriptionDefault
dealsNo
next_offsetNo
total_matchingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Pagination: skip this many matches (use the next_offset from the previous result to page further).",
      +  "type": "integer"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "deals": {
      +      "type": "array"
      +    },
      +    "next_offset": {
      +      "type": "number"
      +    },
      +    "total_matching": {
      +      "type": "number"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact – results link only to the deal's page on stackthedeal.com – but says nothing about result volume, freshness, or how 'live' is determined.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with what the tool returns and followed immediately by the usage cue. No filler and nothing buried.

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 shape need not be explained, and the description still flags the coupon_code field and outbound link domain. Only freshness/'live' semantics remain unstated, a minor gap for a two-parameter read-only lister.

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 coverage is 100%, including an explicit note on using next_offset with offset. The description adds no parameter-level meaning beyond the schema, so the baseline 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 states a concrete verb+resource plus a qualifying filter: live deals that require a coupon/promo code, with the coupon_code surfaced per item. That is enough to separate it from generic deal listers like list_deals or get_hot_deals, though it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear usage trigger with a literal example user question ('any coupon codes?'). It stops short of stating when not to use it or naming an alternative tool for broader deal browsing.

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.