Skip to main content
Glama

get_element

Retrieve a complete snapshot of a UI element by its ID, including current state, value, and available actions. Use this to inspect an element before performing an action.

Instructions

Get a single element by its ID with full detail.

Returns a fresh snapshot with current states, value, supported
actions, and description.  Use this to inspect an element
before calling the ``action()`` tool — the actions list shows
exactly which raw action names are available.

Args:
    element_id: The element ID (from find/elements results).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
element_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/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 'Returns a fresh snapshot with current states, value, supported actions, and description', which gives good behavioral context. It does not mention side effects or auth requirements, but for a read-only inspection tool, this is sufficient.

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?

The description is two short paragraphs plus a docstring-style parameter note. Every sentence adds value: purpose, usage guidance, and parameter clarification. It is front-loaded with the main action and efficiently structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one parameter, an existing output schema (context signal), and clear indication of what the return includes (states, value, actions, description), the description is complete for the tool's complexity. An agent can confidently use it without additional clarification.

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?

Schema coverage is 0%, but the description adds 'The element ID (from find/elements results)' for the single parameter, providing context about where the ID originates. This adds value beyond the schema. A 5 would require more specific format or constraints (e.g., UUID pattern).

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 begins with 'Get a single element by its ID with full detail', which uses a specific verb ('Get') and resource ('single element'), and clearly distinguishes from sibling tools like 'elements' (plural) and 'find' (returns list). The purpose is unambiguous and well-differentiated.

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?

The description explicitly states 'Use this to inspect an element before calling the action() tool', providing clear when-to-use guidance. However, it does not explicitly state when not to use or mention alternatives, such as using 'find' for multiple elements, which would earn a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Touchpoint-Labs/Touchpoint'

If you have feedback or need assistance with the MCP directory API, please join our Discord server