Skip to main content
Glama

ocr_url

OCR text from image URL (for chains)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesImage URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / args
      Removed value: -{
      -  "description": "Tool arguments",
      -  "properties": {
      -    "text": {
      -      "description": "Primary input text",
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • addedInput schema / properties / url
      Added value: +{
      +  "description": "Image URL",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[]New value: +[
      +  "url"
      +]
  2. Added

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states the function without detailing side effects, input constraints, output format, or any safety characteristics. The read-only nature is implied but not stated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, making it highly concise and front-loaded. The '(for chains)' note adds minimal value but does not detract significantly. Every word earns its place.

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?

For a one-parameter tool with no output schema, the description provides minimal context. It does not explain the return format or limitations, though 'OCR text' implies the output is extracted text. Given the absence of annotations, more detail could be expected, but the tool's simplicity keeps it viable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the 'url' parameter, so the baseline is 3. The description does not add semantic nuance beyond the schema; it merely restates 'image URL'. No additional parameter explanation is needed given the schema's completeness.

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 clearly states the tool performs OCR on an image URL with a specific verb and resource. It distinguishes from sibling tools like ocr_image and ocr_table_url by the URL-based input, though it does not explicitly name alternatives.

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?

The description provides no explicit guidance on when to use this tool versus alternatives. The parenthetical '(for chains)' hints at intended use in a chain pipeline but lacks contextual direction or exclusions. Usage must be inferred solely from the tool name.

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.