Skip to main content
Glama

Import a file from a URL

import_file_from_url

Fetch a PDF, Office file, image or EPUB from a public link into FynePDF and get its file_id.

Input Schema

NameRequiredDescriptionDefault
urlYes
file_nameNo

Output Schema

NameRequiredDescriptionDefault
kindYes
bytesYes
pagesYes
file_idYes
filenameYes
expires_atYes
download_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already disclose the side-effecting (readOnlyHint=false), open-world, non-idempotent profile. The description adds real value beyond that: it lists what content types are accepted, states the source must be publicly reachable, and promises a file_id back. It omits size limits and the fact that repeated imports create new files.

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?

A single well-formed sentence that front-loads the action and the source constraint, then the outcome. No redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The presence of an output schema removes the need to document return values, and the core happy path is covered. But for a network-fetching write tool, the undocumented optional file_name parameter and the absence of any failure-mode or size-limit note leave gaps.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden, and it explains only that a URL is involved. The optional file_name parameter (name override, 200-char cap) is never mentioned, and there is no hint about URL format or whether signed/authenticated links work.

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 and resource ("Fetch ... into FynePDF") plus the accepted formats and the returned handle (file_id). The phrase "from a public link" implicitly separates it from upload_file, but no sibling is named explicitly.

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?

"Public link" implies the tool is for externally reachable URLs, which is a useful usage constraint, but there is no explicit when-not guidance and no alternatives (upload_file, get_file) are named for local or already-stored files.

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.

Resources