Skip to main content
Glama

Tommos

Add a file to Files from a link

add_a_file_from_a_link

Put a file in the workspace's Files, as the Files page's upload does, from a public https link: at most 10 MB, an address on the public internet only, its content type kept; a link that opens a web page is refused. Returns the file's id and name; give the id to update_form's delivery_file_ids to send it to everyone who submits that form. name names it; otherwise the server's own file name or the link's last part.

Input Schema

NameRequiredDescriptionDefault
urlYesThe https link to the file itself
nameNoThe file's name in Files (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare openWorldHint, non-idempotent and non-destructive, and the description adds real behavioral detail beyond them: the 10 MB cap, public-internet-only restriction, content-type preservation, and the refusal of links that open a web page. Auth/permission requirements are not mentioned, which keeps it from a 5.

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 dense paragraph that front-loads purpose and constraints, then return values and the name fallback. Every clause carries information, though the run-on structure makes it slightly harder to scan than a short bulleted form would.

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?

With no output schema, the description correctly covers the return contract (file id and name) plus the mutation's constraints and downstream use. Only permission/auth expectations are left unstated, so it is nearly complete for a 2-parameter mutation 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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics: `url` must point at the file itself (not a web page) and `name` has an explicit fallback chain (server's own file name, then the link's last path segment). That is genuine added meaning over the schema's terse strings.

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 precise verb+resource+source: puts a file into the workspace's Files from a public https link, and equates it to the Files page's upload. No sibling tool does file ingestion, and the description even names the downstream consumer (update_form's delivery_file_ids), so the agent can place it unambiguously.

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 context for when this applies (a public https link to a file, mirroring the Files upload) and what to do with the result (feed the id to update_form). It does not name an explicit alternative or spell out when-not-to-use beyond refusing web-page links, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.