Skip to main content
Glama

upload_file

Upload local files to Zulip and generate markdown for embedding images inline or creating download links in messages.

Instructions

Upload a local file to Zulip and return markdown to embed it in messages.

Args: file_path: Absolute path to the file to upload.

Returns: Markdown that can be pasted into a message to embed the file. For images, this displays the image inline. For other files, this creates a download link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses key behaviors: the tool uploads files and returns markdown for embedding, with different handling for images (inline display) versus other files (download links). However, it omits details like authentication needs, file size limits, rate limits, or error conditions, which are important for a mutation tool.

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 front-loaded with the core purpose in the first sentence, followed by structured 'Args' and 'Returns' sections. Every sentence adds value: the first states the action, the second explains the parameter, and the third and fourth detail the return behavior. There is no wasted text, making it highly efficient.

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?

Given the tool's moderate complexity (a mutation with one parameter), no annotations, and an output schema present (which likely covers return values), the description is fairly complete. It explains the purpose, parameter semantics, and return usage. However, it could improve by addressing behavioral aspects like permissions or limitations, slightly reducing completeness.

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?

The schema description coverage is 0%, so the description must compensate. It adds meaning by explaining that 'file_path' is an 'absolute path to the file to upload,' clarifying the parameter's purpose beyond the schema's basic type definition. Since there is only one parameter, this is sufficient to achieve a high score, though it could detail format constraints (e.g., supported file types).

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 specific action ('upload a local file to Zulip') and distinguishes it from sibling tools like 'fetch_file' or 'fetch_image' by focusing on uploading rather than retrieving. It specifies the resource (local file) and destination (Zulip), making the 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 Guidelines3/5

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

The description implies usage for embedding files in messages, but does not explicitly state when to use this tool versus alternatives like 'send_message' for text-only content or 'fetch_file' for retrieving files. It provides context (embedding in messages) but lacks explicit exclusions or comparisons to sibling tools.

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/windborne/zulipmcp'

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