Skip to main content
Glama

list_exams

Read-onlyIdempotent

Retrieves the exams a student can see in a course, including titles, dates, working time, and points while omitting future-visible exams.

Instructions

List exams visible to the student in one course: title, dates, working time, and points. Exams whose visible date is still in the future are omitted. This overview does not include a seat. 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_exams"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, so the safety profile is covered. Beyond that, the description discloses the visibility filter (future-visible exams excluded) and the absence of seat information, which are real behavioral constraints the agent could not infer from annotations alone.

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?

Three short sentences with the resource and scope front-loaded, followed by exclusions. No wasted wording; the seat remark is slightly cryptic but still carries information.

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?

No output schema exists, and the description compensates by listing the returned fields, so the agent knows what a result contains. The main residue is the unexplained courseId semantics, but for a single-parameter read tool this is largely adequate.

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 carry the burden for courseId. It only implies the parameter via 'in one course' and never states that courseId is required, its integer type, or what happens for an invalid course. Small compensation, but not enough to fully cover the gap.

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?

Names a specific verb and resource ('List exams') and constrains scope ('visible to the student in one course'), then enumerates returned fields (title, dates, working time, points). It does not explicitly distinguish itself from siblings like get_exam_result, but the scope statement is precise enough to identify the operation.

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?

Gives one concrete usage rule: exams whose visible date is in the future are omitted, which tells the agent what it will not see. The statement that the overview 'does not include a seat' implies another tool exists for that, but no alternative is named, and there is no explicit when-to-use vs. when-not guidance.

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