Skip to main content
Glama

Upload File to Iagon

iagon_upload_file

Upload a local file to Iagon's encrypted, sharded decentralized storage and receive a file ID; files over 40MB are skipped.

Instructions

Upload a local file to Iagon decentralized storage.

This tool uploads a file from your local filesystem to Iagon's encrypted, sharded storage. Files are split into 6 pieces and distributed across multiple providers for redundancy.

Important: Files larger than 40MB will be skipped with an error message, as this exceeds Iagon's sharding limit.

Args:

  • local_path (string, required): Absolute path to the file on your local system

  • remote_path (string, optional): Name/path for the file in Iagon (defaults to original filename)

  • folder_id (string, optional): ID of the folder to upload to

Returns: Success/failure status with file ID if successful.

Examples:

  • Upload a video: local_path="/Users/me/videos/clip.mp4"

  • Upload with custom name: local_path="/tmp/video.mp4", remote_path="project-a/final.mp4"

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": {
      "local_path": "<local_path>"
    },
    "name": "iagon_upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idNoOptional: ID of the folder to upload to
local_pathYesAbsolute path to the local file to upload
remote_pathNoOptional: Name/path for the file in Iagon storage (defaults to original filename)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the write/open-world/non-idempotent profile, and the description adds real behavioral context on top: files are split into 6 shards across providers for redundancy, and files over 40MB fail with an error rather than uploading. It also states the return shape (success/failure plus file ID), though it does not describe failures beyond the size limit.

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 purpose, then a useful mechanism note, a prominently flagged size limit, and structured Args/Returns/Examples sections. The Args block largely duplicates the schema, which is minor waste, but the examples earn their place by showing realistic argument shapes.

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?

For a single-file write tool with no output schema, the description covers purpose, the 40MB guardrail, sharding behavior, and the general return value, which is enough to invoke it correctly. Remaining gaps are small: no mention of auth/credential prerequisites or what an error looks like beyond the oversize case.

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 description coverage is 100%, so the schema already documents all three parameters and their optionality. The Args section restates the same meaning (absolute path, default filename, folder ID) with only marginal added value; the useful extra is confirming local_path must be absolute and remote_path controls the stored name.

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 gives a specific verb and resource ('Upload a local file to Iagon decentralized storage') and scopes it to a single file from the local filesystem, which implicitly separates it from the directory/bulk upload siblings. An agent can tell immediately this is the single-file upload path rather than a batch or listing operation.

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 through the concrete examples (uploading a video, uploading with a custom name) and through the hard constraint that files over 40MB are skipped. However, no sibling is named and there is no explicit 'use X instead when...' routing, so the agent must infer when a directory or bulk upload would be the better call.

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