Skip to main content
Glama

phone_read_value

Read-only

Read an element's full accessibility value by identifier or exact label without tapping or focusing it. Use when screen text is truncated or the complete field value is needed.

Instructions

Read one element's AX value without tapping, focusing, waking or a lease. Give exactly one identifier or exact label from a fresh read, optionally kind; ambiguity refuses. Use when phone_elements marks value_truncated or the task needs the full field text. Returns one bounded value with source/completeness; complete means this API did not cut it, not that the app exposes its whole document. A smaller max_utf16 gives truncated:true. Secure fields and runners without ipu:valueRead refuse.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "phone_read_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
labelNo
instanceNodaemon instance name
max_utf16NoMaximum UTF-16 units returned (1–65536, default 8192); emoji may use two.
identifierNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.29.2
    • removedInput schema / description
      Removed value: -"Select exactly one current field without focusing it or changing the app."
  2. Changed6 schema fields changedv0.29.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / identifier / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / instance / description
      Previous value: -"Installed local instance name, such as i13 or default. Omit to use the configured daemon. No fallback on failure."New value: +"daemon instance name"
    • changedInput schema / properties / kind / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / label / type
      Previous value: -[
      -  "string",
      -  "null"
      -]New value: +"string"
    • changedInput schema / properties / max_utf16 / type
      Previous value: -[
      -  "integer",
      -  "null"
      -]New value: +"integer"
  3. Changed1 schema field changedv0.27.34
    • addedInput schema / properties / max_utf16 / minimum
      Added value: +0
  4. Addedv0.27.3

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint and openWorldHint, the description discloses important behavior: no tap/focus/wake/lease side effects, refusal on ambiguity, secure-field and permission refusals, bounded return semantics, and the meaning of completeness versus truncation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is dense and mostly front-loaded: purpose first, then selection guidance, usage condition, return behavior, and refusal cases. Some clauses such as source/completeness are compact to the point of mild ambiguity, but there is little wasted text.

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 five-parameter read tool with no output schema, the description covers the main call semantics, return behavior, truncation, and refusal cases well. It leaves some gaps around instance and kind values, but provides enough context for correct invocation.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With only 40% schema description coverage, the description compensates well by explaining that the caller must give exactly one identifier or exact label, may optionally provide kind, and that smaller max_utf16 produces truncated:true. It still does not clarify instance usage or expected kind values, so it is not fully complete.

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?

The description states a specific verb and resource: read one element's AX value. It immediately distinguishes the operation from alternatives by saying it does so without tapping, focusing, waking, or taking a lease.

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?

It gives an explicit usage condition: use when phone_elements marks value_truncated or when the task needs the full field text. It also states refusal conditions for ambiguity, secure fields, and runners without ipu:valueRead, which helps the agent decide when not to call it.

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