Skip to main content
Glama

estimate_ocr_document

Read-only

Quote standalone OCR pages locally without provider fees. MCP uploads up to 10 MiB; HTTP up to 32 MiB.

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": {
      "request": "<request>",
      "filename": "<filename>",
      "content_base64": "<content_base64>"
    },
    "name": "estimate_ocr_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestYes
filenameYes
content_typeNoapplication/octet-stream
content_base64Yes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint=true, it discloses that quoting occurs locally, incurs no provider fees, and has transport-specific upload ceilings of 10 MiB for MCP and 32 MiB for HTTP. These are material behavioral details, although supported formats and whether base64 overhead counts toward the limits remain unspecified.

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-load the purpose and then state operational limits, with no filler or repetition. The compact MCP/HTTP contrast is especially easy to scan.

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?

The local, fee-free behavior and upload caps, combined with the read-only annotation and output schema, make the definition adequate for basic selection and invocation. Undocumented parameter semantics and the absence of explicit alternative-selection guidance remain noticeable gaps for a four-parameter upload tool.

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?

With 0% schema description coverage, the description needed to compensate for the bare parameters, but it only adds upload-size context relevant to content_base64. It does not explain the request.purpose choices, filename and content_type expectations, or the required base64 encoding format.

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?

“Quote standalone OCR pages locally” identifies the action, resource, and local scope, generally distinguishing estimation from OCR execution and other document estimates. It does not explicitly differentiate itself from named siblings or clarify the boundary with broader document-estimation tools.

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

Usage Guidelines4/5

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

The description supplies a clear use case: obtaining a local, fee-free quote for standalone OCR pages. It provides no explicit when-not condition or alternative for performing OCR or handling other document scenarios, so those choices still require inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.