Skip to main content
Glama
Fileport

Fileport

Official

Edit Upload

edit_upload
Idempotent

Update an upload's name, description, tags, expiry, password, and download settings, or change photobook album options; omitted fields stay unchanged.

Instructions

Changes an upload's name, description, tags, expiry, password and download settings, or a photobook's album settings. Fields left out stay as they are.

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": {
      "id": "<id>"
    },
    "name": "edit_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe upload's id, the end of its link
nameNo
tagsNo
albumNoPhotobooks only
expiryNo
passwordNoAn empty one removes the password
descriptionNo
expireAfterDownloadNoSend uploads only: deletes it after its first download
notifyAfterDownloadNoSend uploads only: emails the owner at each download

Output Schema

NameRequiredDescriptionDefault
idYes
linkYes
nameYes
sizeYesBytes
tagsNo
albumNo
filesYesThe first 100 files
viewsNoPhotobooks only
expiryNo
productYes
finishedYesWhether every file arrived
passwordNo
createdAtNo
downloadsNoSend uploads only
expiresAtYes
fileCountYes
descriptionNo
expireAfterDownloadNo
notifyAfterDownloadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is largely covered. The description's genuinely additive disclosure is "Fields left out stay as they are" (merge semantics for omitted parameters). It says nothing about permission requirements, error behavior, or side effects of changing expiry/password on a still-live upload.

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?

Two tight sentences with no filler; the core mutation semantics and the merge rule are both front-loaded. Nothing is repeated from the title or schema needlessly.

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?

Return values need not be explained because an output schema exists, and the annotations carry the safety profile. The description covers the main mutation surface and the partial-update rule, but for a 9-parameter tool with nested album options it leaves permission and failure behavior unaddressed.

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

Parameters3/5

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

Schema coverage is 56%, and the description names most parameters, grouping two of them usefully as "download settings" and identifying "album settings" as photobook-scoped. However, it adds little beyond the schema's own wording: the empty-password semantics, expiry enum values, and album sub-fields are only documented in the schema.

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 ("Changes") and resource ("an upload"), and enumerates the editable surface: name, description, tags, expiry, password, download settings, and photobook album settings. An agent can tell this is the partial-update tool rather than a reader or file manipulator, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the field list and the partial-update rule, but there is no explicit when-to-use guidance, no mention of prerequisites (ownership of the upload, premium-only expiry options), and no direction among siblings like get_upload or delete_upload. The agent must infer that this is the tool for metadata-only edits.

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