Skip to main content
Glama

get_tasks

Read-onlyIdempotent

Fetch all tasks and homework from Lanis Mein Unterricht, including subject, teacher, description, attachments, and download links, to review assignments and download materials.

Instructions

Return all tasks and homework from the 'Mein Unterricht' section of Lanis.

Fetches tasks assigned to the user including subject, teacher, description, and download links for attachments.

Args: response_format: Output format - 'markdown' (default) or 'json'.

Returns: List of tasks. JSON schema: { "count": int, "tasks": [ { "title": str, "date": "YYYY-MM-DD", "subject_name": str, "teacher": str, "description": str, # may be empty "details": str, # may be empty "attachments": [str], # list of attachment filenames "attachment_url": str # zip download URL, may be empty } ] }

Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No tasks found." if there are none

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_tasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, so the safety profile is covered. The description adds genuinely new behavior: it returns the literal string 'Error: ...' on API or auth failure, returns 'No tasks found.' when empty, and notes that description/details may be empty and that attachment_url is a zip download. Only auth requirements and any rate/scope limits are left unstated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The Args/Returns/Error Handling structure is well organized and front-loads purpose, but the full embedded JSON return schema duplicates the output schema that already exists, consuming a large share of the text for no new information. Everything else earns its place.

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 single-parameter read tool, the definition covers purpose, error strings, and empty-result behavior, which is what an agent needs to interpret results. The return-value duplication is redundant rather than missing, and the only real omission is any precondition about authentication/account context.

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?

There is a single optional parameter whose enum values and default are already fully defined in the schema ($defs ResponseFormat plus default='markdown'); the description's 'Args: response_format: Output format - markdown (default) or json' largely restates that. It adds no format-specific consequences (e.g., how markdown output is structured).

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 ('Return all tasks and homework from the Mein Unterricht section of Lanis') and enumerates the fields returned (subject, teacher, description, attachments). It is distinguishable from calendar/timetable siblings by the named Lanis section, although it never explicitly contrasts itself with them.

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 can infer this is the tool for homework/tasks rather than the timetable or calendar. There is no statement of when to prefer a sibling, no prerequisites (e.g., authenticated session required), and no exclusions.

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