Skip to main content
Glama

ensure_chrome_eeclass_session

Checks whether Google Chrome is running and, if needed, launches it with the NTHU eeclass platform so the extension can complete OAuth login and establish an active session.

Instructions

【前置 Session 檢查】檢查使用者的 Google Chrome 瀏覽器是否處於運行狀態。若尚未開啟 Chrome,將自動為使用者啟動 Chrome 瀏覽器並開啟清大 eeclass 數位學習平台,讓擴充套件的 CNN 驗證碼模型自動完成 OAuth 登入。

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses meaningful side effects: it will auto-launch Chrome, open a specific platform URL, and trigger an automated OAuth login via a captcha-solving model. That is real behavioral disclosure beyond a mere "check". Gaps remain — it does not state failure behavior, blocking duration, or whether the extension must be installed first.

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?

A single compact paragraph front-loaded with the 【前置 Session 檢查】 label, then the check behavior, then the fallback behavior. Every clause adds information and the ordering follows the actual control flow.

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?

Zero parameters and no output schema, so the description must convey behavior — which it does well, covering both the idle and not-running branches. It is slightly incomplete in not signaling what result the agent receives (success/failure indication) or what to do if the automated login fails, which matters since there is no output schema to fall back on.

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. Baseline of 4 applies for the no-parameter case.

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: check whether Google Chrome is running, and if not, launch it and open the NTHU eeclass platform. The 【前置 Session 檢查】 prefix scopes it as a prerequisite step. However, it does not differentiate itself from the very similar sibling wake_and_bootstrap_eeclass, so an agent cannot tell the two apart from the description alone.

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?

"前置 Session 檢查" implies this should be run before other eeclass operations, which gives some usage context. But there is no explicit when-to-use statement, no exclusions, and no mention of the overlapping siblings (wake_and_bootstrap_eeclass, check_extension_and_setup_status, verify_extension_mcp_sync).

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