Skip to main content
Glama

page_type_ref

Type text into input fields or rich editors via accessibility refs, returning a character-count receipt to confirm the entry.

Instructions

Type text into the element a page_a11y ref points at (inputs and rich editors). Returns landed chars as a receipt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYesElement ref from page_a11y (e.g. "e12").
textYes
page_idYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 behavioral burden. It discloses the core write operation and the 'landed chars' receipt, which is genuinely useful. However, it omits side effects like whether existing text is replaced or appended, whether the element must be visible/editable, and what happens on failure.

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?

A single sentence with high signal-to-noise: it states the target, allowed element types, and return receipt. No wasted words.

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 covers target and return but omits operational details such as whether typing appends or replaces, focus/wait requirements, and failure modes. For a mutation tool with no annotations and no output schema, this leaves the agent to guess some important behaviors.

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?

Schema description coverage is only 25%, so the description must compensate. It gives meaning to ref (page_a11y element) and text (typed text), but session_id and page_id are left undocumented, and text format/behavior is not explained.

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 clearly states it types text into the element a page_a11y ref targets, restricted to inputs and rich editors. The ref-based targeting differentiates it from sibling page_type, though it does not name the alternative explicitly.

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?

It specifies the context: use this tool when you have a page_a11y ref and need to type into inputs or rich editors. No explicit when-not or alternative is named, but the scope is clear enough for an agent to route itself.

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