Skip to main content
Glama

list_exercises

Read-onlyIdempotent

Retrieve student-visible exercises for a course, excluding grades, submissions, solutions, and unreleased items. Use it to browse available course exercises without changing data.

Instructions

List student-visible exercises in one course. Returns id, courseId, type, title, releaseDate, startDate, and dueDate. Omits grades, submissions, solutions, and exercises whose release date is still in the future. Read-only.

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": {
      "courseId": "<courseId>"
    },
    "name": "list_exercises"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so repeating 'Read-only' adds little. But the description does add real behavioral context beyond the annotations: it enumerates returned fields and, importantly, discloses what is filtered out (grades, submissions, solutions, and future release-date exercises), which an agent could not infer from structured data.

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?

Three compact sentences: purpose first, then returned fields, then exclusions and safety. Every sentence carries new information with no filler.

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?

For a simple one-parameter list tool with annotations and no output schema, the description covers purpose, returned fields, and filtering behavior well. It does not address pagination, ordering, or result size, which are the remaining relevant unknowns for a list endpoint.

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 0% on a single parameter, courseId. The phrase 'in one course' confirms that the call is scoped to a single course id and implies a required, non-optional scope, but adds no format or constraint detail beyond the schema's integer/minimum:1.

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 student-visible exercises') plus the scope ('in one course'), which is unambiguous. It does not explicitly differentiate itself from the sibling 'get_exercise', so it falls just short of the top band.

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?

Use is implied by the scoping to a single course, and the omission list hints that this is the summary view rather than a detail view. However, there is no explicit when-to-use or when-not-to-use guidance, and no mention of 'get_exercise' or 'list_courses' as alternatives.

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