Skip to main content
Glama

upload-file-from-url

Upload a file to a MediaWiki wiki by providing a source URL. The wiki server fetches the file directly from that URL, with options for filename, description, and attribution.

Instructions

Upload a file to the wiki by fetching it from a URL. The wiki server downloads the file directly from the source URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesSource URL to fetch the file from
userNoName of the person requesting this upload (for attribution). Ask the user if not known
wikiNoWiki name (uses default if omitted)
commentNoUpload comment
filenameYesTarget filename on the wiki
descriptionYesFile description (wikitext)
Behavior2/5

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

No annotations are provided, so the description must carry the full transparency burden. It does disclose the non-obvious behavior that the wiki server downloads the file directly from the source URL, but it omits critical details such as required permissions, overwrite behavior, authentication needs, or error handling. For a mutation tool, this lack of disclosure is a significant gap.

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?

The description is two short sentences that immediately state the action and mechanism. It contains no filler or repetitive information, making it highly concise and well-structured. Every word earns its place.

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

Completeness2/5

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

For a write operation with no annotations and no output schema, the description is too minimal. It does not explain return values, failure modes, required permissions, or what happens on success. The schema covers parameters, but the overall context of using the tool in a workflow is incomplete.

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?

The schema covers 100% of the parameters, each with a description (e.g., 'url', 'filename', 'description'). The tool description adds no extra meaning to the parameters, so it relies on the schema for semantics. A baseline score of 3 is appropriate since the schema does the heavy lifting.

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 file by fetching from a URL, using the specific verb 'upload' and resource 'file'. It distinguishes from the sibling 'upload-file' by explicitly noting the wiki server downloads from a source URL, making the tool's purpose unambiguous.

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?

The description implies usage for remote file uploads, emphasizing the wiki server fetches the file directly from a URL. However, it does not explicitly compare with the sibling 'upload-file' or state when not to use it, though the context of URL fetching is clear.

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/ttpears/mediawiki-mcp'

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