Skip to main content
Glama

moodle_browser_sync_login

Destructive

Sync a signed-in browser session locally so Moodle read tools can access course data without exposing secrets, replacing the stored login with browser-session mode.

Instructions

After the user signs in in the browser, save that session locally for the regular Moodle read tools. No secrets are returned to chat. Replaces a stored login for this site with browser-session mode.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare that this is not read-only, is open-world, and is destructive. The description adds useful context beyond that: no secrets are returned to chat, the stored login for this site is replaced, and browser-session mode is used. It does not cover failure modes or exactly what local store is modified.

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 short and front-loaded: it states the trigger, the persistence action, the privacy constraint, and the replacement behavior. Every sentence contributes useful information without repetition or filler.

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?

With zero parameters, no output schema, and annotations covering the main behavioral hints, the description covers the important context: timing, local persistence, privacy, and replacement of an existing login. It could be slightly more complete by noting that the browser must already be authenticated for the target site.

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 tool has zero parameters, so there is no parameter semantics to explain. The baseline score for a zero-parameter tool is 4.

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 states a specific action: save a browser sign-in session locally for use by the regular Moodle read tools. It distinguishes browser-session mode from a stored credential login, but it does not explicitly name the sibling login tool as the step before this one.

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?

The trigger is explicit: use this after the user signs in in the browser. It implies this is not a sign-in tool itself and is meant to support regular read tools, but it does not explicitly state when not to use it or name an alternative path.

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