Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNo日志级别:debug、info、warning、errorinfo
MAX_IMAGE_SIZENo图片大小上限(字节,默认 10 MB)10485760
READ_ONLY_MODENo设为 true 禁用 enhance_and_decode(仅保留 decode_qrcode_full)false

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
decode_qrcode_fullA

Scan the entire image for QR codes and decode them. Returns all detected codes with detailed diagnostics. Agent should decide next step based on result_code:SUCCESS → use content; SUCCESS_WITH_WARNING → check warnings;RETRYABLE → call enhance_and_decode;NO_QR_FOUND / QR_UNRECOVERABLE → inform user.

enhance_and_decodeA

Apply enhancement operations to a region of the image, then decode.Enhancement strategy is decided by the Agent based on decode_qrcode_full diagnostics.Supports upscale, sharpen, adjust_contrast, denoise — composable in any order.

auto_enhanceA

Automatically try enhancement strategies to decode a QR code in one call.Tries up to 7 strategies (upscale, sharpen, contrast, denoise, combos) in sequence — returns as soon as one succeeds.Ideal for RETRYABLE results from decode_qrcode_full:no manual bbox estimation or operation selection needed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 3 tools

Disambiguation4/5

The tools are largely distinct: decode_qrcode_full performs initial scanning, enhance_and_decode allows manual enhancement of a region, and auto_enhance automatically tries strategies. The overlap between enhance_and_decode and auto_enhance is clear from descriptions, with one being manual and the other automatic.

Naming Consistency3/5

Tool names follow no consistent pattern: 'decode_qrcode_full' is verb_noun_adjective, 'enhance_and_decode' is two verbs joined by 'and', and 'auto_enhance' is a prefixed verb. They are readable but structurally inconsistent.

Tool Count5/5

Three tools is well-scoped for a QR reader server, covering the core decode step and two enhancement recovery approaches without unnecessary bloat. Each tool has a clear role in the workflow.

Completeness4/5

The surface covers initial decoding and recovery through enhancement, but lacks a direct 'decode region without enhancement' tool. This is a minor gap since the enhancement tools can also handle regions, but a simple region decode would be a natural addition.

Maintenance

ActivitySlowing
ResponsivenessNo issues