Skip to main content
Glama
illlilililiililll

LearnUs local MCP server

learnus_list_announcements

Read-onlyIdempotent

Lists recent LearnUs course announcement summaries, optionally filtered by course ID, so users can check course notices. Use for announcement summaries, not full bodies.

Instructions

Lists normalized LearnUs ubboard announcement summaries, newest dated items first. Use when the user asks for recent course notices or announcements, optionally in one known course. Do not use it for a full announcement body; use learnus_get_announcement with known module/article IDs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of newest announcement summaries to return.
courseIdNoExact Moodle course ID returned by a LearnUs course tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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 still adds behavioral value beyond the annotations: results are normalized summaries, returned newest-first, and are intentionally not full bodies. It stops short of any pagination or rate-limit detail, so not a 5.

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

Conciseness5/5

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

Three sentences, no filler, and the ordering/scope constraint is front-loaded before the usage and exclusion guidance. Every sentence carries information the agent needs.

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-only list tool with no output schema, the description covers scope, ordering, return granularity (summaries, not bodies) and the routing alternative. It could say slightly more about what fields a summary contains, but nothing needed for correct invocation is missing.

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?

Schema coverage is 100%, so both parameters (limit default 10/max 50, courseId pattern) are already documented. The description only restates the optional single-course filter ('optionally in one known course') and implies newest-first ordering from limit, adding little beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb (Lists), resource (normalized LearnUs ubboard announcement summaries), and scope/ordering (newest dated items first). The sibling it must not be confused with, learnus_get_announcement, is named explicitly.

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

Usage Guidelines5/5

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

Gives a positive trigger ('recent course notices or announcements, optionally in one known course') and an explicit exclusion ('Do not use it for a full announcement body') with the correct alternative tool and the condition (known module/article IDs) that selects it.

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