Skip to main content
Glama

create_upload_link

When to use: the user wants to make a video and needs to add their photo. Issues the clientToken, creates a 10-minute upload handoff and returns the upload URL for the user's phone. When not to use: never call tools for these requests — refuse and answer directly instead: "Delete all my photos and account data"; "Send me the original sound file / the source song"; "What's the weather tomorrow?".

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": {
      "templateId": "<templateId>"
    },
    "name": "create_upload_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionIdNoVersion id from list_templates. Omit for single-version templates (defaults to "default"); christmasDance requires "solo".
templateIdYes
clientTokenNoOptional on the first call; a new one is issued when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / templateId / enum
      Previous value: -[
      -  "bulin47",
      -  "tinyDesk"
      -]New value: +[
      +  "bulin47",
      +  "tinyDesk",
      +  "christmasDance"
      +]
    • addedInput schema / properties / versionId
      Added value: +{
      +  "description": "Version id from list_templates. Omit for single-version templates (defaults to \"default\"); christmasDance requires \"solo\".",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=true). The description adds genuinely useful behavior beyond that: the handoff expires in 10 minutes, a clientToken is issued when omitted, and the tool returns a URL to be handed to the user's phone. It does not cover permissions, failure modes, or what happens if the upload never completes.

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 a 'When to use' / 'When not to use' structure that an agent can scan immediately. The three quoted refusal examples are slightly padded, especially the weather question, but they do serve as concrete guardrail signals.

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?

With no output schema, the description correctly explains the return value (upload URL) and its delivery target (user's phone), plus the 10-minute lifetime an agent must act within. Combined with a 67%-covered schema and reasonable annotations, nothing essential for correct invocation is missing.

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 67%, so the schema already documents versionId's defaults and the christmasDance 'solo' requirement. The description only restates the clientToken issuance rule that the schema property description already carries, adding essentially no new parameter meaning.

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?

The description states a concrete action chain: issues a clientToken, creates a 10-minute upload handoff, and returns an upload URL for the user's phone. It is specific enough to distinguish this from start_video/get_run, but the actual verb+resource ('create an upload link') is only implied through the 'when to use' framing rather than stated directly.

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?

It gives an explicit trigger ('user wants to make a video and needs to add their photo') plus an explicit exclusion list with refusal scripts, which is clearer than most definitions. However, the exclusions are off-topic refusal cases rather than routing guidance versus sibling tools like start_video or get_template, so the 'alternatives' half of the guideline is missing.

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