Skip to main content
Glama
HyperClockUp

DrissionPageMCPServer_Modified

by HyperClockUp

execute_javascript

Execute JavaScript code within browser automation workflows to manipulate web pages, extract data, or automate interactions using the DrissionPageMCPServer_Modified MCP server.

Instructions

执行JavaScript代码

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYes
return_resultNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior1/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure but provides none. It doesn't mention whether this is a read or write operation, what permissions or contexts are required, what happens if the JavaScript has errors, whether there are security restrictions, timeouts, or any other behavioral characteristics. For a tool that executes arbitrary code, this is a critical gap in transparency.

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 extremely concise - a single phrase in Chinese. While it's arguably too brief for adequate documentation, it's not wordy or repetitive. Every word earns its place, and there's no fluff or unnecessary elaboration. The structure is straightforward, though minimal.

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?

Given that this is a code execution tool with 2 parameters, no annotations, and 0% schema description coverage, the description is woefully incomplete. While there is an output schema (which might help with understanding return values), the description doesn't provide the essential context needed to use this tool safely and effectively. It doesn't explain the execution environment, security implications, error handling, or any other critical context for running JavaScript code.

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?

With 0% schema description coverage (neither parameter has descriptions in the schema), the description provides no information about the two parameters. The description doesn't mention the 'code' parameter that's required, nor the optional 'return_result' boolean parameter. For a tool with 2 parameters that are completely undocumented in the schema, the description fails to compensate by explaining what these parameters mean or how they should be used.

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

Purpose2/5

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

The description '执行JavaScript代码' (Execute JavaScript code) is a tautology that essentially restates the tool name 'execute_javascript' in Chinese. While it does specify the verb ('执行' - execute) and resource ('JavaScript代码' - JavaScript code), it doesn't differentiate this tool from potential alternatives or provide any context about what kind of JavaScript execution this involves. It's minimally informative but doesn't go beyond restating the obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides absolutely no guidance about when to use this tool versus alternatives. There are multiple sibling tools related to browser automation (click_element, navigate, get_cookies, etc.), but the description doesn't indicate whether this executes JavaScript in a browser context, server context, or elsewhere. No prerequisites, limitations, or alternative tools are mentioned.

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/HyperClockUp/DrissionPageMCPServer_Modified'

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