Skip to main content
Glama
WhiteNightShadow

camoufox-reverse-mcp

evaluate_js_handle

Execute JavaScript expressions to inspect complex objects, DOM elements, and prototypes with structured property views for reverse engineering and debugging.

Instructions

Execute a JavaScript expression and return a structured view of the result object.

Unlike evaluate_js, this preserves complex object references and enumerates their properties, useful for inspecting DOM elements, prototypes, etc.

Args: expression: JavaScript expression to evaluate.

Returns: dict with the object's properties (name, type, value preview).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: it executes JavaScript, returns a structured view, and preserves object references. However, it lacks details on error handling, security implications, performance impact, or execution context (e.g., browser environment). For a tool with no annotations, this is adequate but leaves gaps in behavioral understanding.

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?

The description is appropriately sized and front-loaded: the first sentence states the core purpose, followed by differentiation from a sibling, usage context, and parameter/return details. Every sentence adds value without redundancy, making it efficient and easy to parse.

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?

Given the tool's complexity (JavaScript execution with object inspection), no annotations, and no output schema, the description does a good job covering purpose, differentiation, and basic behavior. However, it lacks details on return structure (beyond 'dict with properties'), error cases, or execution environment, which would improve completeness for such a technical tool.

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 description adds meaningful context for the single parameter: 'expression: JavaScript expression to evaluate.' With 0% schema description coverage, this compensates well by explaining what the parameter represents. However, it does not provide examples, syntax constraints, or validation rules, which would enhance semantics further.

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?

The description clearly states the tool's purpose: 'Execute a JavaScript expression and return a structured view of the result object.' It specifies the verb ('execute'), resource ('JavaScript expression'), and distinguishes it from sibling 'evaluate_js' by explaining it 'preserves complex object references and enumerates their properties.' This differentiation is explicit and helpful for selection.

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?

The description provides clear context for when to use this tool: 'useful for inspecting DOM elements, prototypes, etc.' It explicitly contrasts with 'evaluate_js' to highlight its unique value. However, it does not specify when NOT to use it or mention alternative tools beyond 'evaluate_js,' which slightly limits guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WhiteNightShadow/camoufox-reverse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server