Skip to main content
Glama

Robot Actions — Remote Device Control

web_get_attribute

Read one attribute of an element in the DESKTOP grid browser (by pageId) — href, value, aria-label, data-*, anything. Not a device — for a phone or tablet use webpage_get_attribute.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageIdYesPage ID from web_navigate
selectorYesCSS selector of the element
attributeYesAttribute name, e.g. href / value / aria-label

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/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 that the operation is a read, scopes it to a specific desktop grid browser session via pageId, and describes the attribute set as open-ended ('data-*, anything'). It does not describe return values or failure behavior, but for a simple getter the core behavioral disclosure is present.

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 filler; the core operation and environment are front-loaded, and the routing note is placed at the end. 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?

The definition covers purpose, environment, parameter meaning, and the main alternative, which is sufficient for a low-complexity getter. The only notable omission is an explicit statement of the return value and behavior when an attribute is absent, though both are largely implied by 'Read one attribute.'

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 coverage is 100%, so the schema already documents all three parameters. The description's examples (href, value, aria-label) and 'data-*, anything' add minor color but no essential semantics beyond the schema; 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?

The opening phrase 'Read one attribute of an element in the DESKTOP grid browser' names a specific verb, resource, and environment, and the examples clarify what counts as an attribute. It also explicitly contrasts itself with webpage_get_attribute, so an agent can distinguish it from siblings without opening schemas.

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?

The description explicitly states the tool is not for a device and directs phone/tablet usage to webpage_get_attribute: 'for a phone or tablet use webpage_get_attribute instead.' This provides a clear when-to-use/when-not-to-use rule.

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