Skip to main content
Glama

Fetch a course

fetch_course
Read-only

Fetch one course by Udemy course ID or slug, including topics, coupon history, live redemption capacity, and the access block when it has an active coupon or is free on Udemy. 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": "fetch_course"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idNoUdemy's numeric course ID.
course_slugNo

Output Schema

NameRequiredDescriptionDefault
metaYes
foundYes
courseYesThe course: same fields as search_courses data[], including offers and access.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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. Changed18 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / course_id / maximum
      Removed value: -9007199254740991
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / course / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "access": {
      -        "additionalProperties": false,
      -        "description": "What accessing this coupon requires and what Comidoc Premium is worth for this person. Absent for developer API Pro keys.",
      -        "properties": {
      -          "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."
      -          }
      -        },
      -        "required": [
      -          "requires",
      -          "price",
      -          "price_with_coupon",
      -          "savings",
      -          "currency",
      -          "topic_last_30_days",
      -          "recommendation",
      -          "reason"
      -        ],
      -        "type": "object"
      -      },
      -      "active_offer_count": {
      -        "description": "Exact number of currently available active offers.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "category": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "coupon_history": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "is_repeat_coupon_course": {
      -            "type": "boolean"
      -          },
      -          "total_observed": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "total_observed",
      -          "is_repeat_coupon_course"
      -        ],
      -        "type": "object"
      -      },
      -      "course_url": {
      -        "description": "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.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "description": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "duration_minutes": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "id": {
      -        "description": "Udemy's canonical numeric course ID.",
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "instructor": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "image_url": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "is_regular_coupon_issuer": {
      -            "type": "boolean"
      -          },
      -          "name": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "offers_in_window": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "slug": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "window_days": {
      -            "exclusiveMinimum": 0,
      -            "maximum": 9007199254740991,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "name",
      -          "slug",
      -          "image_url",
      -          "offers_in_window",
      -          "window_days",
      -          "is_regular_coupon_issuer"
      -        ],
      -        "type": "object"
      -      },
      -      "is_free": {
      -        "description": "Whether the course is free on Udemy without any coupon (naturally free).",
      -        "type": "boolean"
      -      },
      -      "is_practice_test": {
      -        "type": "boolean"
      -      },
      -      "language": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "last_course_update_at": {
      -        "anyOf": [
      -          {
      -            "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"
      -          }
      -        ]
      -      },
      -      "level": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "offer_count": {
      -        "description": "Exact number of offers matching the current request filters.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "offers": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "coupon_code": {
      -              "description": "The current coupon code when meta.coupon_codes_included is true; otherwise null.",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "created_at": {
      -              "description": "When Comidoc first tracked this coupon.",
      -              "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"
      -            },
      -            "discount_type": {
      -              "enum": [
      -                "free",
      -                "percentage"
      -              ],
      -              "type": "string"
      -            },
      -            "discount_value": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "expires_at": {
      -              "anyOf": [
      -                {
      -                  "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"
      -                }
      -              ],
      -              "description": "The known coupon expiry reported by Udemy."
      -            },
      -            "final_price": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "last_confirmed_active_at": {
      -              "anyOf": [
      -                {
      -                  "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"
      -                }
      -              ],
      -              "description": "When Comidoc last successfully confirmed this coupon as active."
      -            },
      -            "last_verified_at": {
      -              "anyOf": [
      -                {
      -                  "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"
      -                }
      -              ],
      -              "description": "When Comidoc last attempted to verify this coupon, including failed attempts."
      -            },
      -            "original_price": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "redemptions": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "observed_at": {
      -                  "description": "When Comidoc last observed the returned capacity values.",
      -                  "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"
      -                },
      -                "redeemed": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "remaining": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                },
      -                "state": {
      -                  "enum": [
      -                    "known",
      -                    "unknown",
      -                    "stale",
      -                    "exhausted"
      -                  ],
      -                  "type": "string"
      -                },
      -                "total": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "total",
      -                "remaining",
      -                "redeemed",
      -                "state",
      -                "observed_at"
      -              ],
      -              "type": "object"
      -            },
      -            "status": {
      -              "enum": [
      -                "active",
      -                "expired",
      -                "invalid",
      -                "pending_verification"
      -              ],
      -              "type": "string"
      -            },
      -            "status_reason": {
      -              "anyOf": [
      -                {
      -                  "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"
      -                }
      -              ]
      -            },
      -            "udemy_url": {
      -              "description": "The direct Udemy URL when meta.coupon_codes_included is true; otherwise null.",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "coupon_code",
      -            "status",
      -            "status_reason",
      -            "discount_type",
      -            "discount_value",
      -            "final_price",
      -            "original_price",
      -            "redemptions",
      -            "expires_at",
      -            "created_at",
      -            "last_verified_at",
      -            "last_confirmed_active_at",
      -            "udemy_url"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "offers_truncated": {
      -        "description": "Whether matching offers were omitted from the embedded array.",
      -        "type": "boolean"
      -      },
      -      "original_price": {
      -        "description": "Latest Udemy price observed by Comidoc for the course, in USD.",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "published_at": {
      -        "anyOf": [
      -          {
      -            "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"
      -          }
      -        ]
      -      },
      -      "rating": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "record_updated_at": {
      -        "description": "Comidoc record synchronization timestamp; never used by last_course_updated_after.",
      -        "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"
      -      },
      -      "returned_offer_count": {
      -        "description": "Number of offers embedded in this response.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "reviews": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "slug": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "students": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "subcategory": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "thumbnail_url": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "title": {
      -        "type": "string"
      -      },
      -      "topics": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "confidence": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "order": {
      -              "maximum": 9007199254740991,
      -              "minimum": -9007199254740991,
      -              "type": "integer"
      -            },
      -            "slug": {
      -              "type": "string"
      -            },
      -            "title": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "slug",
      -            "title",
      -            "order",
      -            "confidence"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "slug",
      -      "title",
      -      "description",
      -      "thumbnail_url",
      -      "course_url",
      -      "instructor",
      -      "category",
      -      "subcategory",
      -      "language",
      -      "level",
      -      "rating",
      -      "reviews",
      -      "students",
      -      "duration_minutes",
      -      "is_practice_test",
      -      "is_free",
      -      "original_price",
      -      "published_at",
      -      "record_updated_at",
      -      "last_course_update_at",
      -      "topics",
      -      "coupon_history",
      -      "offer_count",
      -      "returned_offer_count",
      -      "active_offer_count",
      -      "offers_truncated",
      -      "offers"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / course / description
      Added value: +"The course: same fields as search_courses data[], including offers and access."
    • addedOutput schema / properties / course / type
      Added value: +[
      +  "object",
      +  "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 / coupon_codes_included / description
      Removed value: -"Whether coupon_code values are included in this response."
    • 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
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish that this is a read-only, closed-world operation, so the description's main contribution is explaining the returned data and its limits. It adds useful behavioral context such as live redemption capacity, conditional access blocks, and the explicit exclusion of coupon codes, though it does not discuss permissions or freshness guarantees.

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?

The description is two tight sentences that front-load the action and identify the resource immediately. The second sentence adds only high-value constraints about course_url and excluded coupon codes, with no redundant wording.

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?

Given that an output schema exists and annotations cover the safety profile, the description provides sufficient context about what the tool returns and what it omits. The main completeness gap is the missing explicit rule that the caller must provide a course identifier, especially since neither parameter is marked required.

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?

The description says the course can be fetched by course ID or slug, which adds some selector meaning beyond the schema. With only 50% schema description coverage and zero required parameters, it still fails to clarify whether exactly one of course_id or course_slug must be supplied, what happens if both are provided, or what format the slug takes.

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 specific verb and resource: fetch one course by Udemy course ID or slug. It also enumerates the extra data returned, so the tool's purpose is clear against search or listing tools, but it does not explicitly differentiate from named siblings such as show_course_cards or fetch_topic.

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?

Usage is implied by the need to have a course ID or slug, which suggests this is for retrieving a known course rather than browsing or searching. However, there is no explicit guidance on when to use this versus alternatives like search_courses, show_course_cards, or fetch_topic.

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