Skip to main content
Glama
tonjun

camofox-mcp

by tonjun

camofox_evaluate

Execute JavaScript in a browser tab to read page state, inject scripts, or call web app APIs. Returns the result of the expression.

Instructions

Evaluate JavaScript in a tab

Execute JavaScript in a Camoufox tab's page context and return the result of the expression. Use for injecting scripts, reading page state, or calling web app APIs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdYes
userIdYes
expressionYesJavaScript expression to evaluate.
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 that JS runs in page context and returns a result, but omits details like synchronous/asynchronous behavior, error handling, security implications, or potential page modifications. Adequate but not comprehensive.

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 three sentences with no fluff. The first sentence states the action, and subsequent sentences clarify purpose and use cases. Every sentence adds value, and it is front-loaded with the key verb and resource.

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

Completeness3/5

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

Given the absence of an output schema and annotations, the description addresses purpose and use cases but lacks details on return format, error behavior, prerequisites (e.g., tab must exist), and potential side effects. Adequate for basic understanding but incomplete for safe invocation.

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

Parameters2/5

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

Schema coverage is low (33%), only the 'expression' parameter has a description. The tool description adds general context but does not explain the meaning of 'tabId' or 'userId' beyond what the schema provides. It fails to compensate for the missing parameter descriptions.

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?

Description clearly states the verb 'evaluate/execute' and resource 'JavaScript in a tab'. It provides specific use cases (injecting scripts, reading page state, calling web app APIs) and distinguishes from sibling tools that perform other browser interactions.

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?

Description lists when to use the tool (for injecting scripts, reading state, etc.) but does not explicitly state when not to use it or mention alternative tools for similar tasks. The usage context is implied but lacks exclusions.

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/tonjun/camofox-mcp'

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