Skip to main content
Glama

Download a visitor upload

get_upload_link
Read-only

Create a short-lived download link (15 minutes) for a file a visitor uploaded through a form. The upload_id is in the record data from query_records.

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": {
      "site": "<site>",
      "upload_id": "<upload_id>"
    },
    "name": "get_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYesSite slug (e.g. "kopitiam-muar") or id
upload_idYes

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 readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the description's main job is to add context. It does that by disclosing the 15-minute expiry, which is a real behavioral constraint an agent must account for. It leaves unstated whether links are single-use or bound to any session, which is the remaining gap.

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 tight sentences: the first defines the action and its expiry, the second supplies the parameter sourcing. Nothing is redundant and the most decision-relevant fact (short-lived) is front-loaded.

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, non-destructive read tool with no output schema, the description supplies the essentials: what is produced (a download link), how long it lives, and where the id comes from. Minor omissions like link reuse semantics are acceptable at this complexity.

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 only 50% — 'upload_id' has no schema description — and the description compensates by explaining that the value originates from record data returned by query_records. That is genuine meaning beyond the schema. The 'site' parameter is already documented in the schema, so nothing extra is needed there.

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 concrete verb+resource pair ('Create a short-lived download link ... for a file a visitor uploaded through a form') plus the lifetime of the link. This is clearly distinguished from siblings like get_topup_link or upload_asset, which serve different link/file purposes.

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?

Gives an explicit prerequisite chain: the upload_id must come from record data returned by query_records, which tells the agent when and how the tool becomes callable. It does not state exclusion conditions (e.g. what to do if the upload expired), so it stops 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