Skip to main content
Glama

akb_put_file

Upload a local file to a vault's S3-backed file storage. Ideal for PDFs, images, and large datasets; returns a URI for retrieval or deletion. MIME type auto-detected.

Instructions

Upload a local file to a vault's file storage (S3-backed). Use for PDFs, images, datasets, or any binary content too large for akb_put. Response includes the canonical uri (akb://{vault}/file/{id}) — pass that to akb_get_file / akb_delete_file. MIME type is auto-detected from the filename extension unless overridden.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vaultYesVault name (new files are not URI-addressable yet, so the placement vault is named explicitly)
file_pathYesAbsolute path to the local file to upload
collectionNoLogical grouping (like document collections)
descriptionNoBrief description of the file
mime_typeNoMIME type of the file (e.g. 'text/html', 'application/pdf', 'image/png'). Optional — if omitted, it is auto-detected from the filename extension. Override only when the extension is missing, ambiguous, or wrong.
Behavior4/5

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

Since no annotations are provided, the description carries the burden. It discloses S3 backing, auto-detection of MIME type, and the response URI. It does not mention permissions or file size limits, but covers key aspects for a straightforward upload tool.

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 sentences pack essential information with no redundancy. Purpose, usage guidance, and parameter semantics are efficiently communicated.

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?

The description explains the output URI and subsequent tool usage, which is helpful given no output schema. It could mention potential size limits or supported file types, but overall it is complete for a file upload tool.

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?

Input schema has 100% coverage with descriptions. The description adds value by clarifying MIME auto-detection and override guidance, and that vault is the placement vault. This goes beyond the schema alone.

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?

The description clearly states the tool uploads a local file to a vault's S3-backed storage, specifically for binary content too large for akb_put. It distinguishes from the sibling akb_put, which handles text content.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly tells when to use: 'for PDFs, images, datasets, or any binary content too large for akb_put.' Also describes the response URI and how to use it with akb_get_file and akb_delete_file.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dnotitia/akb'

If you have feedback or need assistance with the MCP directory API, please join our Discord server