Skip to main content
Glama

moodle_course_pages

Read-only

Reads the text of a Moodle course's Page activities, where teachers post lecture notes and practical work instructions, so you can retrieve course content by course id.

Instructions

Read the text of a course's Page activities, where teachers often put lectures and practical work instructions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "courseid": "<courseid>"
    },
    "name": "moodle_course_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoSite key or URL. Optional when only one site is logged in.
courseidYesCourse id from moodle_list_courses.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and network reach are covered. The description adds that the payload is page text content rather than structure, but says nothing about whether all Page activities are returned or just one, nor about permissions or failure modes when a course has no pages.

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?

A single front-loaded sentence with the action first and the contextual justification second; nothing is wasted. It is tightly sized, though the trailing clause is more motivation than operational detail.

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

Completeness3/5

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

With no output schema, the description carries some of the return burden and does say the result is page text. However, for a tool taking only a course id, it leaves ambiguous whether the response contains every Page activity in the course or a single one, which matters for how an agent consumes the result.

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% and both parameters are documented, including that courseid comes from moodle_list_courses. The description adds no syntax or format meaning beyond that, so the baseline 3 applies; it does at least reinforce that the id refers to a course scope.

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: reads the text of a course's Page activities, and adds a concrete characterization of what those pages contain (lectures, practical work instructions). An agent can distinguish this from a generic contents listing, though it never names moodle_course_contents or moodle_read_file to sharpen the boundary.

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?

The phrase about teachers putting lectures and practical work instructions implies when this is valuable, but there is no explicit when-to-use versus moodle_course_contents, moodle_read_file, or moodle_download_file, and no stated preconditions. Usage is inferable rather than directed.

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