Skip to main content
Glama

get_recent_activity

Retrieve recent activities and updates across all Moodle courses, with an optional Unix timestamp to filter from a specific date.

Instructions

Returns recent activity/updates across courses. Optionally specify 'since' as Unix timestamp (defaults to 7 days ago)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNo
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It states the tool returns activity/updates with a default time range, but fails to disclose if it is read-only, what types of activities are included, or any limitations like pagination or rate limits.

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?

The description is a single sentence that cleanly states the purpose and parameter behavior. It is front-loaded and contains no unnecessary words.

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

Completeness2/5

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

Lacking output schema, the description should hint at return format or structure, but it does not. It also does not clarify whether 'across courses' means all enrolled courses or a subset. The scope of activity types is vague.

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 parameter schema has 0% coverage, meaning no description for 'since'. The description adds meaningful information: it specifies the parameter is optional, expects a Unix timestamp, and defaults to 7 days ago. This significantly aids agent understanding.

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 clearly states the tool returns recent activity/updates across courses, with a specific verb and resource. It does not explicitly distinguish from sibling tools like get_course_announcements or get_upcoming_events, but the purpose is clear.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives. The description only mentions the optional 'since' parameter, with no context on appropriate use cases or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/loyaniu/moodle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server