Skip to main content
Glama

Start a file upload

tarkle_start_upload

Start uploading one file to a Tarkle workspace. Returns signed URLs for sending the bytes directly to storage with HTTP PUT (no Authorization header). Up to 1 GB is one URL; larger files are split into 512 MB parts (a 10 GB file is 20 URLs; ask for more with tarkle_get_upload_parts). The result includes the exact shell command. Size limit: your plan's per-file limit when the client runs on the person's computer (Claude Code, Droid, Cursor); 5 GB in web chat apps (ChatGPT, Claude.ai), which should use tarkle_get_upload_page for larger files. If you cannot run shell commands or reach the network, do not use this tool: use tarkle_upload_text (text you hold), tarkle_upload_from_url (a public https address) or tarkle_get_upload_page. Then poll tarkle_get_upload_status.

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": {
      "workspaceId": "<workspaceId>",
      "fileName": "<fileName>",
      "sizeBytes": "<sizeBytes>"
    },
    "name": "tarkle_start_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNameYesName to save the file under.
folderIdNoFolder to save the file in (from tarkle_list_folders or tarkle_create_folder). Omit for the library root.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sizeBytesYesThe file's exact size in bytes. The upload fails if the bytes sent do not add up to this.
contentTypeNoMIME type of the file.
workspaceIdYesThe workspace's id from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
modeNo
statusNo
uploadsNo
fileNameNo
partSizeNo
expiresAtNo
partCountNo
sessionIdNo
sizeBytesNo
contentTypeNo
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, open-world, non-idempotent) it discloses mechanics an agent could not infer: signed URLs require no Authorization header, files above 1 GB are split into 512 MB parts, and the result contains a ready-to-run shell command. It also warns that the upload fails if bytes do not match sizeBytes and points to tarkle_get_upload_parts for additional URLs.

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 purpose and return value, then constraints, then fallbacks, so an agent can stop reading early. It is dense but nearly every clause carries operational information; the parenthetical file-size arithmetic ("a 10 GB file is 20 URLs") is slightly redundant with the earlier part-size rule.

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

Completeness5/5

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

For a mutating, network-dependent upload starter with six parameters, the description covers size limits by environment, chunking thresholds, required follow-up polling, and fallback tools. An output schema exists, so the partial return-value description is a bonus rather than a gap.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description still adds real meaning by explaining that sizeBytes drives URL chunking (1 GB single URL, 512 MB parts, 10 GB yielding 20 URLs) and that the value must match the bytes actually sent. It does not elaborate on folderId, contentType or llm_model, which the schema already documents.

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 ("Start uploading one file to a Tarkle workspace") and immediately clarifies the return (signed URLs for direct-to-storage PUT). It is clearly distinguished from tarkle_upload_text, tarkle_upload_from_url and tarkle_upload_file by naming them for the cases where this tool cannot be used.

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 explicit when-to-use (client with shell/network access), explicit when-not ("If you cannot run shell commands or reach the network, do not use this tool"), and names the three alternatives to use instead, plus the required follow-up poll of tarkle_get_upload_status. Size-based routing to tarkle_get_upload_page for >5 GB in web chat apps is also spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.