Skip to main content
Glama
ZRZRING

low-hallucination-vision

by ZRZRING

analyze_image

Analyze images with anti-hallucination safeguards, supporting general, OCR, UI screenshot, and object detection modes, returning JSON with flagged low-confidence claims.

Instructions

Analyze an image with anti-hallucination safeguards.

Args:
    image_source: Local file path or http(s) URL of the image.
    mode: One of "general" | "ui_screenshot" | "ocr" | "detect".
        - general       structured subject/background/style description
        - ui_screenshot UI element inventory with bbox + confidence
        - ocr           text-only extraction (see ocr_extract for the dedicated tool)
        - detect        object detection with mandatory bbox
    prompt: Optional extra instructions (e.g. "focus on the top-right card").
    temperature: Sampling temperature, default 0.2 (low = less hallucination).

Returns:
    JSON string. Low-confidence claims are tagged with "_flag": "存疑".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNogeneral
promptNo
temperatureNo
image_sourceYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

No annotations are present, so the description carries full burden. It discloses anti-hallucination safeguards, a confidence flag ("存疑"), mandatory bbox behavior, and temperature's effect on hallucination. Rich behavioral disclosure beyond basic operation.

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?

Well-structured with Args/Returns sections, but slightly verbose with the mode definitions. Still, every line adds value, so minor deduction only for length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All parameters, return format, and behavioral traits are covered, including the custom flag. The description is self-contained for a 4-param tool with no schema annotations.

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

Parameters5/5

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

Schema has zero descriptions; the description fully compensates by defining image_source as path/URL, enumerating mode values with their outputs, and explaining prompt/temperature semantics beyond defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Starts with a clear verb+object ('Analyze an image') and immediately differentiates from siblings by explicitly pointing to ocr_extract for OCR and describing distinct modes (general, ui_screenshot, ocr, detect). This leaves no ambiguity about the tool's scope.

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?

Includes a mode list that explains which analysis to run, explicitly defers OCR to the dedicated ocr_extract tool, and notes mandatory bbox for detect mode. This gives the agent clear when-to-use and when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZRZRING/vision-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server