Skip to main content
Glama

Copy a file

tarkle_copy_file

Copy one file inside Tarkle (nothing is downloaded or uploaded again). folderId: the destination folder, null for the library root, left out for the same folder. name: the copy's full name with its extension, left out for the same name; a name already used there is refused (NAME_TAKEN), a copy is never renamed silently, so copying into the same folder needs a new name. The copy counts toward storage and the plan's file size limit (FILE_TOO_LARGE, STORAGE_LIMIT_EXCEEDED). Folders cannot be copied.

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

Input Schema

NameRequiredDescriptionDefault
nameNoThe copy's full name, including the extension.
fileIdYesThe file's fileId, from tarkle_list_files or tarkle_list_bin.
folderIdNoThe destination folder, null for the library root, or leave out for the same folder.
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.
workspaceIdYesThe workspace's id from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
fileNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses concrete failure modes with error codes (NAME_TAKEN, FILE_TOO_LARGE, STORAGE_LIMIT_EXCEEDED), the guarantee that a copy is never silently renamed, and that the copy consumes storage and counts against the plan's file size limit. These details are consistent with idempotentHint=false (a second identical call would hit NAME_TAKEN) and destructiveHint=false.

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?

The operation is front-loaded in the first clause, then parameter rules, then constraints. It is dense but every clause carries information (error codes, defaults, the folder restriction); only the parenthetical about no re-upload borders on redundant with the verb "copy."

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?

An output schema exists, so return values need not be explained, and the annotations cover the safety profile; the description fills in errors and limits. A small gap remains about what the copy inherits (sharing, comments, version history), which matters for a duplicate operation.

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, but the description adds meaning beyond it: the tri-state folderId behavior (null = root, omitted = same folder) and the same-folder renaming constraint for name. The collision semantics for name are genuinely useful context the schema's maxLength/minLength does not convey.

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?

"Copy one file inside Tarkle" gives a specific verb and resource, and the parenthetical "(nothing is downloaded or uploaded again)" explicitly separates it from upload/import siblings. An agent can tell this is a server-side duplicate operation without opening the schema.

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

Usage Guidelines3/5

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

The description implies usage (duplicate a file, optionally into another folder) and adds a hard boundary: "Folders cannot be copied." It also warns that copying into the same folder requires a new name. However, no sibling is named as an alternative (e.g., move vs. rename vs. upload), so the agent must infer when to prefer this over those.

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.