Skip to main content
Glama
nuwainfo

ffl-mcp

Official
by nuwainfo

fflShareFile

Generate secure share links for local files or folders. Control access with encryption, passwords, download limits, and recipient authentication.

Instructions

Share a local file or folder using ffl. Respects ALLOWED_BASE_DIR when configured. If qrInTerminal is True, also returns a QR code as ASCII art for terminal display.

IMPORTANT: Always present the returned link so the user can click it to open in a browser. Do not display it as a plain unformatted URL — in some interfaces (such as Claude Dispatch) plain URLs are not auto-linked and will not be clickable.

Args: path: Path to file or folder to share name: Custom download filename shown to recipient e2ee: Enable end-to-end encryption (default: False) preview: Open recipient's browser directly in preview mode — ideal for folders or multiple files so the recipient sees a file list before downloading (default: False) authUser: HTTP Basic Auth username to protect the link authPassword: HTTP Basic Auth password to protect the link maxDownloads: Stop serving after N downloads, P2P only (default: 1) timeoutSeconds: Stop serving after N seconds of inactivity, P2P only (default: 1800) waitLinkSeconds: Seconds to wait for link generation hookUrl: Custom webhook URL for events proxy: Proxy server URL (e.g. socks5://127.0.0.1:9050) qrInTerminal: Return ASCII QR code art for terminal display exclude: Exclude files matching glob or regex patterns, comma-separated (e.g. '*.log' or 're:.tmp$') recipientAuth: Recipient authentication mode — pickup (6-digit code), pubkey (RSA challenge), pubkey+pickup (both), email (OTP) pickupCode: Specific pickup code to use (default: auto-generated) recipientPublicKey: Path to recipient .fflpub public key file for pubkey auth recipientEmail: Recipient email(s) for OTP auth, comma-separated alias: Custom link alias instead of random UID (requires Standard+ account) receipt: Send email notification when recipient downloads (pass email address, or empty string for account email) receiptConfirm: Require recipient to confirm before download starts; pass confirmation message or empty string for default forceRelay: Disable direct WebRTC; route all traffic through tunnel upload: Upload to FFL server for async sharing — recipient doesn't need sender online. Pass duration e.g. '1 day', '6 hours', '1 week' (requires Standard+ account) resumeUpload: Resume an interrupted upload (default: False) vfs: Expose as VFS server (vfs:// URI) instead of regular download preferredTunnel: Set preferred tunnel for this and future runs — cloudflare, ngrok, bore, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
nameNo
e2eeNo
authUserNo
authPasswordNo
maxDownloadsNo
timeoutSecondsNo
waitLinkSecondsNo
hookUrlNo
proxyNo
qrInTerminalNo
previewNo
excludeNo
recipientAuthNo
pickupCodeNo
recipientPublicKeyNo
recipientEmailNo
aliasNo
receiptNo
receiptConfirmNo
forceRelayNo
uploadNo
resumeUploadNo
vfsNo
preferredTunnelNo
portNo
inviteNo
pauseNo
enableReportingNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that it shares via ffl, respects ALLOWED_BASE_DIR, and can return a QR code. The IMPORTANT note about presenting the link is helpful. However, it does not detail what happens to the files after sharing (e.g., cleanup, session lifecycle) or potential side effects, which could be improved.

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 long due to many parameters, but it is well-structured with a clear initial purpose, an important usage note, and a list of parameters. While verbose, every part serves a purpose. It could be slightly more concise by grouping related parameters, but it remains functional.

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?

Given the complexity (29 parameters, 1 required), the description covers most parameters in detail, though it misses a few (port, invite, pause, enableReporting) that are in the schema. There is an output schema but it is not shown, so return values are not explained. Overall, it provides strong context but has minor gaps.

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

Parameters5/5

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

Despite the schema having 0% description coverage, the tool description exhaustively explains each parameter with meaning, defaults, and examples (e.g., 'exclude: Exclude files matching glob or regex patterns, comma-separated'). This adds significant value beyond the raw schema, aiding correct usage.

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 clearly states 'Share a local file or folder using ffl.' The verb 'share' and resource 'local file or folder' are specific. It also mentions respecting ALLOWED_BASE_DIR, providing context. This distinguishes it from siblings like fflShareText and fflShareBase64, which handle other data 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?

The description implies usage for local file/folder sharing, and the sibling list provides alternatives for other types. However, it lacks explicit guidance on when to choose this tool over siblings or when not to use it. The context is clear enough but without outright exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nuwainfo/ffl-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server