Skip to main content
Glama

presign_get_for_prefix

Read-only

Generate presigned download URLs for all objects under a prefix matching a suffix (e.g., .mp4), with pagination. Use it to share or batch-download many objects without exposing credentials.

Instructions

Presigned download URLs for every object under prefix whose key ends with suffix (for example .mp4), at most max_items (default 100, at most 1,000) per call. Each item has key, size and url; pass next_token for more. In read-only mode an expires_seconds over 3,600 is capped at 3,600 for every URL, with a note saying so.

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>",
      "prefix": "<prefix>"
    },
    "name": "presign_get_for_prefix"
  }
}

Input Schema

NameRequiredDescriptionDefault
bucketYes
prefixYes
regionNo
suffixNo
max_itemsNo
expires_secondsNo
continuation_tokenNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/non-destructive, and the description adds genuinely new behavior: per-call item limits with a 1,000 ceiling, pagination semantics, and a read-only-mode cap on expires_seconds with an explanatory note returned to the caller. It omits error/empty-result handling.

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 dense sentences with zero filler, front-loading the core action and scope before the cap and pagination details. Every clause carries operational 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, yet the description briefly names the per-item fields and covers all the risky knobs (item cap, expiry cap, pagination), which is close to complete for a 7-parameter tool. The remaining gap is the un-explained bucket and region parameters.

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

Parameters4/5

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

With 0% schema coverage the description must carry parameter meaning, and it does: suffix filters by key ending, max_items defaults to 100 with a hard ceiling of 1,000, expires_seconds is capped at 3,600 in read-only mode, and the pagination token is explained. The token is called 'next_token' while the schema names it 'continuation_token', and bucket/region are left 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?

States a specific verb (presign download URLs) and resource scope (every object under a prefix, optionally filtered by key suffix), which implicitly distinguishes it from the single-object presign_get sibling. It never names the sibling explicitly, so an agent must infer the alternative from the scope wording.

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 context is implied by the description (bulk presigning of a prefix) and the continuation_token sentence tells the agent how to continue when results run out. There is no explicit when-to-use/when-not guidance or named alternative such as presign_get for a single object.

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

Deploy Server

Other Tools