Skip to main content
Glama
bramato

saveformedearai

by bramato

save_public_file

Upload a local file to S3-compatible storage and make it publicly accessible, returning the public URL for sharing or embedding.

Instructions

Save a file to S3 storage and make it publicly accessible. Returns the public URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesPath to the local file to upload
filenameNoOptional custom filename for the uploaded file (defaults to original filename)
descriptionNoOptional description/metadata for the file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.0

TDQS

B3.4/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. It usefully discloses the security-relevant behavior (file becomes publicly accessible) and that the public URL is returned, which the schema does not convey. However, it omits whether existing files are overwritten, permission/credential requirements, and size or bucket constraints.

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 short sentences with zero filler; the core behavior and the return value are front-loaded. Nothing redundant or padded.

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 simple three-parameter upload tool with no annotations and no output schema, the description covers the essential action and the return value (public URL). Remaining gaps are minor operational details like overwrite behavior and auth, which are not fatal for a straightforward upload.

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%, so all three parameters are already documented in the schema. The description adds no additional parameter meaning (no format, path conventions, or default nuances), so the baseline 3 applies when the schema does the heavy lifting.

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 (save/upload) and resource (file to S3) plus the key distinguishing trait: it makes the file publicly accessible. This implicitly separates it from save_private_file, though the sibling is never named. An agent can tell it apart from list_files and get_file_url, but the public-vs-private routing is left to inference.

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

Usage Guidelines2/5

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

There is no explicit statement of when to use this tool versus save_private_file, nor any prerequisites or exclusions. The phrase 'publicly accessible' hints at the use case, but the agent must infer the selection rule rather than being told it.

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