Skip to main content
Glama

Attach, import, or export local files

file_transfer
Destructive

Transfer files between permitted local folders and Tisty: attach files to tasks or docs, import Markdown docs, or export docs with attachments to a folder.

Instructions

Transfer files between permitted local dirs (Downloads, Documents, Pictures, Desktop, temp) and Tisty. attach copies into task journal or doc end (<=650 MB); import_doc imports .md (or restores exported task page); export_doc copies doc + attachments to folder.

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": {
      "action": "<action>",
      "path": "<path>"
    },
    "name": "file_transfer"
  }
}

Input Schema

NameRequiredDescriptionDefault
docNoTarget doc ID (for `attach` or `export_doc`)
pathYesSource file path (`attach`/`import_doc`) or destination directory (`export_doc`)
taskNoFor `attach`: target open task ID (mutually exclusive with `doc`)
labelNoFor `attach`: display label (<=200 chars; defaults to filename)
titleNoFor `import_doc`: override title if first line is not a heading (<=500 chars)
actionYesTransfer direction/type
anywayNoFor `import_doc`: allow import despite subject overlap
folderNoFor `import_doc`: destination folder name, path, or ID
page_ofNoFor `import_doc`: parent doc ID to attach as subpage

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

The annotations already flag this as non-read-only, destructive, and non-idempotent. Beyond those annotations, the description adds the permitted local directories, a 650 MB attach limit, target locations for attach, restore behavior for import_doc, and export contents. It still omits overwrite/conflict handling and permission or failure behavior, so it is strong but not exhaustive.

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?

The description is front-loaded with the overall transfer scope, then efficiently breaks down the three actions in one compact follow-up sentence. There is no filler, and the semicolon structure maps cleanly to the available action values.

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 nine-parameter, three-action destructive file tool, the description covers what each action does, where files may come from or go, and a major size constraint. Because the input schema fully documents parameter details and annotations signal destructiveness, the remaining gaps around overwrite behavior and explicit exclusions are relatively minor.

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%, and all nine parameters are already documented in the schema. The description adds useful domain constraints such as permitted directories and the attach size cap, but it does not provide additional per-parameter meaning beyond what the schema states, so the baseline 3 is appropriate.

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?

The description states a specific verb and resource ("Transfer files between permitted local dirs ... and Tisty") and then distinguishes the three actions: attach, import_doc, and export_doc. An agent can identify exactly what the tool does and how each action differs 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 Guidelines4/5

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

The action clauses provide clear context for each mode: attach copies into a task journal or doc end, import_doc imports .md or restores an exported task page, and export_doc copies a doc plus attachments to a folder. It does not explicitly state when not to use the tool or name alternatives, so it stops short of full when/when-not guidance.

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