Skip to main content
Glama
imagekit-mcp-server

imagekit-mcp-server

by aiconnai

upload_file

Upload a local file to ImageKit with optional folder, filename, tags, privacy, metadata, and overwrite or unique-name settings.

Instructions

Upload a local file to ImageKit

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": {
      "filePath": "<filePath>"
    },
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoTags to associate with the file
folderNoDestination folder path/
fileNameNoName for the uploaded file (defaults to original filename)
filePathYesLocal path to the file to upload
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

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, yet it says nothing about authentication requirements, what happens on filename collisions, how overwriteFile interacts with useUniqueFileName, or what the response contains. For a mutation tool with nine parameters and zero annotation coverage, this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of waste, but it is undersized for a nine-parameter upload operation. Brevity here comes at the cost of missing information rather than reflecting efficient editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The schema is fully described and there is no output schema to explain, so parameter documentation is covered. However, with no annotations and a mutating multi-parameter operation, the description should disclose at least auth and overwrite semantics to be complete.

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 every parameter including filePath, folder, and customCoordinates is already documented in the schema. The description adds no meaning beyond that, which lands at the baseline of 3.

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?

The description gives a specific verb and resource ('Upload a local file to ImageKit'), and the word 'local' implicitly separates it from upload_base64_file and upload_file_from_url. It does not explicitly name those siblings, but the resource scope is unambiguous.

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 explicit guidance on when to choose this over the base64 or URL upload siblings, nor any statement of prerequisites such as credentials or required permissions. The distinction must be inferred from the single word 'local'.

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