Skip to main content
Glama

get_file_storage

Read-onlyIdempotent

Lists folders and files in the school file storage and lets you navigate into subfolders by folder ID to view stored documents and download links.

Instructions

Return the contents of the school file storage (Dateispeicher).

Lists folders and files in the Lanis file storage system. By default returns the root level. Use folder_id to navigate into sub-folders.

Args: folder_id: Optional folder ID to navigate into. Omit for root level. response_format: Output format - 'markdown' (default) or 'json'.

Returns: Folder contents. JSON schema: { "folder_id": str, "folder_name": str, "folders": [ { "id": str, "name": str, "description": str } ], "files": [ { "id": str, "name": str, "description": str, "download_url": str } ] }

Error Handling: - Returns "Error: ..." on API or auth failure - Returns "No items found." if the folder is empty

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_storage"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idNo
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 readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds value beyond that: it discloses error behavior ('Returns "Error: ..." on API or auth failure') and the empty-folder case ('No items found.'), which an agent cannot infer from annotations. It stops short of 5 because it says nothing about pagination or size limits.

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 prose is well front-loaded and the Args/Returns/Error Handling structure is scannable. However, the block embeds a full JSON response schema even though a formal output schema already exists, which is redundant bulk rather than value-adding content.

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 two-parameter read tool this covers navigation defaults, output format options, error conditions, and the empty-result case — everything needed to call it correctly. The redundant return-schema listing is unnecessary given the output schema, but nothing essential is missing.

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 0%, so the description must carry the parameter burden, and it does: folder_id is explained functionally ('navigate into sub-folders... Omit for root level') and response_format is given with its allowed values and default. The only gap is that folder_id's format/origin (how an ID is obtained) is not described.

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 the contents of the school file storage (Dateispeicher)' and clarifies it 'Lists folders and files in the Lanis file storage system.' An agent immediately knows this is a folder-listing tool. However, it never distinguishes itself from sibling tools such as get_folders, which could plausibly do something similar, so it falls short of a 5.

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 useful operational guidance — 'By default returns the root level. Use folder_id to navigate into sub-folders' and 'Omit for root level' — which tells the agent how to traverse. But there is no when-to-use versus when-not guidance and no reference to any alternative like get_folders, leaving the choice between siblings implied rather than stated.

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