Skip to main content
Glama

Ui Set Range Value

ui_set_range_value
Destructive

Use this to assign a supported value to an identified native slider or range widget through Accessibility/UI Automation. Inspect allowed bounds first; changes can take effect immediately.

Input Schema

NameRequiredDescriptionDefault
idNoElement id returned by ui_snapshot or ui_find. Linux ids are stable per-process accessibility paths and legacy linux:<index> ids remain accepted.
appNoLimit matching to an application/process name substring when available.
pidNoLimit matching to one owning process id when available.
nameNoAccessible name/title substring.
roleNoAccessible role such as Button, Edit, textbox or AXButton.
labelNoCompact numeric label from the most recent ui_snapshot/ui_find; useful for repeated actions without repeating names or coordinates.
valueNoNew text or numeric range value.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
window_titleNoLimit matching to a top-level accessibility window/frame title substring when available.
automation_idNoWindows AutomationId when available.

Output Schema

NameRequiredDescriptionDefault
dataNoAct on UI element structured result for ui_action. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the agent knows this is a mutating, non-repeatable operation. The description adds only 'changes can take effect immediately' and the bounds-check warning, which supplements but does not substantially deepen the annotation picture; it says nothing about validation failures or out-of-range behavior.

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 short sentences, front-loaded with the action and target, followed by the critical precondition. No filler or redundant restatement of the tool name.

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?

With a rich 10-parameter schema at 100% coverage, full annotations, and an output schema, the description only needs to convey the widget class and the bounds precondition, which it does. Slightly incomplete in not explaining what happens when the value is out of range or how element identification interacts with the many selector parameters.

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 every parameter including the polymorphic 'value' field is already documented in the schema. The description reinforces that the value must be 'supported' and within inspected bounds, but contributes no syntax, format, or selector-precedence detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: assign a value to a native slider or range widget via Accessibility/UI Automation. This clearly separates it from generic setters like ui_set_value or computer_set_value, but it never names those siblings explicitly, so the distinction requires inference from the 'slider or range widget' phrasing.

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?

'Inspect allowed bounds first' is a useful prerequisite, and 'identified' implies the element must already be located via ui_snapshot/ui_find. However, there is no explicit guidance on when to prefer ui_set_value or computer_set_range_value, and no stated exclusion or failure condition beyond the bounds warning.

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