Skip to main content
Glama

capture_text

Runs OCR on an image file or user-selected screen region, copying recognized text to the clipboard instead of returning it in the response.

Instructions

Texterkennung (OCR): ohne file waehlt der Mensch einen Bereich.

Der erkannte Text landet in der Zwischenablage, nicht in der Antwort.

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": "capture_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses two critical traits: the result goes to the clipboard rather than the response, and the no-file path requires a human to select a region. That prevents an agent from expecting OCR text in the return payload. It omits error cases, permissions, and what the response actually contains.

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 capability and then the two consequential facts (interactive selection, clipboard destination). Nothing is redundant or padded.

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?

For a one-parameter tool with an output schema, the essential gotcha (text lands in the clipboard, not the response) is covered, along with the human-in-the-loop mode. Slightly incomplete on permissions/screen-access prerequisites and failure behavior.

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 coverage is 0%, so the description must compensate. It does explain the key semantics of the single optional `file` parameter: omitting it triggers human region selection, implying a file triggers direct OCR. It stops short of stating accepted file types or path formats.

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 names a specific verb and resource: OCR text capture ("Texterkennung (OCR)"). It clearly distinguishes itself from an image-based capture by describing a text-recognition workflow, though it never explicitly contrasts itself with siblings like capture_image or capture.

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?

It states the conditional behavior of the only parameter ("ohne file waehlt der Mensch einen Bereich"), which implicitly tells the agent how the two modes differ. However, there is no explicit guidance on when to prefer this tool over capture, capture_image, or latest_capture.

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