Skip to main content
Glama

FMF Tools Utilities

qr_scan

Scan QR codes and barcodes in an image ($0.002 per call, paid via MPP on Tempo). Decode every QR code, Data Matrix, Aztec, PDF417 and 1D barcode (EAN/UPC/Code128...) in an image: text, format, position, error-correction level. Send an image URL, base64, or raw image bytes (POST with content-type image/*). Max 8 MB. No codes found returns 402, not charged. HTTP POST https://mpp-tools.fmf-x402.workers.dev/mpp/qr/scan. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "qr_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNohttps URL of a PNG/JPEG/WebP/GIF/BMP image
image_base64Noimage bytes, base64 (data: URL ok)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: $0.002 per call via MPP on Tempo, an 8 MB maximum, and a 402 with no charge when no codes are found. It also warns that this MCP wrapper does not settle payment on its own. The gap is that it never says the call is read-only or how payment failures other than an empty result surface.

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 purpose and per-call price are front-loaded, followed by supported formats, then transport and payment details. Every sentence carries operational information, though the payment and endpoint clauses run together densely and could be broken out more cleanly.

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

Completeness4/5

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

For a paid HTTP-backed decode tool with no output schema, it covers inputs, size limit, return fields, pricing, and the empty-result case. What is missing is the shape of a successful response: field names and the position format are named but not structured, so an agent still has to guess how to parse the result.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description earns an extra point by framing the two properties as alternatives: URL, base64, or raw bytes. That clarifies the one-of intent that a schema with zero required parameters leaves ambiguous. It does not say which input wins if both are supplied or mention the raw-bytes form the schema cannot express.

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?

States a specific verb and resource: decode QR codes, Data Matrix, Aztec, PDF417 and 1D barcodes in an image. It returns concrete fields (text, format, position, error-correction level), which separates it from generation siblings like qr_png and qr_svg without requiring their schemas.

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?

Explains concrete invocation paths: send an image URL, base64, or raw bytes via POST with content-type image/*. It also states the payment path, an MPP Payment Authorization header or mppx against the HTTP route. It never explicitly says when to pick this over qr_png or qr_svg, but the read-only decoding scope makes that distinction implicit rather than ambiguous.

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