Skip to main content
Glama

Show course cards

show_course_cards
Read-onlyIdempotent

Display Comidoc courses as visual cards in clients that support MCP Apps: image, title, instructor, rating, duration, Udemy price and price with the coupon, coupons left, coupon end date, and language. Takes Udemy course IDs or Comidoc slugs, in display order. Each card links to course_url, the Comidoc course page; cards show no coupon code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courses": "<courses>"
    },
    "name": "show_course_cards"
  }
}

Input Schema

NameRequiredDescriptionDefault
coursesYesThe final courses to show, in display order: Udemy course IDs (numbers) or Comidoc slugs taken from previous Comidoc results. At most 10 for this connection.
headingNoA short heading matching the person's request.

Output Schema

NameRequiredDescriptionDefault
dataYes
kindYes
metaYes
shownYes
headingYes
not_foundYesRequested identifiers that match no active Comidoc course.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed41 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / courses / items / anyOf
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "maxLength": 200,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "exclusiveMinimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +]
    • 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 / availability_checked_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 / availability_checked_at / format
      Added value: +"date-time"
    • addedOutput schema / properties / data / items / properties / availability_checked_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / course_id / exclusiveMinimum
      Removed value: -0
    • removedOutput schema / properties / data / items / properties / course_id / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / data / items / properties / duration_minutes / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / duration_minutes / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • 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"
      -  }
      -]
    • 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 / final_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / final_price / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / original_price / anyOf
      Removed value: -[
      -  {
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / data / items / properties / original_price / description
      Removed value: -"Udemy price observed by Comidoc, before any coupon."
    • addedOutput schema / properties / data / items / properties / original_price / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / rating / anyOf
      Removed value: -[
      -  {
      -    "maximum": 5,
      -    "minimum": 0,
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / rating / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / remaining_redemptions / anyOf
      Removed value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / data / items / properties / remaining_redemptions / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
    • removedOutput schema / properties / data / items / properties / thumbnail_url / anyOf
      Removed value: -[
      -  {
      -    "format": "uri",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedOutput schema / properties / data / items / properties / thumbnail_url / description
      Removed value: -"Udemy course image, or null."
    • addedOutput schema / properties / data / items / properties / thumbnail_url / format
      Added value: +"uri"
    • addedOutput schema / properties / data / items / properties / thumbnail_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / meta / additionalProperties
      Removed value: -false
    • 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
    • changedOutput schema / properties / not_found / items / anyOf
      Previous value: -[
      -  {
      -    "exclusiveMinimum": 0,
      -    "maximum": 9007199254740991,
      -    "type": "integer"
      -  },
      -  {
      -    "maxLength": 200,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "type": "integer"
      +  },
      +  {
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  }
      +]
    • removedOutput schema / properties / shown / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / shown / minimum
      Removed value: -0
  2. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful rendering behavior (what fields appear, that cards link to course_url, and that no coupon code is shown), but omits anything about failure modes or what happens when a slug is unknown.

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?

Front-loaded with the verb and output medium, then the field list, then the input contract. The long field enumeration earns its place by telling the agent what the user will see, though it reads as a dense run-on rather than clearly grouped clauses.

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?

Output schema exists so return values need no explanation, and the description covers rendering context, input source, and ordering. Remaining gap is error/edge behavior for invalid IDs, which matters slightly more for a display tool that other tools feed into.

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% and the schema already documents both parameters, including 'display order' and the 10-item limit. The description largely restates that ('in display order', 'At most 10 for this connection') rather than adding new meaning such as slug format examples or duplicate handling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb ('Display') plus resource ('Comidoc courses as visual cards') and immediately scopes it to 'clients that support MCP Apps'. The enumerated card fields and the 'Takes Udemy course IDs or Comidoc slugs' clause make the tool's role distinct from the search/fetch 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?

Implies the precondition that IDs/slugs come 'from previous Comidoc results' and constrains use to MCP Apps–capable clients, which effectively tells the agent when not to reach for it. It stops short of naming a specific alternative tool for non-MCP clients or for plain-text listing.

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