Skip to main content
Glama

download file

download_file
Read-onlyIdempotent

Return a Compass OS file as a resource to save: a card's share image, the Rewind carousel PDF, or a tracked role's resume or cover letter as PDF or DOCX. Only a card calls it, with the file's Compass OS link; any other link is refused. Read-only: it builds the file from the user's own data.

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": {
      "url": "<url>"
    },
    "name": "download_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe file's full Compass OS link, as the card has it

Output Schema

NameRequiredDescriptionDefault
textYesThe answer, or what was done, in plain words for the user: the same text as content
undoNoOn a saved write: its undo handle, for undo within 24 hours
widgetNoThe card the host draws with it, e.g. "pipeline"; "confirm" means a write waits for the user's Yes and nothing is saved yet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / undo
      Added value: +{
      +  "description": "On a saved write: its undo handle, for undo within 24 hours",
      +  "type": "string"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / properties / url / description
      Added value: +"The file's full Compass OS link, as the card has it"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "additionalProperties": false,
      +  "properties": {
      +    "text": {
      +      "description": "The answer, or what was done, in plain words for the user: the same text as content",
      +      "type": "string"
      +    },
      +    "widget": {
      +      "description": "The card the host draws with it, e.g. \"pipeline\"; \"confirm\" means a write waits for the user's Yes and nothing is saved yet",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "text"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is pre-covered; the description still adds the meaningful 'builds the file from the user's own data' framing and, more usefully, the refusal behavior for non-Compass OS links. It does not elaborate on what happens on failure beyond refusal, but with an output schema present that gap is minor.

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?

Two sentences, front-loaded with the action and artifact types before the caller restriction. No redundant restatement of the title and no filler.

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?

Covers artifact scope, caller restriction, invalid-input handling, and read-only behavior; return values are handled by the existing output schema. The only soft spot is the unexplained term 'card', which an agent new to this domain must infer from context.

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?

Schema coverage is 100% and the single 'url' param is documented as 'The file's full Compass OS link'. The description adds semantic constraint beyond the schema: the link must be a Compass OS file link, and anything else is refused — meaning the schema alone would not convey.

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?

Uses a specific verb ('Return ... as a resource to save') and names the resource precisely, then enumerates the concrete artifact types (card share image, Rewind carousel PDF, resume/cover letter as PDF or DOCX). An agent can distinguish this from sibling material tools like get_material, tailor_material, or rewind without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Explicitly states both when to use it ('Only a card calls it, with the file's Compass OS link') and when not ('any other link is refused'). This gives a clear caller constraint and a rejection condition rather than leaving selection to inference.

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