Skip to main content
Glama
imagekit-mcp-server

imagekit-mcp-server

by aiconnai

upload_file_from_url

Upload a file to ImageKit directly from a URL without downloading it first; set the destination filename, folder, tags, and privacy options.

Instructions

Upload a file to ImageKit from a 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": {
      "url": "<url>",
      "fileName": "<fileName>"
    },
    "name": "upload_file_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL of the file to upload
tagsNoTags to associate with the file
folderNoDestination folder path/
fileNameYesName for the uploaded file
isPrivateFileNoWhether file should be private
overwriteFileNoWhether to overwrite existing file with same name
customMetadataNoCustom metadata key-value pairs
customCoordinatesNoCustom focus coordinates for cropping (x,y,width,height)
useUniqueFileNameNoGenerate unique filename to avoid conflicts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations at all, the description must carry the full behavioral burden and does not. It says nothing about whether the source URL must be publicly reachable, what happens when fileName collides, whether the upload is synchronous, what permissions are required, or what the call returns after a write operation.

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?

A single front-loaded sentence with zero filler and no repetition of schema content. It is efficient, though the efficiency comes partly from omission rather than discipline.

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?

Placeholder

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 all nine parameters including url, fileName, folder, tags, and the overwrite/unique-name toggles are already documented in the schema. The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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 to ImageKit') plus the distinguishing mechanism ('from a URL'), which implicitly separates it from upload_base64_file and upload_file. It stops short of naming those siblings, so the differentiation is inferential rather than explicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of when a caller should pick this over upload_base64_file or upload_file, and no prerequisites. The 'from a URL' phrasing hints at the use case but the agent must infer the selection rule entirely.

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