Skip to main content
Glama

Check the ego(lite) channel

ego_doctor
Read-only

Check the ego browser channel for the resolved ego-browser.exe path/method, ego/Node versions, taskSpace helper exposure, and skill-guide cache state; use when require.resolve('ego') fails.

Instructions

Self-check the ego channel: which ego-browser.exe was resolved and how, the ego/Node versions, whether the embedded runtime exposes the taskSpace helper, and the skill-guide cache state. Use this instead of require.resolve('ego'), which always fails because ego ships no npm package named 'ego'.

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": "ego_doctor"
  }
}

Input Schema

NameRequiredDescriptionDefault
deepNoAlso create/resume the TaskSpace and report its id and page URL (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior2/5

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

The description does disclose concrete behavior (which binary was resolved and how, version reporting, cache state), which is real value beyond the annotation. However, it also says the deep mode will "create/resume the TaskSpace and report its id and page URL," a state-changing side effect, while the annotation declares readOnlyHint=true. An agent trusting the annotation could invoke this expecting a pure read and instead spawn or resume a TaskSpace.

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?

Two sentences, front-loaded with the verb and then the four diagnostic outputs, with the anti-pattern warning last. The mid-sentence list is dense but every clause names distinct returned information, so little is padding.

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 output schema, the description usefully enumerates what the report contains, which is the main completeness need. Remaining gaps are narrow: failure behavior when ego resolution is broken, and what is omitted from the report when deep is false.

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 and schema description coverage is 100%; the schema already explains that deep also creates/resumes the TaskSpace and reports the id and page URL. The description adds no format or default nuance (e.g., that false skips TaskSpace work entirely) beyond what the schema states, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Self-check the ego channel" is a specific verb plus resource, immediately followed by the exact diagnostics returned: resolved ego-browser.exe path, ego/Node versions, taskSpace helper availability, and skill-guide cache state. No sibling tool (ego_run, ego_page, ego_skill) performs diagnostics, so the enumeration alone makes this tool unmistakable.

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?

It explicitly names an alternative path and why that path fails: use this instead of require.resolve('ego'), which always fails because no npm package named 'ego' exists. That is clear triggering context, though it offers no exclusions or routing relative to sibling tools such as ego_run or ego_page.

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