Skip to main content
Glama

Find coupon offers

find_offers
Read-only

Find current or historical coupon offers. Returns total, remaining, redeemed, expiry, and observation freshness. Active offers carry an access block: what opening the coupon requires, the price with and without it, and the savings. Each course has course_url, its Comidoc course page; coupon codes are not included.

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

Input Schema

NameRequiredDescriptionDefault
sortNolatest
levelNoOne or more canonical filter option values: Beginner, Intermediate, Expert, or All Levels. Matching ignores case; unknown values are rejected.
limitNoResults per page. This connection returns at most 10. Page sizes: anonymous 10, signed-in Comidoc account or free API key 25, API Pro key 100. A larger value is reduced to 10 and meta.limit_note says so; fetch the next page with pagination.next_cursor.
queryNo
topicNo
cursorNo
ratingNo
statusNo
categoryNoOne or more canonical filter option values. Matching ignores case; unknown values are rejected.
durationNo
languageNoOne or more canonical filter option values. Matching ignores case; unknown values are rejected.
course_idNoUdemy's numeric course ID.
coupon_ageNo
course_slugNo
course_typeNo
discount_typeNo
expires_afterNo
unique_courseNoReturn at most one coupon offer per Udemy course, matching the website listing.
expires_beforeNo
maximum_ratingNo
minimum_ratingNo
published_afterNo
coupon_created_afterNo
repeat_coupon_courseNoinclude
regular_coupon_issuerNoinclude
last_course_updated_afterNoFilters the last update published by Udemy.
minimum_remaining_redemptionsNo

Output Schema

NameRequiredDescriptionDefault
dataYes
metaYes
paginationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"One or more canonical get_filter_options values. Matching ignores case; unknown values are rejected."New value: +"One or more canonical filter option values. Matching ignores case; unknown values are rejected."
    • changedInput schema / properties / language / description
      Previous value: -"One or more canonical get_filter_options values. Matching ignores case; unknown values are rejected."New value: +"One or more canonical filter option values. Matching ignores case; unknown values are rejected."
    • changedInput schema / properties / level / description
      Previous value: -"One or more canonical get_filter_options values: Beginner, Intermediate, Expert, or All Levels. Matching ignores case; unknown values are rejected."New value: +"One or more canonical filter option values: Beginner, Intermediate, Expert, or All Levels. Matching ignores case; unknown values are rejected."
    • changedOutput schema / properties / data / items / properties / access / description
      Previous value: -"Access block: same fields and rules as search_courses data[].access."New value: +"Access block: same fields as search_courses data[].access."
    • changedOutput schema / properties / meta / properties / account_hint / description
      Previous value: -"Anonymous results with coupon offers: ask about a Comidoc account. Follow it."New value: +"Anonymous results with coupon offers: how Comidoc accounts apply to these results."
  2. Changed85 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / coupon_created_after / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / properties / course_id / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / expires_after / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / properties / expires_before / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / properties / last_course_updated_after / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedInput schema / properties / minimum_remaining_redemptions / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / published_after / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • addedOutput schema / $defs
      Added value: +{
      +  "s1": {
      +    "description": "Only when meta.coupon_codes_included is true; otherwise null.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / properties / access / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / data / items / properties / access / description
      Previous value: -"What accessing this coupon requires and what Comidoc Premium is worth for this person. Absent for developer API Pro keys."New value: +"Access block: same fields and rules as search_courses data[].access."
    • removedOutput schema / properties / data / items / properties / access / properties
      Removed value: -{
      -  "credits_remaining": {
      -    "description": "Credit-based Premium: credits left. Each coupon opened from course_url spends one credit, charged by Comidoc when it opens.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "currency": {
      -    "const": "USD",
      -    "description": "Currency of price, price_with_coupon, and savings.",
      -    "type": "string"
      -  },
      -  "granted": {
      -    "const": true,
      -    "description": "Present when the person connected with OAuth has Premium: nothing to buy. Open course_url in the person's browser signed in to comidoc.com (see how_to_open). The coupon code is never returned.",
      -    "type": "boolean"
      -  },
      -  "how_to_open": {
      -    "description": "With granted: how to open the coupon for the person. Follow it.",
      -    "type": "string"
      -  },
      -  "premium": {
      -    "additionalProperties": false,
      -    "description": "The Premium plan currently sold. Quote these values; never invent a price.",
      -    "properties": {
      -      "alternatives": {
      -        "description": "Other Premium plans currently sold, if any.",
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "checkout_url": {
      -              "description": "Page the person opens to pay. Never pay or sign up on their behalf.",
      -              "format": "uri",
      -              "type": "string"
      -            },
      -            "currency": {
      -              "const": "USD",
      -              "type": "string"
      -            },
      -            "id": {
      -              "const": "premium_seven_days",
      -              "type": "string"
      -            },
      -            "period": {
      -              "const": "7_days",
      -              "type": "string"
      -            },
      -            "price": {
      -              "description": "Price of the plan, read from the active Premium settings.",
      -              "exclusiveMinimum": 0,
      -              "type": "number"
      -            },
      -            "renews": {
      -              "description": "Whether the plan renews automatically until cancelled.",
      -              "type": "boolean"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "price",
      -            "currency",
      -            "renews",
      -            "checkout_url",
      -            "period"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "cancel_anytime": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "checkout_url": {
      -        "description": "Page the person opens to pay. Never pay or sign up on their behalf.",
      -        "format": "uri",
      -        "type": "string"
      -      },
      -      "currency": {
      -        "const": "USD",
      -        "type": "string"
      -      },
      -      "id": {
      -        "const": "premium_monthly",
      -        "type": "string"
      -      },
      -      "period": {
      -        "const": "month",
      -        "type": "string"
      -      },
      -      "price": {
      -        "description": "Price of the plan, read from the active Premium settings.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "promotion_ends_at": {
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -        "type": "string"
      -      },
      -      "regular_price": {
      -        "description": "Price after the current promotion ends.",
      -        "exclusiveMinimum": 0,
      -        "type": "number"
      -      },
      -      "renews": {
      -        "description": "Whether the plan renews automatically until cancelled.",
      -        "type": "boolean"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "price",
      -      "currency",
      -      "renews",
      -      "checkout_url",
      -      "period",
      -      "cancel_anytime"
      -    ],
      -    "type": "object"
      -  },
      -  "price": {
      -    "description": "Udemy price observed by Comidoc, before the coupon.",
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "price_with_coupon": {
      -    "description": "Price on Udemy once the coupon is applied.",
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "reason": {
      -    "enum": [
      -      "free_course",
      -      "savings_cover_premium",
      -      "topic_history",
      -      "savings_below_premium",
      -      "price_unknown",
      -      "premium_unavailable",
      -      "premium_active",
      -      "premium_credits"
      -    ],
      -    "type": "string"
      -  },
      -  "recommendation": {
      -    "description": "worth_it: savings cover the Premium price, or the topic history shows several courses (only relevant if the person wants several courses). optional: savings are below the price. not_needed: free without Premium.",
      -    "enum": [
      -      "worth_it",
      -      "optional",
      -      "not_needed"
      -    ],
      -    "type": "string"
      -  },
      -  "requires": {
      -    "description": "premium: the active coupon is a Comidoc Premium benefit. none: the course is free on Udemy without a coupon.",
      -    "enum": [
      -      "premium",
      -      "none"
      -    ],
      -    "type": "string"
      -  },
      -  "savings": {
      -    "description": "price minus price_with_coupon.",
      -    "type": [
      -      "number",
      -      "null"
      -    ]
      -  },
      -  "topic_last_30_days": {
      -    "anyOf": [
      -      {
      -        "additionalProperties": false,
      -        "properties": {
      -          "courses": {
      -            "description": "Courses of this topic that became free with a coupon over the last 30 days.",
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "currency": {
      -            "const": "USD",
      -            "type": "string"
      -          },
      -          "topic": {
      -            "description": "Topic slug: the one searched, otherwise the course's main topic.",
      -            "type": "string"
      -          },
      -          "value": {
      -            "description": "Their total Udemy price.",
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "window_days": {
      -            "const": 30,
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "topic",
      -          "courses",
      -          "value",
      -          "currency",
      -          "window_days"
      -        ],
      -        "type": "object"
      -      },
      -      {
      -        "type": "null"
      -      }
      -    ],
      -    "description": "What one month of Premium covered on this topic, from Comidoc's history."
      -  }
      -}
    • removedOutput schema / properties / data / items / properties / access / required
      Removed value: -[
      -  "requires",
      -  "price",
      -  "price_with_coupon",
      -  "savings",
      -  "currency",
      -  "topic_last_30_days",
      -  "recommendation",
      -  "reason"
      -]
    • addedOutput schema / properties / data / items / properties / coupon_code / $ref
      Added value: +"#/$defs/s1"
    • removedOutput schema / properties / data / items / properties / coupon_code / description
      Removed value: -"The current coupon code when meta.coupon_codes_included is true; otherwise null."
    • removedOutput schema / properties / data / items / properties / coupon_code / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedOutput schema / properties / data / items / properties / course / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / data / items / properties / course / properties / course_url / description
      Previous value: -"The Comidoc course page to open in the person's browser signed in to comidoc.com: with Premium it goes straight to Udemy with the coupon applied; without Premium it shows the course and the Premium offer."New value: +"Comidoc course page: open it in the person's browser signed in to comidoc.com (see instructions)."
    • removedOutput schema / properties / data / items / properties / course / properties / duration_minutes / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / course / properties / duration_minutes / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / course / properties / id / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / data / items / properties / course / properties / id / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / data / items / properties / course / properties / last_course_update_at / anyOf
      Removed value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / course / properties / last_course_update_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / course / properties / last_course_update_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / course / properties / original_price / description
      Removed value: -"Latest Udemy price observed by Comidoc for the course, in USD."
    • removedOutput schema / properties / data / items / properties / course / properties / published_at / anyOf
      Removed value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / course / properties / published_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / course / properties / published_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / course / properties / topics / items / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / properties / created_at / description
      Removed value: -"When Comidoc first tracked this coupon."
    • removedOutput schema / properties / data / items / properties / created_at / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedOutput schema / properties / data / items / properties / expires_at / anyOf
      Removed value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / data / items / properties / expires_at / description
      Removed value: -"The known coupon expiry reported by Udemy."
    • addedOutput schema / properties / data / items / properties / expires_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / expires_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / last_confirmed_active_at / anyOf
      Removed value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / last_confirmed_active_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / last_confirmed_active_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / last_verified_at / anyOf
      Removed value: -[
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / last_verified_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / last_verified_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / redemptions / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / data / items / properties / redemptions / properties / observed_at / description
      Removed value: -"When Comidoc last observed the returned capacity values."
    • removedOutput schema / properties / data / items / properties / redemptions / properties / observed_at / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedOutput schema / properties / data / items / properties / redemptions / properties / redeemed / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / redemptions / properties / redeemed / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / redemptions / properties / remaining / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / redemptions / properties / remaining / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / redemptions / properties / total / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": -9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / redemptions / properties / total / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / status_reason / anyOf
      Removed value: -[
      -  {
      -    "enum": [
      -      "end_date_passed",
      -      "redemption_limit_reached",
      -      "udemy_inactive_or_expired",
      -      "course_became_free",
      -      "not_instructor_created",
      -      "udemy_rejected_other",
      -      "legacy_unclassified"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / status_reason / enum
      Added value: +[
      +  "end_date_passed",
      +  "redemption_limit_reached",
      +  "udemy_inactive_or_expired",
      +  "course_became_free",
      +  "not_instructor_created",
      +  "udemy_rejected_other",
      +  "legacy_unclassified",
      +  null
      +]
    • addedOutput schema / properties / data / items / properties / status_reason / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / data / items / properties / udemy_url / $ref
      Added value: +"#/$defs/s1"
    • removedOutput schema / properties / data / items / properties / udemy_url / description
      Removed value: -"The direct Udemy URL when meta.coupon_codes_included is true; otherwise null."
    • removedOutput schema / properties / data / items / properties / udemy_url / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • removedOutput schema / properties / meta / additionalProperties
      Removed value: -false
    • addedOutput schema / properties / meta / properties / account_hint
      Added value: +{
      +  "description": "Anonymous results with coupon offers: ask about a Comidoc account. Follow it.",
      +  "type": "string"
      +}
    • removedOutput schema / properties / meta / properties / applied_limit / description
      Removed value: -"The page size actually used: the requested limit, reduced to max_page_size."
    • removedOutput schema / properties / meta / properties / applied_limit / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / applied_limit / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / coupon_codes_included / description
      Removed value: -"Whether coupon_code values are included in this response."
    • removedOutput schema / properties / meta / properties / max_page_size / description
      Removed value: -"The most results per page for this connection."
    • removedOutput schema / properties / meta / properties / max_page_size / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / max_page_size / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / meta / properties / quota / properties / limit / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / limit / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / quota / properties / remaining / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / remaining / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / quota / properties / resets_at / pattern
      Removed value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • removedOutput schema / properties / meta / properties / quota / properties / used / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / meta / properties / quota / properties / used / minimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / requested_limit / description
      Removed value: -"The limit the call asked for."
    • removedOutput schema / properties / meta / properties / requested_limit / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / meta / properties / requested_limit / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / pagination / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / pagination / properties / limit / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / pagination / properties / limit / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / pagination / properties / total / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / pagination / properties / total / minimum
      Removed value: -0
  3. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add genuine behavior context beyond that: the shape of a result (total, remaining, redeemed, expiry, observation freshness), the access block on active offers, and the important limit that coupon codes are not returned. It does not address pagination, the cap of 10 results per page, or what happens when a coupon is expired/invalid.

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?

Four sentences, front-loaded with the core purpose and then the return shape, with no filler or repetition. Dense and well-ordered, though the third and fourth sentences could be consolidated.

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

Completeness3/5

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

The output schema exists, so return-field explanation is largely redundant but the description does cover the notable omission (no coupon codes). For a 27-parameter, 0-required search tool, the absence of any filtering or pagination guidance leaves a real gap an agent must fill by reading the schema itself.

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

Parameters2/5

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

Schema description coverage is only 26% across 27 parameters, so the description carries a heavy burden it largely ignores: no explanation of sort ordering, unique_course, repeat_coupon_course, regular_coupon_issuer, level, topic, or discount_type. Only 'current or historical' loosely maps to the status parameter, and pagination is left entirely to the schema's limit/cursor descriptions.

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 opens with a specific verb+resource ("Find current or historical coupon offers") and scopes the result set to coupon offers rather than courses, which is enough to separate it from search_courses or show_course_cards. It never names a sibling or explicitly contrasts the tool with them, so it falls short of a 5.

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 statement of when to use this tool versus alternatives such as search_courses, get_my_access, or show_course_cards, and no guidance on when the historical/expired mode applies versus the default active listing. The only hint is the phrase 'current or historical', which implies a status filter but does not tell the agent how to select it.

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