Skip to main content
Glama

moodle_browser_snapshot

Read-only

Reads the current Moodle page's accessible text and controls, re-reading after each action; lets users complete SSO sign-in manually in the browser.

Instructions

Read the current Moodle page's accessible text and controls. Read again after each action. For SSO, the user finishes sign-in manually in the browser window.

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_snapshot"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new context beyond that: it returns accessible text and controls rather than raw HTML or an image, it must be re-invoked after every action to stay current, and SSO requires the human to complete sign-in manually in the browser window. It still says nothing about failure modes (no page open, page still loading) or output size, so it is additive but not rich.

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?

Three short sentences, front-loaded with what is returned, then the re-read rule, then the SSO caveat. Every sentence carries a distinct operational instruction and there is no filler or repetition of the tool name.

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 no parameters, no output schema and annotations covering safety, the description carries the remaining burden and mostly does: it characterizes the payload (accessible text and controls), the call cadence, and the authentication workaround. The only real gap is what happens when no page is open or the page has not finished loading, which an agent would need to know before retrying.

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 takes zero parameters, so there is no parameter semantics to document and the baseline of 4 applies. The description correctly implies the call is context-free (it operates on whatever page the browser currently shows) rather than implying hidden arguments.

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?

"Read the current Moodle page's accessible text and controls" gives a specific verb (read) and a specific resource (the live page's DOM-level text and controls), which implicitly separates it from moodle_browser_screenshot (pixels) and moodle_browser_action (mutations). It does not explicitly name those siblings, so an agent must infer the boundary rather than being told it.

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?

"Read again after each action" is a concrete, actionable cadence rule that tells the agent exactly when to call this tool, and the SSO sentence tells it what to do when sign-in blocks progress. It stops short of naming alternatives or exclusions (e.g., use screenshot when visuals matter, use browser_action to interact).

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