Skip to main content
Glama

imgfactory

img_analyze_qr_scan

QR code scan: decode QR codes and barcodes from an image, read qr, barcode reader. image -> application/json. 0.004 USDC per call (prepaid credit or x402 signature).

Input Schema

NameRequiredDescriptionDefault
urlNohttp(s) URL of the image (server fetches it)
dataNodata: URL
base64Noraw base64 of the image bytes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description bears full behavioral burden; it does disclose the cost model (0.004 USDC per call, prepaid credit or x402 signature) and return format ('image -> application/json'), which is useful. However, it omits behavior like handling of multiple codes in one image, failure/undecodable cases, or limits, so the coverage is partial.

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 pricing and return-format facts are compact and front-loaded, but the phrase 'decode QR codes and barcodes from an image, read qr, barcode reader' is keyword-stuffed SEO that repeats rather than informs. Some trimming would improve it.

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 simple decode tool with three mutually-exclusive input params, no output schema, and no annotations, the description conveys purpose, return type, and pricing. It still leaves gaps around return contents, multi-code behavior, and error cases, so it is adequate but not complete.

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% and each of url/base64/data is documented in the schema, so the baseline is 3. The description adds no meaning about the mutually-exclusive input variants or how the image is interpreted beyond what the schema already states.

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 ('decode') and resource ('QR codes and barcodes from an image'), making the operation clear and distinguishable from the sibling conversion/resize tools. It doesn't explicitly name an alternative, but the purpose is unambiguous.

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, no prerequisites, and no mention of alternatives or when-not to use it. The keyword list ('read qr, barcode reader') implies the obvious use case but provides no real selection or exclusion context.

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.

Resources