Skip to main content
Glama

upload_whatsapp_file_from_url

Upload a file from a remote URL to the WhatsApp platform for use in media messages. The file will be downloaded from the provided URL and stored securely. Returns the uploaded file details including ID for use in message sending.

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL from which to download file contents
tagsNoOptional tags for file categorization
formatNoFile presentation format (gif for videos as GIF, ptt for audio as voice note)
filenameNoCustom filename for the uploaded file
referenceNoOptional reference identifier for file tracking
expirationNoFile expiration time-to-live
permissionNoFile access permission level

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It adds useful facts (the content is fetched from the URL and stored, an ID is returned for later message sending), but says nothing about failure modes (unreachable/invalid URL), size limits, or what expiration/permission actually cause.

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?

Three short sentences, front-loaded with the action and purpose, and the return value is noted last. Minor redundancy in restating that the file is downloaded from the given URL, but no real waste.

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?

With a rich seven-parameter schema but no annotations and no output schema, the description covers the core flow and return value (ID). It is adequate but leaves behavioral gaps (expiration semantics, permission effects, error behavior) that an agent would want before invoking.

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 the schema already documents all seven parameters including the enums for format, expiration, and permission. The description adds no parameter-level detail beyond what the schema provides, so baseline 3 is appropriate.

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 ("Upload") and resource ("a file from a remote URL to the WhatsApp platform") plus the downstream purpose (media messages). Clear enough to separate from siblings like download_whatsapp_file or delete_whatsapp_file, though it doesn't name them.

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?

"for use in media messages" implies the context, but there is no explicit when-to-use/when-not guidance, no mention of the alternative upload path (e.g., sending an existing hosted file vs uploading), and no prerequisites about URL accessibility.

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