Skip to main content
Glama

Save a file from an address

tarkle_upload_from_url

Tarkle downloads a file from a public https address (or from a file the user attached in ChatGPT) and saves it in a workspace. Use this when you have a link to the file but no disk or shell. The address must be reachable without a sign-in; up to 50 MB (use tarkle_get_upload_page for bigger files). Pass url, or file for an attachment. Returns fileId for tarkle_create_transfer.

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

Input Schema

NameRequiredDescriptionDefault
urlNoPublic https address of the file.
fileNoA file the user attached in ChatGPT. Send it instead of url.
fileNameNoName to save as; taken from the address when omitted.
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.
contentTypeNoMIME type to save the file with. When omitted, the attachment's mime_type or the type the remote server reports is used.
workspaceIdYesThe workspace's id from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
fileIdNo
sha256No
statusNo
fileNameNo
sizeBytesNo
sha256SourceNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-readonly, open-world, non-idempotent operation; the description adds substantive behavior beyond that: the address must be reachable without sign-in (auth requirement) and the payload is capped at 50 MB (size limit) with a named escalation path. It also discloses the chaining contract ('Returns fileId for tarkle_create_transfer'), which the annotations cannot express.

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?

Five tightly packed sentences ordered action → when → constraints → inputs → return value, with the core operation front-loaded. No filler, and each sentence contributes a distinct fact an agent needs.

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 7-parameter, open-world, mutating tool it covers the essentials: auth reachability, size ceiling, sibling alternative, input selection, and the returned fileId, with an output schema covering the response shape. It stops short of naming failure modes or warning that repeats create new files (non-idempotent), which would close the remaining gap.

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%, including the nested attachment object and its ChatGPT-vs-Tarkle id distinction, so the schema already carries the semantics. The description adds only the light either/or framing of url versus file; it does not clarify whether at least one of the two is required, which the schema also leaves open.

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 concrete verb chain and resource: downloads a file from a public https address (or ChatGPT attachment) and saves it into a workspace, returning a fileId. This is clearly distinguishable from tarkle_upload_file (local/disk-backed upload) and from tarkle_get_upload_page, which it names as the oversized-file path.

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 trigger condition ('when you have a link to the file but no disk or shell') and an explicit alternative plus the threshold that selects it (up to 50 MB, otherwise use tarkle_get_upload_page). It also tells the agent how to choose between the url and file inputs, leaving little to inference.

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.