Skip to main content
Glama
ImYourBoyRoy

web-scraper-server

by ImYourBoyRoy

browser_press_key

Press keyboard keys in the browser to trigger actions like form submission or navigation. Optionally focus a selector before pressing to target specific elements.

Instructions

Press a keyboard key (Enter, Escape, Tab, ArrowDown, etc.). Optionally focus a selector before pressing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYes
delay_msNo
selectorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions optional selector focus but does not disclose whether pressing triggers navigation, how delay_ms behaves, or what page state is required. This is too thin for a browser automation tool.

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 two sentences, front-loaded with the action, and includes essential examples. Every word earns its place with no fluff or repetition.

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?

For a simple tool, it covers the core action and key/selector semantics, but the missing delay_ms explanation and lack of usage context create a clear gap. Given the output schema exists, return values are not needed, but behavioral completeness is still only average.

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 0%. The description adds meaning for 'key' (via examples) and 'selector' (via 'focus'), but completely ignores 'delay_ms'. The selector format (CSS versus XPath) is also unexplained, so parameter understanding remains incomplete.

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 clearly states the tool presses a keyboard key, with examples (Enter, Escape, Tab, ArrowDown), making the purpose specific and understandable. It implicitly distinguishes from mouse-action siblings like browser_click and browser_hover, though it does not explicitly name alternatives.

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

Usage Guidelines2/5

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

No guidance is given on when to use this tool versus alternatives such as browser_type or browser_click. The examples imply keyboard interactions but there is no explicit when-to-use or when-not-to-use context.

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/ImYourBoyRoy/WebScraperToolkit'

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