Skip to main content
Glama

draft text for verification

api_draft_text

Proposes OCR manifest lines from a source image for human review before acceptance, supporting AI watermark removal workflows.

Instructions

Propose OCR manifest lines. Every accepted proposal still requires human verification.

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": {
      "source": "<source>"
    },
    "name": "api_draft_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesSource image path
stableNo
min_scoreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.58.1

TDQS

C2.8/5.0
Behavior3/5

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

Annotations only declare openWorldHint=false, so the description carries most of the burden. It does add real value by disclosing that output is a proposal that still requires human verification, distinguishing it from a committing write. It says nothing, however, about whether proposals are persisted, what permission or auth is needed, or what the review flow looks like.

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 sentences, no filler, with the core action front-loaded and the verification caveat immediately after. Nothing could be cut without losing information.

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?

With no output schema, the description should explain what a "proposal" returns, how min_score and stable affect the result, and how proposals are consumed. It covers none of that, leaving two of three parameters and the entire return shape undefined.

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 coverage is only 33%: source is documented as an image path, but stable and min_score have no descriptions beyond type and default. The description adds no meaning to any parameter, so the two undocumented parameters remain opaque to an agent.

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?

"Propose OCR manifest lines" gives a specific verb and resource, but "manifest lines" is domain jargon that isn't defined, and nothing distinguishes this from siblings like api_classify_onnx or cli_text_identify. The agent knows it produces proposals rather than committing text, which is the clearest signal in the definition.

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?

There is no when-to-use guidance and no alternatives named, even though the sibling list contains many text/OCR-adjacent tools. The human-verification sentence describes a downstream workflow obligation, not a condition for selecting this tool over another.

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