Skip to main content
Glama

get_lecture

Read-onlyIdempotent

Read one lecture and its student-visible materials, including file details and Artemis paths, while omitting hidden units. Use this read-only lookup to review content without marking units complete.

Instructions

Read one lecture and student-visible materials. Stored files include a downloadUrl, name, mimeType, expiry, and the Artemis path. Hidden units are omitted. Read-only. Does not mark units complete.

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": {
      "lectureId": "<lectureId>"
    },
    "name": "get_lecture"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseIdNo
lectureIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the safety bar is low. The description still earns credit by disclosing result-shaping behavior the annotations cannot: hidden units are omitted, stored files carry downloadUrl/name/mimeType/expiry/Artemis path, and reading does not mark units complete. The last point is genuinely useful side-effect disclosure.

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?

Four short sentences, front-loaded with the core action, then return contents, then filtering, then side effects. No filler and nothing repeated from the name or annotations.

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?

With no output schema, the description usefully sketches the return payload (file fields, hidden units excluded), which is exactly what an agent needs. The remaining gap is the undocumented courseId parameter, which is the one thing an agent could still get wrong.

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?

Schema description coverage is 0% for both parameters, so the description carries the full burden and largely fails it. It never explains what courseId is for, whether it is required in practice alongside lectureId, or how the two identifiers relate; only lectureId is weakly implied by "one lecture".

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 ("Read one lecture") plus the scope of what is returned ("student-visible materials"), so it is clearly the single-item read counterpart to list-style siblings. It stops short of explicitly naming an alternative tool, so differentiation is implied by "one lecture" rather than stated.

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: an agent infers this is for fetching a single lecture by id rather than enumerating lectures. There is no explicit when-to-use/when-not-to-use statement, no prerequisite or permission guidance, and no named alternative for listing or bulk retrieval.

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