Skip to main content
Glama

Download a file from the FTP site

get_ftp_file
Read-only

Download raw file content from the PGS Catalog FTP using a path relative to the scores root; returns text files as-is and binary files as base64-encoded text.

Instructions

Download the raw text content of a file from the PGS Catalog FTP site. Provide a path relative to the FTP root, e.g. PGS000001/ScoringFiles/PGS000001.txt.gz or PGS000001/Metadata/PGS000001_metadata_scores.csv. Binary files (e.g. .gz) are returned as base64-encoded text; text files (e.g. .csv) are returned as-is.

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file on the FTP site, relative to the scores root. Example: PGS000001/Metadata/PGS000001_metadata_scores.csv

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds genuinely useful non-annotation behavior: binary/.gz files come back base64-encoded while .csv text is returned as-is. It omits rate limits or file-size caveats, keeping it below 5.

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?

Three short sentences, front-loaded with the action, then the path convention, then the return-encoding behavior. No filler.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description appropriately explains what is returned (raw text, base64 for binary). With one fully documented parameter and annotations covering safety, an agent has everything needed to call it correctly.

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 coverage is 100% and the single parameter already carries a description and example, so baseline is 3. The description echoes examples and the relative-path idea but also slightly conflicts with the schema ('relative to the FTP root' vs 'relative to the scores root'), which may cause minor confusion.

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?

States a specific verb+resource: 'Download the raw text content of a file from the PGS Catalog FTP site.' The sibling set is dominated by list_* and search_* tools, so a download-by-path tool is clearly differentiated without ambiguity.

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?

Gives concrete path examples and the relative-path convention, which tells an agent how to invoke it after obtaining a path from the list_* siblings. It does not explicitly state exclusions or when to prefer an API-based sibling (e.g., get_score) over the FTP route, so not a full 5.

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