Skip to main content
Glama
camoufox-reverse-mcp

camoufox-reverse-mcp

compare_env

Collect browser environment data from the isolated world to compare against Node.js/jsdom, returning a summary or writing a full JSON bundle for debugging anti-detection mismatches.

Instructions

Collect the browser environment for comparison with Node.js/jsdom.

Values are read in the isolated world, i.e. what the browser provides without page-script patches.

Without output_path it returns a summary: navigator and screen basics, canvas (toDataURL hash, measureText), WebGL (vendor/renderer, extension count), audio (OfflineAudioContext fingerprint, sample rate), timing and misc, plus properties evaluated as expressions.

With output_path it writes an environment bundle (JSON) and returns its path, size and a short summary: every Navigator/Screen getter with plugins and mimeTypes, window metrics and global names, getComputedStyle names and values, CSS declaration prototype names with enumerable flags and the for-in count, the full canvas toDataURL, WebGL parameters/extensions/ shader precisions, audio, storage keys with value lengths (never values, never cookie values), a hidden about:blank iframe compared with the top window (added and removed again; a MutationObserver sees it), timing and Intl. Apply it in Node/jsdom with the skill's env-bundle template.

Args: properties: Extra expressions to evaluate, e.g. ["navigator.oscpu"]. output_path: File for the full bundle; omit for the summary. sections: Limit the bundle to these sections (default all): navigator, screen, window, css, canvas, webgl, audio, storage, iframe, timing.

Returns: dict with categorized environment data, or the bundle's path/summary.

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

Input Schema

NameRequiredDescriptionDefault
sectionsNo
propertiesNo
output_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.10.0
    • addedInput schema / properties / output_path
      Added value: +{
      +  "title": "Output Path",
      +  "type": "string"
      +}
    • addedInput schema / properties / sections
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Sections",
      +  "type": "array"
      +}
  2. Changed4 schema fields changedv1.1.1
    • removedInput schema / properties / properties / anyOf
      Removed value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / properties / default
      Removed value: -null
    • addedInput schema / properties / properties / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / properties / type
      Added value: +"array"
  3. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description does real work: it discloses that values are read from the isolated world without page-script patches, that output_path writes a JSON file, that a hidden about:blank iframe is added and removed and is observable by a MutationObserver, and that storage values and cookie values are never captured. The main undisclosed prerequisite is that an active browser page must already exist; nothing says whether this requires launch_browser first or what happens with no page.

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?

The purpose is front-loaded, and the Args/Returns blocks give the agent scannable structure. The middle paragraph listing bundle contents is long and detail-dense, but each item is concrete rather than filler; only a little compression is possible without losing signal.

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 three-parameter tool with no output schema, the definition covers purpose, both modes, every parameter, and a Returns description of both return shapes. The remaining gaps are the unstated dependency on an already-launched page and the absence of any routing guidance relative to adjacent environment and evaluation tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry all three parameters and it does: properties is explained with a concrete example expression, output_path with its file/summary tradeoff, and sections with the full enumerated list of ten valid section names. That enumeration effectively supplies the missing enum constraint the schema lacks.

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 first line gives a specific verb and resource: collect the browser environment, for comparison against Node.js/jsdom. The two operating modes (summary vs. bundle) are spelled out with concrete contents. It never differentiates itself from the sibling check_environment or get_page_info, so the agent must infer which environment-inspection tool to pick.

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 clearly states the selection rule between its own two modes: without output_path you get a summary, with output_path you get a written bundle, and sections can limit the bundle. It also gives the downstream context (apply it in Node/jsdom with the env-bundle template). It offers no explicit when-not guidance and names no alternative sibling, leaving prerequisite conditions implicit.

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