Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_files_upload

Uploads a file from the local computer to an ECP account, streaming text or binary data from disk. Use for files up to the upload limit; zip folders first, then upload the archive.

Instructions

Upload a file from this computer (where this MCP server runs) to the ECP account - any size up to ecp_files_upload_limit, text or binary (images, zips, videos). The file is read from disk and streamed to ECP, so use this instead of ecp_files_write for anything that isn't a small text edit. To upload a folder, zip it first, upload the zip, then ecp_files_extract it. Files outside the chat app's working folders and ECP_UPLOAD_DIRS need the user's approval in a prompt.

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>",
      "destination": "<destination>"
    },
    "name": "ecp_files_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_nameNoName to save it as; defaults to the local file's name
overwriteNoReplace a file that already exists there. Default false: the upload fails instead.
local_pathYesAbsolute path of the file on this computer, e.g. /home/me/site/hero.jpg or ~/Downloads/site.zip
destinationYesFolder on the ECP account to put it in, e.g. 'public_html' or 'apps/my-app'. Created if missing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and mostly delivers: it discloses that the file is read from disk and streamed, that oversize files hit ecp_files_upload_limit, and that certain paths require interactive user approval. It does not say what happens on partial failure or what the response contains, which keeps it short of a 5.

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?

Four sentences, each doing distinct work: purpose, substitution rule, folder recipe, approval caveat. The primary identification is front-loaded and nothing is redundant.

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 mutation tool with no annotations and no output schema, the description covers scope, alternatives, size ceiling, and approval behavior. The remaining gap is post-call behavior (what is returned on success or how failures surface), which matters somewhat for a write operation.

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 100%, so all four parameters including overwrite behavior and destination auto-creation are already documented in structured data. The description reinforces that local_path is on the server's machine but adds no format, constraint, or default detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Upload a file from this computer ... to the ECP account'), clarifies the file lives where the MCP server runs, and scopes it to any size up to ecp_files_upload_limit and text or binary content. It explicitly separates itself from ecp_files_write, so an agent can pick it without opening another schema.

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

Usage Guidelines5/5

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

Gives an explicit selection rule ('use this instead of ecp_files_write for anything that isn't a small text edit'), a concrete folder workflow (zip, upload, then ecp_files_extract), and the condition that triggers a user approval prompt for paths outside working folders and ECP_UPLOAD_DIRS.

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

Deploy Server

Other Tools