Skip to main content
Glama

Get DSBmobile News and Announcements

get_news
Read-onlyIdempotent

Fetches DSBmobile school news and announcements with titles, details, dates, and tags, so users can check what's new or find upcoming events.

Instructions

Retrieves all news and announcements posted on DSBmobile.

Returns a list of news items, each with:

  • id: Unique identifier for the news item

  • title: News headline or title

  • detail: News content, URL to more details, or plain text announcement

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

  • tags: Associated tags or categories (may be empty)

Use this tool when:

  • A user asks about school announcements or news

  • A user wants to know about upcoming school events

  • A user asks "What's new at school?"

Returns "No news available" if no news items 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_news"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, and the description still adds real behavioral context: the empty-state response ("No news available"), the authentication failure mode with the DSB_USERNAME/DSB_PASSWORD variables to check, and the service-unavailable case. That is exactly the kind of failure-mode disclosure an agent needs and that annotations cannot express.

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?

Purpose is front-loaded in the first sentence, and the bulleted return-field list plus the when-to-use block are scannable and each element carries information. A few lines are slightly padded (the quoted example question, the separate "Error handling" header), but nothing is genuinely wasted.

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 output schema and no parameters, the description carries the full burden and discharges it: it defines every returned field, the empty-result case, and both error modes. An agent has everything needed to call this tool and interpret its output without further lookup.

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 takes zero parameters, so the schema imposes nothing to explain and the baseline of 4 applies. The description usefully redirects that space into documenting the return object fields, which no schema covers.

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 opening sentence gives a specific verb and resource ("Retrieves all news and announcements posted on DSBmobile") plus the exact shape of each returned item, so an agent knows precisely what it gets. It does not explicitly distinguish itself from the sibling tools (get_documents, get_substitutions, get_timetables), though the resource naming makes the split reasonably obvious.

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?

A dedicated "Use this tool when" block lists three concrete triggers, including a natural-language user phrasing ("What's new at school?"), which is strong positive guidance. There are no exclusions or named alternatives for overlapping cases, so it stops short of the 5-level bar.

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