Skip to main content
Glama

read_element_evidence

Crops an OCR element by coordinates, rotates it to match the reported page orientation, and returns evidence ID, page region, and view rotation for review.

Instructions

按OCR元素坐标裁图,并依照上游报告的页面直角方向旋转显示;不保证方向正确,不调用外部API。padding为0–0.1边距。仅支持未变形、未跨页合并、页码与角度有效的结果,否则用read_evidence看整页选区。返回证据ID、原页region和view_rotation_ccw;若视图倒置,将返回的document_id与region原样交给read_evidence恢复原页方向,无需再次旋转坐标或重新识别。仍须核对内容、归属与对错。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes
paddingNo
element_indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses meaningful behavior: orientation is not guaranteed, no external API is called, padding is bounded to 0–0.1, and it explains the returned evidence ID, region, and view_rotation_ccw plus a recovery path. It does not, however, reconcile why a 'read_' tool carries readOnlyHint=false and idempotentHint=false, leaving that annotation profile unexplained.

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?

The purpose is front-loaded in the first clause, which is good, but the rest is a run-on packing limitations, return values, and a recovery procedure into one dense paragraph without clear separation. Little is pure waste, but the lack of structure hurts scanability.

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 no output schema, the description usefully enumerates return fields (evidence ID, original-page region, view_rotation_ccw) and describes the inversion-recovery workflow, covering what an agent needs to chain into read_evidence. The main gap is the undocumented required parameters, but overall it is sufficient for a tool of this complexity.

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%, so the description must compensate for all three parameters. It only adds meaning for padding ('0–0.1边距'), while the two required parameters job_id and element_index receive no description in either the schema or the text. Partial compensation only.

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 states a specific verb and resource: cropping an image by OCR element coordinates and rotating it per the upstream report's page orientation. It also names the sibling read_evidence as the fallback, so an agent can distinguish this from the whole-page read tool. The phrasing is dense and clause-heavy, which slightly blunts immediate comprehension.

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

Usage Guidelines5/5

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

It gives explicit when-not conditions ('仅支持未变形、未跨页合并、页码与角度有效的结果') and routes to the alternative read_evidence for those cases. It adds a second conditional branch for inverted views, telling the agent to pass the returned document_id and region as-is to read_evidence without re-rotating. Both the alternative tool and the selecting conditions are named, leaving nothing to inference.

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