Skip to main content
Glama

moodle_login

Opens a local browser sign-in form for a specified Moodle site so users enter credentials outside chat and then continue with Moodle tools.

Instructions

Open a local browser form where the user signs in to a Moodle site. Returns immediately. Never ask the user for their password in chat: they type it into the form. Once they confirm, continue with moodle_list_sites or any other tool.

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": {
      "url": "<url>"
    },
    "name": "moodle_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesSite URL, for example https://do.ipo.kpi.ua

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent already knows this is a non-read-only, external-facing operation. The description adds real context beyond that: the credential flow happens in a local browser form, the call returns immediately rather than blocking on sign-in, and the user must confirm before work continues. What is missing is failure behavior, e.g. what happens if the user abandons the form.

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?

Three short sentences, front-loaded with the core action before the follow-up instructions. Every sentence carries operational value with no filler, though the final clause ("or any other tool") is slightly loose.

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?

No output schema exists, and the description compensates by stating the call returns immediately, which is the key return-behavior fact for an interactive flow. For a one-parameter login trigger, this covers what an agent needs to invoke it and proceed correctly; only abandonment/error handling is unaddressed.

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?

There is a single parameter with 100% schema description coverage, including an example URL, so the schema carries the parameter burden. The description adds no additional meaning about the url field beyond what the schema already states, which is the expected baseline here.

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: opens a local browser form where the user signs in to a Moodle site, and clarifies it returns immediately. An agent can tell this is an interactive login opener rather than a data-fetch tool. It stops short of naming the nearest lookalike sibling, moodle_browser_sync_login, so the distinction must be inferred from the name alone.

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?

Gives explicit follow-up routing ("Once they confirm, continue with moodle_list_sites or any other tool") and an explicit prohibition against asking for the password in chat. It does not say when to prefer this over moodle_browser_sync_login or moodle_browser_open, so the alternative-selection guidance is incomplete.

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