Skip to main content
Glama

execute_and_record

Execute UI actions like clicks and inputs, then record robust semantic locator steps into test cases for automation.

Instructions

利用 UI 组件适配器智能执行输入/点击等动作,并实时将最优高韧性语义定位步骤记录到用例中。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNo
actionYes
descriptionYes
element_cssYes
expected_resultNo
iframe_selectorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description bears full responsibility for behavioral disclosure. It mentions real-time recording and 'optimal high-resilience semantic positioning', but does not explain failure modes, waiting behavior, prerequisites, or side effects. The agent lacks critical information about what happens when elements are not found or how iframes are handled.

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 a single, dense sentence that conveys the main purpose without fluff. It front-loads the core action and recording, but the multiple modifiers make it slightly verbose. Overall, it is efficient and logically structured.

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

Completeness2/5

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

Given the tool's complexity (6 parameters, recording behavior, iframe support), the description is incomplete. It fails to provide context for parameter usage, prerequisites, or edge cases. The presence of an output schema reduces the need to explain return values, but the description still lacks crucial input semantics and behavioral details.

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 coverage is 0% with no parameter descriptions, and the description provides only indirect hints (e.g., 'input/click' maps to action, 'UI component adapter' hints at element_css). It does not clarify the meaning or usage of value, expected_result, iframe_selector, or description, leaving these parameters ambiguous.

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 clearly states the tool executes UI actions (input/click) and records robust semantic positioning steps to the test case. This dual function distinguishes it from sibling tools like click_interact and fill_input, which only execute actions without recording.

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

Usage Guidelines3/5

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

The description implies usage for scenarios requiring both execution and recording of steps, but it does not explicitly state when to prefer this tool over alternatives or provide exclusions. No direct mention of simpler tools for pure execution, leaving the agent to infer the intended context.

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/hooplus1ce/qa-automation-mcp-plugin'

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