Skip to main content
Glama
cups-sane-mcp

cups-sane-mcp

by ispb88

get_upload_link

Generate a one-time upload URL for a single file (PDF, PostScript, PNG, JPEG, TIFF, or text up to 32 MiB) so you can PUT it to storage for printing without pasting contents.

Instructions

Get a one-time link for uploading ONE file (PDF, PostScript, PNG, JPEG, TIFF or text; up to 32 MiB).

Upload it with an HTTP PUT, not by pasting its contents, e.g.:
    curl -sS -T /path/to/file.pdf "<url>"
The link works for 15 minutes. Then use the returned id with print_file.

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": "get_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/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 burden and does substantially well: it discloses the one-time nature of the link, the 15-minute lifetime, the 32 MiB ceiling, accepted MIME types, and the required transport (HTTP PUT, not paste). What it does not clarify is whether the link is consumed on first use versus expiring only by time, and whether a failed PUT invalidates it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and constraints, then the invocation example, then the follow-up step. Every sentence earns its place — the curl snippet removes ambiguity about the PUT requirement and is the most efficient way to convey it.

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?

An output schema exists, so return values need not be described, yet the description still bridges forward by naming print_file as the consumer of the returned id. Constraints an agent cannot infer from a zero-parameter schema (expiry, size, format, transport) are all supplied.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The description's format and size constraints are useful but act as request-shape constraints rather than parameter semantics.

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 ('Get a one-time link for uploading ONE file') and immediately constrains it with accepted formats and a size cap, so the agent knows exactly what this returns and what it is for. The emphasized 'ONE file' also implicitly separates it from any bulk-upload path.

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?

Gives concrete invocation guidance that most descriptions omit: upload via HTTP PUT rather than pasting contents, a working curl example, a 15-minute validity window, and an explicit hand-off ('use the returned id with print_file'). It does not name alternatives for other content types (e.g. print_text or print_file_data), so the when-not case is only implicit.

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