Skip to main content
Glama

get_file_distribution

Read-onlyIdempotent

Retrieve files and announcements distributed to a user via Schulportal Hessen's file distribution system, making school documents and group notices available for review or download.

Instructions

Return distributed files and announcements (Dateiverteilung / GRB Infos).

Fetches files that have been distributed to the user via the Lanis file distribution system (Dateiverteilung). These are typically school-wide announcements or documents shared with specific groups.

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

Returns: List of distributed files. JSON schema: { "count": int, "files": [ { "name": str, "description": str, "download_url": str, "date": str } ] }

Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No distributed files available." 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_file_distribution"
  }
}

Input Schema

NameRequiredDescriptionDefault
response_formatNomarkdown

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description goes beyond them by documenting failure behavior ("Error: ..." on API or auth failure) and the exact empty-state message, which genuinely helps an agent interpret results.

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 lead sentence is front-loaded and clear, but the block is inflated by a full JSON return schema that duplicates the existing output schema, plus a multi-line Args/Returns/Error Handling layout that reads like raw docstrings rather than agent-facing guidance.

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 with annotations and an output schema, the description covers purpose, format choice, and error/empty-state messaging, leaving little an agent would need to guess. The main inefficiency is restating the return shape that the output schema already defines.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0%, so the description carries the burden, and it does state the parameter's meaning and both allowed values with the default ('markdown' default, 'json' alternative). It adds little beyond the enum itself, but that is sufficient for a single optional parameter.

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 names a specific verb and resource ("Return distributed files and announcements") and clarifies the concept with the German term Dateiverteilung plus what the files actually are (school-wide announcements or group-shared documents). It does not explicitly contrast with the nearby get_file_storage or get_folders sibling, so an agent must infer that this is distribution/announcement content rather than general storage.

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?

It gives helpful context on what kind of content this returns (announcements, group-shared documents), which implies when to reach for it, but there is no explicit when-to-use or when-not-to-use statement and no named alternative such as get_file_storage for regular files.

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