Skip to main content
Glama

Get DSBmobile Documents

get_documents
Read-onlyIdempotent

Retrieve all DSBmobile documents and files with IDs, titles, download URLs, and upload dates so users can find or download school documents.

Instructions

Retrieves all documents and files available on DSBmobile.

Returns a list of document entries, each with:

  • id: Unique identifier for the document

  • title: Document name or title

  • url: Download URL for the document (typically a PDF or image)

  • date: Upload date in DD.MM.YYYY HH:MM format

Use this tool when:

  • A user asks about school documents or files

  • A user wants to download a specific document

  • A user asks "Are there any documents on DSBmobile?"

Returns "No documents available" if no documents are currently published.

Error handling:

  • Returns an error message if authentication fails (check DSB_USERNAME and DSB_PASSWORD)

  • Returns an error message if the DSBmobile service is unavailable

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses the return fields, the exact empty-result message, and two error conditions including authentication failure and service unavailability. It even identifies the relevant environment variables, giving the agent useful operational context.

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?

The description is front-loaded and organized into return details, usage conditions, and error handling. It is slightly verbose for a zero-parameter tool, and the sample user question partially repeats the bullet list, but every section remains useful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no input parameters and no output schema, the description fully compensates by documenting the returned list structure, field meanings, empty-state behavior, and failure modes. Nothing an agent needs to call and interpret this tool 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?

The tool has no parameters, so there is no parameter semantics burden. The baseline score of 4 is appropriate because the schema requires nothing and the description correctly does not invent parameter behavior.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: retrieves all documents and files available on DSBmobile. It clearly distinguishes this from sibling tools such as get_news and get_timetables by naming the concrete resource it returns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit use cases with bullet points, including school document questions, download requests, and a sample user query. It does not state when not to use the tool or name an alternative, but no sibling appears to overlap with document retrieval.

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