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

push_file

Destructive

Copy a local file or directory to a remote Tailscale device over SSH with recursive scp; requires exec=true.

Instructions

Copy a local file or directory to a device (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>",
      "local_path": "<local_path>",
      "remote_path": "<remote_path>"
    },
    "name": "push_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.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is covered by structured data. The description adds real value by disclosing the transport ('scp -r', i.e. recursive copy) and the exec=true authorization requirement, but it never states what happens to an existing file at remote_path — overwrite, fail, or merge — which is the key behavioral question for a destructive push.

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, front-loaded with the operation and followed by the hard prerequisite. Nothing is wasted and the ordering matches how an agent needs the information.

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 no explanation, and annotations cover the risk profile. What remains missing is the overwrite/clobber behavior on the remote path and any meaning for the timeout parameter — moderate gaps for a destructive, 0%-covered-schema tool, but not disqualifying.

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% for 4 parameters, so the description must compensate and largely does not. 'Local file or directory' and 'to a device' loosely hint at local_path, remote_path and device, but the device identifier format and the purpose/default of timeout_s (300s) are left entirely to the bare schema titles.

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 and resource ('Copy a local file or directory to a device') and the direction ('to a device') implicitly separates it from pull_file. It stops short of naming the sibling explicitly, so it is clear but not fully self-differentiating.

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 prerequisite 'Requires exec=true' is a concrete usage condition, which is more than most definitions offer. However, there is no statement about when to choose this over pull_file or run_command, nor when not to use it (e.g. large transfers, directories with special files).

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