# moodle_list_forums

List all forum activities in a course, grouped by section. Returns forum IDs for use with moodle_get_forum_discussions.

Agent View of the PolicyLayer registry record for `moodle_list_forums`. HTML page: https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-list-forums

## Facts

- Tool: `moodle_list_forums`
- Server: Moodle (`1alexandrer/moodle-mcp`) — https://policylayer.com/tools/1alexandrer-moodle-mcp.md
- Homepage: https://github.com/1alexandrer/moodle-mcp
- Risk category: Read (Low risk)
- Registry record: grade A, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "moodle_list_forums",
    "arguments": {}
  }
}
```

## Why moodle_list_forums is rated Low

This tool retrieves and queries forum information from a Moodle course without creating, modifying, or deleting any data. It is a straightforward enumeration operation that provides references to existing forum resources. The blast radius of misuse is minimal—an agent could discover forum structure but cannot alter course content, student grades, or any other state.

From the tool's own definition: "Tool description states it 'List all forum activities in a course' and 'Returns forum IDs for use with moodle_get_forum_discussions.' The verb 'List' and the return of identifiers indicates a read-only query operation with no data modification or side effects."

## Use case

AI agents call moodle_list_forums to retrieve information from Moodle without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Moodle:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "moodle_list_forums": {}
  }
}
```

## Other tools on Moodle (13)

- `moodle_download_file` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-download-file.md
- `moodle_get_assignment` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-assignment.md
- `moodle_get_calendar_events` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-calendar-events.md
- `moodle_get_course` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-course.md
- `moodle_get_forum_discussions` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-forum-discussions.md
- `moodle_get_grades` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-grades.md
- `moodle_get_notifications` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-notifications.md
- `moodle_get_quiz_attempts` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-quiz-attempts.md
- `moodle_get_site_info` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-get-site-info.md
- `moodle_list_assignments` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-list-assignments.md
- `moodle_list_courses` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-list-courses.md
- `moodle_list_quizzes` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-list-quizzes.md
- `moodle_list_resources` — Read — https://policylayer.com/tools/1alexandrer-moodle-mcp/moodle-list-resources.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=1alexandrer-moodle-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1alexandrer-moodle-mcp
