Skip to main content
Glama

Create Upload Link

create-upload-link

Create a link to upload images and audio files for an audioguide, valid for one hour. Give it to the user to upload files in the browser, or upload local files with curl. Then use the upload ids (see list-uploads) with add-station-image, add-station-audio, set-tour-image or set-branding-image.

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": {
      "audioguide": "<audioguide>"
    },
    "name": "create-upload-link"
  }
}

Input Schema

NameRequiredDescriptionDefault
audioguideYesSlug of the audioguide, see list-audioguides.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With annotations declaring readOnlyHint=false and destructiveHint=false, the description adds real context beyond them: the link expires after one hour and produces upload ids that feed later tools. It stops short of saying exactly what the call returns (link string, ids object), which matters since there is no output schema, but the 'link' plus 'upload ids' wording conveys the shape adequately.

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?

Three dense sentences: what is created and its lifetime first, then how to use it, then how to consume the result. No filler, and the most important facts are front-loaded.

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 one-parameter, non-destructive creation tool with no output schema, the description covers purpose, expiry behavior, the two upload paths, and the exact downstream tool chain. An agent can call it and act on the result without further discovery.

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 the single 'audioguide' parameter is already documented as a slug pointing at list-audioguides. The description adds no format or validation detail beyond the schema, so the baseline 3 applies.

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?

The description states a specific verb and resource ('Create a link to upload images and audio files for an audioguide') plus a key constraint ('valid for one hour'). It is immediately distinguishable from siblings like list-uploads or add-station-image, which are named as downstream steps.

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?

It gives explicit runtime guidance: hand the link to the user for browser upload, or use curl for local files. It also names the alternative flow for consuming the result ('use the upload ids (see list-uploads) with add-station-image, add-station-audio, set-tour-image or set-branding-image'), leaving nothing 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