Skip to main content
Glama

desktop_ocr_find

Runs local WinRT OCR on a window or full desktop, returning exact (cx, cy) coordinates of matched text and optionally clicking it, without uploading screenshots over the network.

Instructions

Run fast local Windows WinRT OCR on a window or full desktop without uploading any screenshot over the network. Returns exact (cx, cy) coordinates of matched text (supports 'a|b' OR queries), and optionally clicks the match immediately.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "desktop_ocr_find"
  }
}

Input Schema

NameRequiredDescriptionDefault
pidNo
clickNo
queryNo
window_idNo
matchIndexNo
delivery_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does add real value: it discloses local/offline execution, the coordinate return shape, OR-query support, and the optional click side effect. However it says nothing about no-match behavior (empty result vs error), case/substring matching rules, focus stealing under foreground delivery, or failure/timeout conditions for a tool that can mutate the desktop.

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 dense sentences, front-loaded with the capability and privacy property, then the return format and the optional side effect. No filler or restatement of the tool name.

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

Completeness3/5

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

It correctly states what comes back (coordinates) so an output schema is unnecessary, and it flags the click side effect. But for a 6-parameter, annotation-free tool that can both search and act, the missing parameter meaning and no-match semantics leave an agent guessing on several call shapes.

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 description coverage is 0% across 6 parameters, so the description must compensate, and it only explains two: 'query' (with the 'a|b' OR syntax) and 'click'. pid, window_id, matchIndex (match ordinal disambiguation) and delivery_mode (background vs foreground) are entirely undocumented anywhere, leaving half the surface 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?

States a specific verb and resource (run local WinRT OCR on a window or full desktop) plus the exact return payload ((cx, cy) of matched text). The phrase 'without uploading any screenshot over the network' and the coordinate-return focus clearly separate it from desktop_find_image (image matching) and from a plain state-read tool.

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?

Usage is implied rather than stated: 'on a window or full desktop' and 'optionally clicks the match immediately' hint at when to prefer this over a separate desktop_click step, but no sibling is named and no when-not guidance is given. An agent must infer that this is the text-based locator versus desktop_find_image's visual matching.

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