Skip to main content
Glama
CapyBrowser

CapyBrowser

Official
by capyriver

type_text

Enter text into an input field by element ID, replacing content or choosing a select option; set submit to press Enter and run a search.

Instructions

Type text into the input field with this [id] (replaces its content; also picks options in a select). Set submit=true to press Enter afterwards (e.g. to run a search).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "element_id": "<element_id>",
      "text": "<text>"
    },
    "name": "type_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
submitNo
element_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the key side effect: the field's content is replaced, not appended, which prevents accidental data loss. It also discloses the Enter/submit behavior. It remains silent on what happens if the element id is invalid or the field is not interactable, and on whether the element must be scrolled into view.

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?

Two sentences, each earning its place: the core action and its overwrite/select semantics come first, followed by the optional submit behavior. No filler or redundant restatement of the tool name.

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?

An output schema exists, so return values need not be explained, and the description covers the action, its side effects, and all three parameters adequately. The remaining shortfall is the missing pointer on how to acquire element_id and no note on failure conditions, which matter for a browser-automation tool.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry parameter meaning, and it does: element_id is the target input field, text is what gets typed, and submit=true presses Enter (default false per schema). The one gap is that it never says where element_id comes from (e.g. a page snapshot or find tool), which an agent needs in order to obtain a valid id.

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 specific verb (type text) and target (input field by id), and adds two clarifying behaviors that an agent could not infer from the name: existing content is replaced, and select elements are handled too. It does not explicitly distinguish itself from click, which is the nearest sibling an agent might confuse it with for select options.

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

Usage Guidelines4/5

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

Usage context is concrete: use this to enter text, set submit=true to press Enter afterwards (e.g. to run a search), and it also works for choosing options in a select. There are no explicit exclusions or named alternatives (e.g. when to prefer click over typing for a select), so it stops short of full routing guidance.

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