Skip to main content
Glama

Get a download link

get_download_link
Read-onlyIdempotent

Creates a download link (valid 15 minutes, no sign-in needed to open it) for a finished conversion in one of these formats: xlsx, csv, xero, qbo, qbcsv, tally, report. xlsx is an Excel workbook with transactions, summary and categories; csv is Date, Description, Money Out, Money In, Amount, Balance, Category; xero and qbcsv are import files for Xero and QuickBooks; qbo is QuickBooks Web Connect; tally is Tally XML (bank_ledger and offset_ledger name the ledgers); report is the reconciliation report as PDF. When the file held several accounts, account picks one (0-based); without it xlsx carries every account and the other formats carry account 0.

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": {
      "conversion_id": "<conversion_id>",
      "format": "<format>"
    },
    "name": "get_download_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYesxlsx (Excel), csv (generic), xero (Xero bank statement CSV), qbo (QuickBooks Web Connect), qbcsv (QuickBooks 3-column CSV), tally (Tally XML), report (reconciliation PDF).
accountNo0-based account index when the file held several accounts (see get_conversion.accounts). Without it, xlsx gets every account as its own sheet and the other formats get account 0.
bank_ledgerNotally only: the bank ledger name in Tally.
conversion_idYesThe conversion id returned by convert_statement or list_conversions.
offset_ledgerNotally only: the offset (clearing) ledger name in Tally.

Output Schema

NameRequiredDescriptionDefault
urlYes
formatYes
file_nameYes
expires_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new context: the link expires in 15 minutes and needs no sign-in to open. What it does not cover — whether re-calling regenerates or reuses a link, or whether expiry applies to repeated downloads — is minor against the annotation coverage.

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?

One front-loaded paragraph that leads with the action and expiry, then formats, then the account fallback — a sensible information gradient. It is dense and re-states some enum semantics already present in the schema, which keeps it from being maximally tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with an output schema and full schema description coverage, the description supplies everything an agent needs: the artifact taxonomy, ledger naming for tally, expiry, and the multi-account defaulting behavior. Return values are correctly left to the output schema.

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%, so a baseline of 3 applies, but the description goes further by explaining what each format actually yields (xlsx sheet composition, csv column order, which formats are import files versus reports) and by restating the 0-based account defaulting rule. That is real meaning beyond the enum labels.

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?

Opens with a specific verb and resource ("Creates a download link") and immediately narrows the scope ("for a finished conversion"), then enumerates exactly which artifacts can be produced. An agent can distinguish this from get_conversion or convert_statement without opening any schema.

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 phrase "for a finished conversion" implicitly states the precondition and routes the agent to a completed conversion rather than a new one. It does not explicitly name a sibling or spell out what to do if the conversion is not yet finished, so it stops just 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