Skip to main content
Glama

page_type

Input text into a specified web page element, optionally clearing existing content first, and wait for the page to settle before reporting changes.

Instructions

Type text into an element (by ref from page_snapshot, or CSS selector) and report the network/console/url delta it caused. Set clear:true to select-all+backspace the field first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo
textYes
clearNoclear the field (select-all + backspace) before typing
waitMsNosettle time after typing before reporting the delta (default 700ms)
selectorNo
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that the tool reports network/console/url deltas and explains the clear:true behavior. However, it does not mention potential side effects like navigation, the need for a loaded page, or whether typing waits for element visibility. The disclosure is adequate but not exhaustive.

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 with no redundancy. The core purpose is front-loaded, followed by the unique delta-reporting trait and a practical note about clear. Every word earns its place, making it an efficient and well-structured description.

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?

Given the tool's complexity (6 params, no output schema, no annotations), the description covers the main functionality and the unique reporting behavior but omits important context like the role of sessionId, whether it can trigger navigation, and how it interacts with page_snapshot refs. It is adequate for basic use but not fully comprehensive.

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 33%, so the description must compensate. It does explain ref and selector (via 'by ref from page_snapshot, or CSS selector') and clear (via the clear:true note), adding meaning beyond the schema. However, sessionId is left unexplained, and waitMs is only covered by the schema. The description partially fills the gap but not fully.

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), a resource (element), and the targeting methods (ref or CSS selector), and highlights the unique delta-reporting behavior. It clearly distinguishes the tool from simple typing tools like page_fill, though it doesn't explicitly name a sibling.

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 (when you need to observe the side effects of typing), but it doesn't explicitly contrast with alternatives like page_fill or page_key, nor does it state when not to use it. The context of reporting network/console/url deltas is present, but no explicit routing guidance is given.

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