Skip to main content
Glama

Create upload URLs

create_upload_urls

Batch form of create_upload_url: request upload addresses for up to 50 files in one call, then send each file's bytes and finish them all with finish_uploads. Give every item a uuid of your own — it is echoed back beside that item's address, and with several similar files it is the only reliable way to tell which address belongs to which file. Returns a batch_id that finish_uploads needs: it holds a reservation against the workspace's quota until the batch completes — so prepare a batch only when you are ready to finish it, and pass the batch_id back. Use upload_from_urls instead when the files are already at URLs Playbook can fetch. Each file may be up to 100 MB here; upload a larger one, up to 2 GB, on its own with create_upload_url. If any single file cannot be handled the whole call is refused rather than half of it succeeding.

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": {
      "files": "<files>"
    },
    "name": "create_upload_urls"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to prepare (1-50)
organizationNoWorkspace slug, as returned by list_organizations. Omit it when the account has a single workspace — it is then resolved from your token. Pass it only when the account has several, or when you mean a workspace other than the obvious one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / files / items / additionalProperties
      Removed value: -false
    • addedInput schema / properties / files / items / properties / size / maximum
      Added value: +9007199254740991
  2. Changed2 schema fields changed
    • changedInput schema / properties / files / description
      Previous value: -"Files to prepare (1-100)"New value: +"Files to prepare (1-50)"
    • changedInput schema / properties / files / maxItems
      Previous value: -100New value: +50
  3. Changed3 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / context
      Removed value: -{
      -  "description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\"",
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "files",
      -  "context"
      -]New value: +[
      +  "files"
      +]
  4. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare the mutation/safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false); the description adds genuinely non-obvious behavior: the returned batch_id holds a reservation against the workspace's quota until completion, and the call is all-or-nothing rather than partially succeeding. It does not spell out what happens if a batch is abandoned or when the reservation is released, which keeps it short of 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?

Front-loaded with the batch purpose, then routing, then the batch_id/quota caveat, then size and atomicity constraints — a logical order with no filler sentences. It is on the long side and partly restates facts (50-file cap, 100 MB) that also appear in the schema, but each sentence carries actionable information.

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 two-parameter mutation tool with no output schema, the description covers the downstream workflow (finish_uploads), the return value (batch_id), quota/reservation implications, per-file vs batch size limits, and failure semantics. An agent has everything needed to call this correctly and sequence it.

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 100%, so the baseline is 3; the description still adds meaning by explaining that the caller-supplied uuid is echoed back and is 'the only reliable way to tell which address belongs to which file' with similar files, which is a usage rationale the schema does not convey. It says little about the organization parameter, leaving that entirely to the schema.

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 ('request upload addresses for up to 50 files in one call') and immediately frames itself as the batch form of create_upload_url. It is explicitly differentiated from three siblings: create_upload_url (single, larger files), upload_from_urls (files already hosted), and finish_uploads (completion step).

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?

Explicit routing rules are given for every relevant alternative: use upload_from_urls when files are already at fetchable URLs, use create_upload_url for a single file over 100 MB, and only prepare a batch when ready to finish it because the batch_id reserves quota. Includes both when-to-use and when-not-to-use conditions plus size ceilings.

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