Skip to main content
Glama
devicebase

Devicebase MCP Server

Official
by devicebase

browser_input

Insert text into the focused browser element on a remote device, ensuring accurate input for CJK characters by using CDP Input.insertText instead of synthetic key events.

Instructions

Insert text into the focused page element.

Uses CDP Input.insertText, which is reliable for CJK unlike synthesised key events.

Args: serialno: The browser device serialno, from list_devices. text: The text to insert.

Returns: JSON response from the API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
serialnoYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It states the mechanism (CDP Input.insertText), the reliability for CJK, and that it returns a JSON response, but it does not mention prerequisites (e.g., element must be focused), side effects (e.g., whether existing text is replaced), or error conditions. Some transparency is present, 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 concise and well-structured, with a one-line summary, a note on the mechanism, and clearly labeled Args and Returns sections. Every sentence provides value, and the information is front-loaded with the purpose.

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?

For a simple tool with two parameters and an output schema, the description covers purpose, parameters, and the return type adequately. It could add more context about preconditions (e.g., focus requirement) or failure modes, but given the tool's simplicity, it is largely complete.

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

Parameters5/5

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

Schema description coverage is 0%, so the description fully compensates by explaining each parameter: serialno is from list_devices, and text is the text to insert. This adds meaningful context beyond the bare schema, making parameter usage clear.

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 inserts text into the focused page element, using a specific verb and resource. It further distinguishes itself by noting the use of CDP Input.insertText, which is reliable for CJK, contrasting with synthesized key events. This gives a precise, unambiguous purpose.

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 when to use this tool (for inserting text, especially for CJK) but does not explicitly state when not to use it or name alternatives like browser_fill or computer_type_text. The contrast with synthesized key events hints at a trade-off but does not provide explicit routing guidance.

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