Skip to main content
Glama

set_ui_origin

Calibrates the 640x480 interface by setting the screen pixel coordinates of its top-left corner, so AI agents can align window-level controls correctly.

Instructions

Manual calibration: screen pixel of the top-left corner of the 640x480 interface.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "x": "<x>",
      "y": "<y>"
    },
    "name": "set_ui_origin"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.16.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the fixed 640x480 resolution, which is useful context, but says nothing about whether the origin persists, what happens on subsequent coordinate-based calls, or what the tool returns or fails on.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely short with zero wasted words, which is good, but the brevity comes from under-specification rather than economy — a single fragment that leaves the agent guessing at the operation and its preconditions.

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?

For a calibration tool that silently alters how every later coordinate-based interaction is interpreted, with no annotations and no output schema, the definition is too thin. It should state persistence, required screen state, and the consequences of a wrong origin.

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 description coverage is 0%, so the description must compensate. It does clarify the semantics of both values — screen pixel coordinates of the interface's top-left corner — which is meaningful beyond the bare 'X'/'Y' integer properties, though it never distinguishes which axis each parameter represents or whether values can be negative or out of range.

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

Purpose3/5

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

Names a calibration action against the '640x480 interface' and ties it to the top-left corner, which is more specific than the bare tool name. But the sentence is a noun fragment with no verb, so the action (setting a coordinate origin) must be inferred from the name 'set_ui_origin' rather than stated.

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

Usage Guidelines2/5

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

No when-to-use guidance at all: nothing says this must precede click/drag/hover, whether it is a one-time setup versus per-session call, or what to do if calibration is already correct. The sibling tools that depend on this origin are never mentioned.

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