Skip to main content
Glama

moodle_browser_close

Destructive

Close the controlled browser session while its dedicated profile keeps your Moodle login for next time. Use it to end browser access cleanly without signing out.

Instructions

Close the controlled browser. Its dedicated profile keeps the login for next time.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, so the agent knows this is a state-changing operation. The description adds genuinely useful context the annotations cannot convey: the dedicated profile persists the login for future sessions, which reassures the agent that authentication is not lost. It does not disclose what else is discarded on close, such as open pages, unsaved form state, or in-flight navigations.

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?

Two short sentences, action first and the consequential side effect second. Nothing is repeated from the annotations and every word carries information.

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?

For a zero-parameter teardown tool with no output schema, the definition covers the essentials: what it closes and what survives the close. The only meaningful omission is whether open tabs or unsaved work are lost, which matters given destructiveHint=true.

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 nothing for the description to disambiguate and no schema semantics to compensate for. Baseline for a parameterless tool applies, with no deficiency to penalize.

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?

"Close the controlled browser" states a specific verb and resource, and the word "controlled" ties it to the moodle_browser_* family so an agent can distinguish it from moodle_logout. It stops short of naming the counterpart tool (moodle_browser_open) or stating a scope, so it is clear but not fully differentiated.

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?

Usage is only implied: an agent can infer this should be called when finished with browser interactions, but the description never says when to close versus leaving the browser open, or whether other browser tools require an open browser. No exclusions or prerequisites are given.

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