Skip to main content
Glama

get_file_link

Read-only

A time-limited download link for a file in the agent file store (e.g. to give a generated PDF to someone). Required: path. Optional: hours (default 24, max 168).

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": {
      "path": "<path>"
    },
    "name": "get_file_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath of the file in the agent file store
hoursNoLink validity in hours (default 24, max 168)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / hours / description
      Added value: +"Link validity in hours (default 24, max 168)"
    • addedInput schema / properties / path / description
      Added value: +"Path of the file in the agent file store"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered; the description adds the genuinely useful behavioral fact that the link expires ('time-limited') and bounds that expiry (default 24, max 168 hours). It omits whether the link is publicly reachable, revocable, or what happens for a nonexistent path, which keeps it below a 5.

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?

Two tight sentences with the core purpose and the example front-loaded, and the parameter summary compactly at the end. The second sentence largely duplicates schema text, which is mildly redundant but still aids quick scanning.

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?

For a two-parameter read-only tool with no output schema, the description covers what is produced (a download link), its lifetime, and the argument defaults. Edge-case behavior such as missing files or link revocation is absent but not critical to invoking it correctly.

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% and both parameters are already documented in the schema, including the default and maximum values. The description restates 'Required: path. Optional: hours' but adds no meaning beyond what the schema provides, so the baseline 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?

States a specific outcome (a time-limited download link) scoped to 'the agent file store', which implicitly distinguishes it from remote-file or document link siblings. It never names those alternatives, so the differentiation is inferential rather than explicit.

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

Usage Guidelines3/5

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

The parenthetical 'e.g. to give a generated PDF to someone' gives one concrete use case, which is more than nothing. There is no guidance on when to prefer this over get_remote_file_link or get_document_link, and no exclusions or prerequisites (e.g. file must already exist in the store).

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.