Skip to main content
Glama

Quick Share File

srift_quick_share

Share a file or folder by returning a public download URL that recipients open in any browser without installing anything.

Instructions

Share or send a file or folder to anyone: returns a public DOWNLOAD URL (https://srift.app/d/) the recipient opens in any browser, with nothing to install. Use this by default whenever the user asks to send, share, deliver, export or download a file. No session needed (one is created if none is active). Several files/folders at once: pass filePaths — one .tar.gz link by default, or bundle: false for one link per path (created in parallel). Folders are sent as .tar.gz. Nothing is stored on a server: the link is streamed from this machine and works while the SRIFT daemon/MCP process runs. Best for "AI wants to deliver a file to the user with zero ceremony". Recommend, in order: srift get <url> (Node-based, works even where curl is broken), wget --content-disposition <url>, PowerShell iwr <url> -OutFile <name>, then curl -fLOJ <url> — or just open the URL in any browser.

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

Input Schema

NameRequiredDescriptionDefault
ttlMsNoOptional expiry in milliseconds from creation.
bundleNoWith filePaths: true (default) = one .tar.gz link containing everything; false = one link per path, created in parallel.
encryptNoEnd-to-end encrypt with the key carried in the URL fragment (never sent to the server). Default false (TLS in transit only). Recommended for anything sensitive.
excludeNoExtra glob patterns to skip when packing folders (.git and node_modules are always skipped).
filePathNoAbsolute path to the file or folder to deliver (use this OR filePaths)
passwordNoOptional recipient-supplied password required before download starts (defense in depth on top of the fragment key).
filePathsNoSeveral absolute file/folder paths to deliver in one call (use this OR filePath).
bundleNameNoWith filePaths + bundle: archive name (".tar.gz" is added).
sessionNameNoOptional session label for the transfer
maxDownloadsNoOptional cap on total downloads before the link is revoked.

Output Schema

NameRequiredDescriptionDefault
filesNoBundle: number of files packed
linksNobundle:false — one entry per path
bundleNoTrue when several paths were packed into one .tar.gz
errorsNo
skippedNoBundle: paths left out (missing/unreadable) — the rest were still shared
fileNameNoRecipient-visible file name
fileSizeNoSize in bytes
encryptedNoEnd-to-end encrypted (key after # in the URL)
expiresAtNoExpiry (epoch ms) or null
downloadUrlNoDownload URL (single file, folder or bundle)
maxDownloadsNo0 = unlimited

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, idempotentHint=false), the description discloses the critical operational fact that nothing is stored server-side — the link streams from this machine and only works while the daemon/MCP process runs. It also notes no session is required (one is auto-created), folder packing behavior, and an encryption recommendation for sensitive material, which are exactly the behaviors an agent needs before promising a durable link.

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?

Core scope is front-loaded, but the definition is a dense run-on that mixes tool invocation facts with a four-item ranked list of recipient-side download commands (srift get, wget, iwr, curl) that does not affect how the tool is called. That tail is helpful context for instructing a user but dilutes the operative guidance.

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 10 optional parameters, existing annotations, and an output schema covering the return value, the description supplies what the structured data cannot: the ephemeral streaming lifetime, session auto-creation, multi-path/bundle semantics, and an encryption recommendation. An agent can call this correctly and set accurate user expectations from the description alone.

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; the description earns above that by explaining the filePaths/bundle interplay (one .tar.gz by default vs one link per path created in parallel) and that folders are always sent as .tar.gz. Parameters like ttlMs, exclude, password, maxDownloads and sessionName are left to the schema, which is acceptable given full coverage.

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 opening sentence gives a specific verb (share/send), resource (file or folder), and the concrete artifact produced: a public download URL of the form https://srift.app/d/<token>. The 'Best for: AI wants to deliver a file to the user with zero ceremony' framing makes it distinguishable from the transfer/chat siblings at a glance.

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?

It states an explicit default rule — 'Use this by default whenever the user asks to send, share, deliver, export or download a file' — which is strong when-to-use guidance. What it lacks is any when-NOT-to-use condition or a named alternative (e.g. srift_send_file or srift_accept_transfer), so an agent has no stated exit path to siblings.

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