Skip to main content
Glama

get_file_link

Short-lived direct link to blob storage, for large or binary files. With path, returns file_url for that one file (GET to download; PUT with header 'x-ms-blob-type: BlockBlob' to upload when access='readwrite'); saves made with it are recorded under your name. Without path, returns container_url and sas_token for the whole workspace (read only from 2026-10-16 19:00 UTC: writing then needs a path). For files up to 3 MiB, write_file is simpler.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoOne file: the link then works for that file only (and saves made with it carry your name). Omit for a read link to the whole workspace.
accessNo'read' to download, or 'readwrite' to upload (needs a path).read
api_tokenNoYour hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set.
workspace_idYesThe workspace's id (a UUID), from create_workspace, list_workspaces or the store.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / access / description
      Added value: +"'read' to download, or 'readwrite' to upload (needs a path)."
    • addedInput schema / properties / api_token / description
      Added value: +"Your hashn API token, if you can't send it as the 'Authorization: Bearer <token>' header. Omit it when the header is set."
    • addedInput schema / properties / path / description
      Added value: +"One file: the link then works for that file only (and saves made with it carry your name). Omit for a read link to the whole workspace."
    • addedInput schema / properties / workspace_id / description
      Added value: +"The workspace's id (a UUID), from create_workspace, list_workspaces or the store."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only give readOnlyHint=false/destructiveHint=false, so the description carries the real behavioral load: it discloses that saves made via the link are attributed to the caller, that the link is short-lived, the required PUT header for upload, and a time-based restriction on whole-workspace write access. That is substantial context beyond the annotations.

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?

Front-loaded with the core purpose, then branching behavior, then the sibling comparison. Dense but every sentence carries operational information; slightly heavy for a four-parameter tool but not padded.

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?

No output schema exists, yet the description names the returned artifacts (file_url, container_url, sas_token) and how each is consumed, plus the attribution and expiry caveats. An agent has everything needed to call and interpret it.

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 already 100%, so the baseline is 3, but the description adds genuine meaning: it explains the path/no-path branching semantics, the readwrite-without-path failure mode, and the download vs upload HTTP methods. The api_token behavior is left to the schema.

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?

States a specific verb+resource ('short-lived direct link to blob storage') and immediately qualifies scope: with path = one file, without path = whole workspace. It also names the sibling write_file as the alternative for small files, so an agent can tell it apart without opening either 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 says when to use it (large or binary files), when not to ('For files up to 3 MiB, write_file is simpler'), and how access mode interacts with path (readwrite needs a path; whole-workspace links become read-only after a stated date). Nothing is left 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