Skip to main content
Glama

Get fresh upload URLs

get_upload_urls
Idempotent

Fresh presigned URLs for a file the upload panel is sending: with uploadId and partNumbers (up to 16), URLs for those parts of a multipart upload; without them, a new single PUT URL (when the first expired or a retry needs one).

Used by WizCut's upload panel in the chat; don't call it yourself — send the user the upload link from create_episode instead.

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": {
      "jobId": "<jobId>",
      "sourceId": "<sourceId>"
    },
    "name": "get_upload_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
sourceIdYesThe file's sourceId from add_upload_source.
uploadIdNo
partNumbersNo

Output Schema

NameRequiredDescriptionDefault
urlYes
partUrlsYes
sourceIdYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is partly covered; the description adds the important behavioral branch (multipart part refresh vs. minting a replacement PUT URL when the first expired or a retry is needed) and the 16-part cap. It does not state URL lifetime or whether refreshing invalidates prior URLs, which would complete the picture.

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, front-loaded with the resource and its two modes, followed by the routing caveat. The parenthetical about expiry/retry is useful, not filler; only minor slack in phrasing like 'in the chat'.

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?

An output schema exists, so return-shape explanation is not required, and the description covers the branching input semantics and the intended caller. The remaining gap is lifecycle detail (URL expiry window, effect on existing URLs), which matters somewhat given this tool exists specifically to replace expired URLs.

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 50% — jobId and sourceId are documented in the schema, but uploadId and partNumbers are not. The description compensates by explaining exactly what those two do (part-scoped URLs, max 16) and what their absence means, which is the key semantic distinction an agent needs.

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 and resource ('Fresh presigned URLs for a file the upload panel is sending') and then splits the two modes of operation: with uploadId/partNumbers it returns part URLs for a multipart upload, without them it mints a new single PUT URL. That precision makes it impossible to confuse with siblings like create_upload_link or add_upload_source.

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?

Gives an explicit exclusion ('don't call it yourself') with the reason (the upload panel owns this flow) and names the correct alternative action ('send the user the upload link from create_episode instead'). Both the when-not and the substitute path are stated outright.

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