Skip to main content
Glama

fetch_file

Download files from Zulip messages to your local system by specifying file paths from message content.

Instructions

Fetch any file from Zulip and save it locally.

Args: path: File path from message content (e.g. "/user_uploads/..."). save_dir: Directory to save to. Uses temp dir if not provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
save_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions saving files locally and using a temp dir as default, but fails to address critical aspects like authentication requirements, rate limits, error handling (e.g., invalid paths), file size constraints, or whether the operation is idempotent. This leaves significant gaps for an agent to understand operational risks.

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 efficiently structured with a clear purpose statement followed by concise parameter explanations. Every sentence adds value: the first defines the tool's action, and the two parameter lines provide essential usage details without redundancy. It's front-loaded and wastes no words.

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?

Given the tool's moderate complexity (2 parameters, no annotations, but with an output schema), the description is partially complete. It covers the basic operation and parameters but omits behavioral details like error cases or security considerations. The presence of an output schema means return values needn't be explained, but the description should still address more operational context for safe use.

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 description adds meaningful context beyond the input schema, which has 0% schema description coverage. It explains that 'path' is a 'File path from message content' with an example (e.g., '/user_uploads/...'), and clarifies that 'save_dir' defaults to a temp directory if not provided. This compensates well for the schema's lack of descriptions, though it could detail path validation rules or save_dir permissions.

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 ('fetch any file from Zulip and save it locally') with the resource ('file from Zulip') and distinguishes it from sibling tools like 'fetch_image' (which is image-specific) and 'upload_file' (which performs the opposite operation). The verb 'fetch' combined with 'save locally' provides precise operational intent.

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 implicitly suggests usage for downloading files from Zulip messages, with a clear example path format. However, it lacks explicit guidance on when to use this versus alternatives like 'fetch_image' (for images only) or 'upload_file' (for uploading), and doesn't mention prerequisites or exclusions (e.g., file size limits, permissions).

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