Skip to main content
Glama

ax_set_value

Set a control's value directly via the OS accessibility tree, filling text fields without focusing or typing, using element role or label matching.

Instructions

Set a control's value directly through the OS accessibility tree (macOS Accessibility; not yet implemented on Windows, where it returns a clear error) — e.g. fill a text field without focusing or typing. Background, no cursor. query matches the element's role/label; value is the text to set. Targets the last window-captured app (or frontmost). Native-app accessibility only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesCase-insensitive substring matching the target element's role or label.
valueYesThe value to set (e.g. the text to place into a field).
Behavior4/5

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

Discloses key behavioral traits: background operation, no cursor, platform-specific behavior (macOS works, Windows returns error), and targeting the last window-captured app. No annotations are provided, so the description carries the full burden.

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?

Four sentences, each providing essential information: purpose, usage context, parameter explanation, and target scope. No redundancy or extraneous detail.

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?

Covers platform, behavior, and parameter details. Lacks explicit description of the return value, but for a mutation tool, this is generally acceptable given the simplicity of the tool.

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 covers both parameters with descriptions. The description adds an example of use (filling a text field without focusing) and clarifies the matching logic (case-insensitive substring). This adds minor value beyond the schema.

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 tool sets a control's value via the OS accessibility tree, with a concrete example (filling a text field without focusing or typing). It distinguishes itself from siblings like type_text by emphasizing background operation and no cursor.

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?

Provides context on when to use (background value setting without focusing) and platform limitations (macOS only, Windows returns error). However, it does not explicitly mention alternatives or when not to use.

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/bigduu/Nova'

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