Skip to main content
Glama

list_semesters

Lists all academic semesters available for a specific course in a department, enabling users to select the correct exam period when accessing question papers.

Instructions

List all academic semesters available for a specific course in a department (e.g. 'Fall 24', 'Spring 25', 'Summer 24'). Default option for users is 'all'.

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": {
      "department": "<department>",
      "course": "<course>"
    },
    "name": "list_semesters"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseYes
departmentYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the behavioral burden. 'List all' implies a read-only retrieval and the scope is clear, but it does not explain validation of department/course, ordering, what 'available' means, error behavior, or how the ambiguous 'all' default relates to the tool.

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?

The purpose is front-loaded in a single efficient sentence with useful examples. The second sentence about a default 'all' option is unclear and potentially irrelevant because no option parameter is exposed, but the overall wording remains concise.

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?

For a simple two-parameter list tool with an output schema, the description covers the core purpose and gives semester examples. However, with no annotations and no parameter descriptions in the schema, it leaves important gaps around valid parameter values and the ambiguous 'all' default.

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?

Both required parameters have 0% schema description coverage. The description only indicates that the course is in a department and gives no expected format, identifier type, case sensitivity, or examples for the department and course values.

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 uses a specific verb and resource: 'List all academic semesters', scoped to 'a specific course in a department', with concrete examples. It clearly states what the tool does, though it does not explicitly distinguish itself from siblings such as list_courses or list_departments.

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: call this when semester options are needed for a given department and course. However, it gives no explicit when-to-use, when-not-to-use, prerequisites, or alternatives. The final sentence about a default 'all' option does not help invocation because the schema has no such parameter.

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