Skip to main content
Glama
TimeEdit MCP Server
by ekvanox

list_courses_for_program

Retrieve courses linked to a specific program by name or numeric ID, with an optional result limit.

Instructions

List courses associated with a specific program query (name or numeric program id).

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": {
      "program_query": "<program_query>"
    },
    "name": "list_courses_for_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
program_queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing behavioral. It does not say what happens when the program query matches nothing (empty list vs error), whether results are ordered, or how the 200 default limit caps 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?

A single tight sentence with the key disambiguation (name or numeric id) placed up front. Nothing is wasted, though it could have spent a few more words on the limit parameter instead of stopping there.

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

Completeness2/5

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

Return values are covered by the output schema, so that gap is excused. However, for a tool with zero annotation coverage and 0% schema description coverage, the description leaves the limit/pagination behavior and no-match behavior entirely unexplained.

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 0%, so the description must compensate. It adds real meaning for program_query (name OR numeric id), but says nothing about the 'limit' parameter, whose default of 200 and maximum/allowed range are undocumented in both places.

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 ('List courses associated with a specific program') and clarifies the query accepts a name or numeric id. It does not distinguish itself from siblings such as search_courses_fuzzy or list_programs, leaving the agent to infer the boundary.

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 only implied by the description: it is the tool to use when you already have a program (name or id) and want its courses. There is no explicit when-not guidance, no mention of how it differs from search_courses_fuzzy, and no prerequisite notes.

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