Skip to main content
Glama

file_request_create

Creates a public upload link into a chosen folder so external users without a filex account can send files; supports optional PIN, expiry, and upload limits.

Instructions

Create a file request: a public UPLOAD link into a folder, for people without a filex account to send files in (the explorer's File request). Needs edit rights on the folder and the account's share.upload_links. Never into an encrypted folder (E2E_ENCRYPTED). Answers the link ({share: {url, token, …}}); the PIN, when asked for, is answered once.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "file_request_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinNoprotect the link with a generated PIN (answered once)
pathYesadapter:// path of the FOLDER the uploads land in
max_uploadsNoclose the link after this many uploads (0 = no limit)
drop_settingsNothe link's upload limits, as the explorer's File request dialog sets them (SHARING.md)
expires_in_daysNothe link expires after this many days (0 = the server's default)

Output Schema

NameRequiredDescriptionDefault
resultYesthe operation's JSON answer - the body its REST twin under /api/ai answers (an object)
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/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 it discloses the key behaviors: it is a mutation requiring specific rights, it cannot target encrypted folders, it returns the link payload, and the PIN is only revealed once. It does not cover failure modes (e.g., existing request conflicts) or whether the link can later be revoked, but the critical call-time behavior is well explained.

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?

Front-loaded with the core definition and packed with relevant clauses; every sentence contributes useful information. It is dense but not bloated, though the single-paragraph style with parenthetical asides could be slightly easier to scan if split by concern.

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?

The tool is moderately complex (mutation, five parameters, nested object, output schema present), and the description covers identity, prerequisites, exclusions, return shape, and a subtle PIN behavior. It is largely complete for an agent to call correctly, with only minor lifecycle/edge-case details left unstated.

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 parameters thoroughly. The description adds meaning by clarifying that path must be a folder, that PIN is answered only once, and that drop_settings mirrors the explorer's File request dialog (with a SHARING.md pointer), giving extra context beyond the schema.

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 ('Create') and resource ('file request'), defines it precisely as a public upload link into a folder for external recipients, and contrasts it implicitly with other sharing tools by emphasizing upload-only public access. An agent can tell this apart from file_share or file_upload_ticket.

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?

Provides clear prerequisites (edit rights on the folder and share.upload_links) and an explicit exclusion (never into an E2E_ENCRYPTED folder). Usage context is clear, but the description does not explicitly name an alternative tool or say 'use this instead of X when Y' — the differentiation is inferred from the upload-link purpose.

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