Skip to main content
Glama

pull_remote_file

Downloads a file from a remote HTTP/HTTPS URL directly into a server directory, with optional filename and destination overrides.

Instructions

Download a file directly from a remote HTTP/HTTPS URL into a server directory.

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": {
      "server_id": "<server_id>",
      "url": "<url>"
    },
    "name": "pull_remote_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesRemote HTTP/HTTPS URL to pull
filenameNoOptional filename override on the server
directoryNoDestination directory inside container (default '/')
server_idYesShort server identifier
foregroundNoWait for the download to finish before returning (default true)
use_headerNoUse Content-Disposition filename header when available

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.2/5.0
Behavior2/5

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

The only annotation is readOnlyHint=false, which the description is consistent with, but it carries the full remaining burden and discloses little: nothing about overwriting existing files at the destination, whether the operation blocks or runs asynchronously (the foreground parameter hints at this but is unexplained in prose), URL allow-listing/SSRF constraints, or size limits. The phrase 'directly ... into a server directory' is the only behavioral signal.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is part of why behavioral and usage details are missing rather than a flaw of wording itself.

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?

With six parameters, a mutation annotation, and no output schema, an agent still lacks key operational context: what is returned on completion, what happens if the destination file already exists, and how foreground=false affects the return. The schema covers parameters fully, so this is adequate but with clear gaps.

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%, so all six parameters including directory, filename, foreground, and use_header are already documented in the schema. The description adds no extra semantics (e.g., how filename interacts with use_header, or what foreground=false implies for retrieval) beyond the schema baseline.

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 states a specific verb and resource plus directionality: 'Download a file directly from a remote HTTP/HTTPS URL into a server directory.' This is enough to tell it apart from upload_file or get_download_url by the flow of data (remote URL to server filesystem), though no sibling is named explicitly.

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?

Usage is only implied by the description's directionality (remote source, server destination); there is no explicit statement of when to prefer this over upload_file, get_download_url, or copy_file, and no prerequisites or exclusions are given.

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