Skip to main content
Glama

download_object

Downloads an Amazon S3 object to a new local file under S3_MCP_ALLOWED_PATHS for safe, credential-based data transfer.

Instructions

Download an object to a new file under S3_MCP_ALLOWED_PATHS.

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": {
      "bucket": "<bucket>",
      "key": "<key>",
      "local_path": "<local_path>"
    },
    "name": "download_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
bucketYes
local_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full burden, and it does disclose one genuinely important behavioral constraint: the destination must live under S3_MCP_ALLOWED_PATHS, which tells the agent the call can be rejected on path grounds. It says nothing about whether an existing file at local_path is overwritten, whether missing parent directories are created, or credential/permission requirements, which are significant gaps for a tool that writes to local disk.

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, and the path-restriction constraint is placed where the agent will see it. The brevity edges toward under-specification rather than wasted wording.

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

Completeness2/5

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

For a three-parameter write-to-disk tool with no annotations and no schema property descriptions, the definition is too thin. Overwrite semantics, directory creation, and permission/credential expectations are all unaddressed; only the return shape is covered, since an output schema exists.

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 0%, so all three parameters rely on the description, which clarifies only local_path via the S3_MCP_ALLOWED_PATHS restriction. bucket and key are left to the reader's S3 conventions (bucket name, full object key), and there is no statement about whether the key needs a prefix or whether local_path must be absolute.

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 pairs a specific verb ('Download') with a specific resource ('an object to a new file'), which makes the operation unambiguous and clearly distinct from the sibling upload_object and the read-only listing/inspection tools. It stops short of naming any sibling for contrast, so a 4 rather than a 5.

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: the agent can infer this is the tool for retrieving object bytes to disk, while list_objects/inspect_bucket are for metadata. There is no explicit when-to-use statement, no exclusion for very large objects, and no guidance about pre-checking a bucket or key before downloading.

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