Skip to main content
Glama
RobithYusuf

MCP Camoufox

by RobithYusuf

frame_evaluate

Execute JavaScript inside a chosen iframe or frame to automate interactions and extract data from embedded content, even when dealing with cross-origin or nested frames.

Instructions

Execute JavaScript inside a specific frame/iframe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYes
frame_nameNoFrame name (empty = by index)
frame_indexNoFrame index from list_frames
Install Server

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral disclosure burden. It only states the core action and does not disclose return values, side effects of executing arbitrary JavaScript, error behavior, or how frame selection resolves when frame_name is empty. This is minimal.

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 a single sentence with no filler and is appropriately front-loaded. It communicates the core purpose immediately without redundant phrasing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has no annotations and no output schema, so the description needs to compensate by explaining return behavior and side effects. It does not specify whether the result of the JavaScript expression is returned, how frame selection works beyond schema defaults, or any execution caveats.

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?

Schema coverage is 67%, with frame_name and frame_index documented in the schema, but the required expression parameter has no schema description. The description adds that the operation targets a frame but does not explain what the expression should return or how it is evaluated.

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 description states a clear verb and resource: 'Execute JavaScript' inside a 'specific frame/iframe.' This distinguishes it from the generic sibling 'evaluate' by narrowing scope to frames, though it does not explicitly name the alternative.

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?

The description implies usage when a JavaScript expression must run in a frame rather than the main page, but it does not explicitly state when to use this tool versus 'evaluate' or how to decide between frame_name and frame_index. Usage context is present but not fully articulated.

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

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/RobithYusuf/mcp-camoufox'

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