Skip to main content
Glama
Aktar

Aktar

Official

Create a temporary link

create_temporary_link
Read-only

Generate a presigned URL to share a file from a private S3 bucket for up to 60 minutes; anyone with the link can download it until it expires.

Instructions

Make a link to a file in a bucket that stops working after a while (a presigned URL), for private buckets or sharing for a limited time. Only s3 destinations can; WebDAV and SFTP ones can't. Anyone with the link can download the file until it expires, even from a private bucket, so only make one when the user asks. Nothing in the bucket changes.

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": {
      "key": "<key>"
    },
    "name": "create_temporary_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesThe file's key in the bucket (objectKey in search_uploads, key in list_bucket).
minutesNoHow long the link works, in minutes (default 60, at most 60).
destinationNoDestination name or ID. Leave out for the selected one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, but the description adds a genuinely important consequence not in the structured data: anyone holding the link can download the file until expiry, even from a private bucket. It also reassures that 'Nothing in the bucket changes', reinforcing the read-only profile. Missing is any note on whether the caller needs write/admin permission on the destination or how the link is returned.

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?

Four compact sentences, front-loaded with the core purpose and definition, then constraints, then the security caveat. Every sentence carries information, though 'Only s3 destinations can; WebDAV and SFTP ones can't' is grammatically clipped and could be stated more cleanly.

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?

For a three-parameter tool with no output schema, the description covers what it produces, when it is allowed, which destination types work, and the security implication, which is enough to call it correctly. The one gap is that it never says the returned value is the URL itself (and that it is single-use/expiring), which an agent consuming the result would benefit from.

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%, with key, minutes (default and 60-minute cap) and optional destination all documented in the schema, so the schema does the heavy lifting. The description adds only indirect framing — 'sharing for a limited time' gestures at the minutes parameter — but no extra format or constraint detail. Baseline 3 applies.

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 and resource ('Make a link to a file in a bucket') and immediately glosses it with the precise technical term '(a presigned URL)', so an agent knows exactly what is produced. It also bounds the scope with the expiry behavior and the s3-only restriction, distinguishing it from link-creation and other bucket operations.

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 clear when-to-use context ('for private buckets or sharing for a limited time') and an explicit when-not-to: 'only make one when the user asks'. It also states a hard precondition — only s3 destinations support this, WebDAV and SFTP do not. It does not name a sibling alternative such as create_short_link, which keeps it short of a 5.

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