Skip to main content
Glama

tap_type

Type text into web inputs and editors. Auto-detects CodeMirror, Draft.js, ProseMirror, and standard fields. Returns the current value and validation errors.

Instructions

Type text into an input. Auto-detects editor type (standard input, contentEditable, CodeMirror, Draft.js, ProseMirror). Returns the current value — if it doesn't match your input, try tap.eval with execCommand('insertText') or the editor's native API. After typing, check inspect.toasts for validation errors (e.g. max length exceeded).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
selectorYes
textYes
Behavior5/5

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

Excellent disclosure beyond annotations: auto-detection logic for 5 editor types, return value semantics ('Returns the current value'), specific fallback strategies using execCommand/native APIs, and side effects (validation toasts).

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?

Three information-dense sentences with zero waste. Front-loaded with core action, followed by return value/fallback, ending with error checking—every clause earns its place.

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?

Strong coverage given no output schema—documents return value, error handling via toasts, and complex auto-detection behavior. Deduction for missing parameter documentation which is critical given 0% schema coverage.

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, the description fails to compensate adequately. While 'text' is mentioned explicitly, 'selector' format (CSS? XPath?) is undocumented, and neither parameter's constraints/encoding are specified.

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?

Opens with specific verb+resource ('Type text into an input') and distinguishes from sibling tap_eval by explicitly naming it as a fallback when the typed value doesn't match input.

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?

Provides clear fallback guidance ('try tap.eval') when auto-detection fails, and directs to inspect.toasts for validation errors. Lacks explicit 'when not to use' exclusions, but context is clear.

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/LeonTing1010/tap'

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