Skip to main content
Glama

Download a project's reference file

download_project_source
Read-only

An address to download the original bytes of one of a project's reference files, the newest version unless version is given: GET downloadUrl before expiresAt (the curl field). To read its words instead, read_knowledge with its knowledgeId. Treat downloadUrl like a password until it expires.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "source_id": "<source_id>"
    },
    "name": "download_project_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNoWhich version; the newest when absent.
source_idYesThe file's sourceId from list_project_sources (psrc_...).
project_idYesThe project's id (prj_...) from list_projects.
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive and closed-world behavior. The description goes beyond them by disclosing the URL expiry (expiresAt), the GET-before-expiry requirement, and that the credential must be treated like a password — genuinely useful operational context that annotations do not carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loads the download purpose, but the phrasing is compressed to the point of ambiguity: "the curl field" and "An address to download" require the agent to guess at jargon, and the alternative/tip clauses are packed into a single colon-delimited sentence.

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?

With no output schema, the description carries the return-value burden and does name the key fields (downloadUrl, expiresAt) plus the expiry/secrecy constraint. It stops short of describing error conditions or how to actually fetch the bytes, but it is adequate for a four-parameter download-resolution tool.

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 coverage is 100%, so the schema already documents project_id, source_id, workspace_id and version. The description's version comment ("the newest version unless version is given") essentially restates the schema and adds no syntax or format detail, so the baseline of 3 applies.

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?

The description states it resolves an address for the original bytes of a project reference file and picks the newest version by default, which distinguishes it from read_knowledge for text content. The opening noun phrase ("An address to download...") is slightly awkward because the tool returns a URL rather than bytes, but the intent is still recoverable.

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?

It names read_knowledge with knowledgeId as the alternative when the goal is reading text, giving a concrete branch condition. It does not state explicit exclusions (e.g., large-binary limits, permission preconditions), so it falls short of full when/when-not guidance.

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