Skip to main content
Glama

smart_type

Fills a visible editable input by matching its accessible label, replaces existing text, verifies the exact typed value, and optionally presses Enter.

Instructions

Fill a visible editable input, replacing old text; verify its exact value before optional Enter. Quote its accessible label from browser_open for a fast precise match. Check status and typed_verified before claiming success.

Input Schema

NameRequiredDescriptionDefault
modeNobrowser
press_enterNo
text_to_typeYes
target_descriptionYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that old text is replaced, that the exact value is verified before optional Enter, and that status and typed_verified should be checked before claiming success. It does not explain failure behavior or differences between browser and desktop modes.

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 dense sentences with the core action front-loaded, followed by targeting advice and verification guidance. There is little waste and each sentence adds operational value.

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?

The description is sufficient for the default browser typing path, especially since an output schema exists and return values need not be explained. However, for a four-parameter tool with no schema descriptions and no annotations, the unexplained mode parameter and desktop behavior leave a meaningful gap.

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

Parameters3/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 compensate. It maps well to target_description (accessible label from browser_open), text_to_type (text being filled), and press_enter (optional Enter), but it never mentions the mode parameter or the browser/desktop distinction.

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?

States a specific verb and resource: fill a visible editable input, replacing old text. This clearly separates it from navigation and clicking tools, but it does not explicitly contrast itself with smart_click or other text-entry alternatives.

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?

Gives actionable usage context: use a visible editable input, quote its accessible label from browser_open, and verify the exact value before optional Enter. It lacks explicit when-not-to-use guidance or a direct comparison to sibling tools such as smart_click.

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