Skip to main content
Glama

Robot Actions — Remote Device Control

web_get_text

Read visible text from the DESKTOP grid browser (by pageId) — one element, or the whole page when no selector is given. This is how you ASSERT on what is actually on screen. Not a device — for a phone or tablet use webpage_get_text (by udid).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesPage ID from web_navigate
selectorNoCSS selector; omit for the whole page body

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses that it reads visible text (not hidden/DOM) and is desktop-only, which is valuable. However, it does not mention return format, error behavior, or whether it waits for page load. For a read-only tool these gaps are moderate, hence a 3.

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 zero fluff. The core action and scope are front-loaded, and the device exclusion is given immediately after the main purpose. Every word 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?

For a low-complexity read tool with fully documented parameters and no output schema, the description covers the essentials: what it does, when to use it, and how it differs from device-specific alternatives. Minor omissions like return format or load-wait behavior are acceptable given the simple nature of the operation.

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 100% — both pageId and selector are already documented in the schema, including the pageId source and selector omission rule. The description adds minimal new meaning (repeats 'by pageId'), so baseline 3 is appropriate.

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?

Clearly states the verb (read), resource (visible text from the desktop grid browser), and scope (one element or whole page). It explicitly differentiates from webpage_get_text by device type, and frames its primary use case ('ASSERT on what is actually on screen'), making its purpose unambiguous.

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

Usage Guidelines5/5

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

Provides explicit when-to-use guidance ('This is how you ASSERT on what is actually on screen') and names the exact alternative for phone/tablet (webpage_get_text) with the parameter that selects it (udid). No confusion about when to choose this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources