Skip to main content
Glama

QRCodeKIT

Share a File or PDF by Link

host_file

Upload and host a local PDF, image, document, spreadsheet, or other file, and get a permanent public short link plus a downloadable dynamic QR code that opens or downloads it. Use this when the user wants to publish or share an attached PDF or file — a PDF menu, brochure, catalog, CV, ticket, presentation, or any document — without a separate file-hosting account. QRCodeKIT copies the attachment to its own asset storage and validates PDFs as real PDF documents. When qr_id is provided, replace the hosted file while preserving the existing public URL and printed QR code.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesAttached file to host — PDF or any other type — stored as a QRCodeKIT asset before creating the link.
qr_idNoOptional QRCodeKIT identifier for updating an existing link instead of creating one.
titleYesDisplay title for the link.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNoQR codes visible to the active account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior1/5

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

The description says 'When qr_id is provided, replace the hosted file while preserving the existing public URL and printed QR code.' Replacing an existing hosted file is an overwrite/destructive operation, yet annotations declare destructiveHint=false. This is a direct annotation contradiction, overriding any positive context about asset storage and PDF validation.

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 front-loaded with the core action and outcome, followed by usage scenario and behavioral details. The list of example document types is slightly verbose but each sentence adds relevant context.

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?

With a full input schema, annotations, and an output schema present, the description sufficiently covers file types, storage behavior, PDF validation, and update semantics. No critical invocation detail is missing, aside from the annotation conflict already noted.

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 schema already documents all parameters. The description adds value for qr_id by explaining that it replaces the hosted file while preserving the URL and QR code, which goes beyond the schema's 'updating an existing link' phrasing.

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?

The description states a specific action (upload/host a file, get a permanent link and QR code) and the target use case (sharing attached PDFs/files without an external hosting account). It clearly differentiates from siblings like save_file_url_qr by emphasizing attached-file hosting and physical document types.

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?

Explicitly states when to use the tool: 'when the user wants to publish or share an attached PDF or file without a separate file-hosting account.' It does not name alternatives or state when not to use it, but the intended context is clear enough.

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