Skip to main content
Glama

seff.io File Share

Upload a file

v1.file.upload

Upload a file up to 5 MiB of decoded content and return its public links. Files over 5 MiB require TUS at /files. Read upload_fallback from v1.server.info for the skill URL.

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": {
      "file_name": "<file_name>",
      "content_base64": "<content_base64>",
      "captcha_token": "<captcha_token>"
    },
    "name": "v1.file.upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameYesOriginal file name.
captcha_tokenYesFresh token from v1.captcha.redeem.
content_base64YesBase64 encoded file content, up to 5 MiB decoded.
duration_secondsNoExpiry time in seconds. Default 14400.

Output Schema

NameRequiredDescriptionDefault
keyYesStored object key.
nameNoOriginal file name.
sizeYes
cdn_urlYesDirect CDN URL.
share_urlYesShort share URL.
expires_atYesExpiry time in RFC 3339 format.
preview_urlYesPreview page URL.
seconds_leftYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare the mutation profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true), so the description doesn't need to restate safety. It adds genuinely new context: a hard 5 MiB size ceiling, that the return is a *public* link (a sharing/exposure implication), and a documented escape hatch for oversized content.

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?

Three tight sentences: capability plus limit first, over-limit alternative second, fallback discovery last. No filler and no repetition of schema fields.

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?

With an output schema present and 100% schema coverage, the description only needs to carry behavioral context, and it does: size limit, result shape in brief, and oversized-file routing. The minor gap is that it doesn't connect duration_seconds to link expiry, so an agent may not realize returned public links are time-limited.

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?

Schema description coverage is 100%, so the baseline is met by the schema alone. The description reinforces the size constraint on content_base64 ('decoded content') and clarifies that the size limit applies to decoded rather than encoded bytes, which is a meaningful distinction for base64 payloads. The expiry behavior of duration_seconds is left entirely to a well-documented schema field.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Upload a file'), with a concrete scope limit (5 MiB decoded) and the result ('return its public links'). An agent immediately knows this is the write-side upload path, though it doesn't explicitly name sibling tools like v1.file.share or v1.file.check to distinguish itself.

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 an explicit exclusion: files over 5 MiB must use TUS at /files. It also routes the agent to v1.server.info for a fallback skill URL when a large upload is needed. Missing only an explicit statement of when this is preferable to the TUS path for small files.

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