Skip to main content
Glama
tailnet-agent-mcp
by MC-intel

pull_file

Destructive

Copies a file or directory from a remote device to this machine via scp -r, enabling retrieval of remote data when SSH execution is enabled.

Instructions

Copy a file or directory from a device to this machine (scp -r). Requires exec=true.

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": {
      "device": "<device>",
      "remote_path": "<remote_path>",
      "local_path": "<local_path>"
    },
    "name": "pull_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYes
timeout_sNo
local_pathYes
remote_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and readOnlyHint=false, so the risk profile is covered structurally. The description adds useful detail that 'scp -r' means recursive transfer and that an exec=true mode is required, but it says nothing about overwriting existing local files, destination-directory requirements, or failure behavior.

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?

Two short sentences, action first and the prerequisite second, with no wasted wording.

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

Completeness3/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 no explanation, and the annotations carry the safety profile. However, for a destructive recursive file copy with four undocumented parameters, the definition omits overwrite semantics and timeout meaning, leaving meaningful gaps.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description carries the burden and only partially does: 'from a device to this machine' maps remote_path to the device and local_path to the local machine, but timeout_s and the device identifier itself are left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (copy) and resource (file or directory) and pins the direction: 'from a device to this machine.' That direction implicitly distinguishes it from push_file, though it never names the sibling outright.

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?

It states a hard precondition, 'Requires exec=true,' which tells the agent when the tool is callable, but gives no guidance on choosing it over push_file or run_command for moving data.

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