Skip to main content
Glama

Sigmora

Prepare a file upload

assets_upload_prepare
Idempotent

Prepare a direct single-PUT or multipart media upload. The returned signed URLs are used by the host; file bytes never pass through MCP. Free.

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": {
      "projectId": "<projectId>",
      "fileName": "<fileName>",
      "mimeType": "<mimeType>",
      "sizeBytes": "<sizeBytes>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "assets_upload_prepare"
  }
}

Input Schema

NameRequiredDescriptionDefault
laneNo
tagsNo
titleNo
sha256NoLower- or upper-case hexadecimal SHA-256 of the complete file.
fileNameYes
mimeTypeYes
platformNo
projectIdYes
sizeBytesYes
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyYesRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.
durationSecondsNo
restartUploadIdNoExpired/failed authority for the same unchanged file. Use a new idempotencyKey.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already disclose that this is a non-destructive write operation with idempotent and open-world behavior. The description adds substantive context by clarifying that the host performs the actual upload using signed URLs and that file bytes never pass through MCP, though it omits details such as URL expiration or what durable state is created.

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?

The description is three short sentences, front-loaded with the core action and followed by the key architectural constraint and cost note. Every sentence carries useful information without repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists, so return values need not be explained. Still, for a 13-parameter write tool with workflow siblings, the description is only minimally sufficient: it covers the core prepare-and-upload behavior but lacks parameter guidance and explicit sequencing with completion or part-upload tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 31% across 13 parameters. The description briefly maps to the lane concept through "single-PUT or multipart," but it does not explain the required projectId, fileName, mimeType, sizeBytes, or other parameters such as tags, platform, durationSeconds, or restartUploadId.

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 specific verb ("Prepare") and resource ("media upload") and explains the single-PUT versus multipart modes. It implicitly distinguishes this preparatory step from later upload completion by saying the signed URLs are used by the host, but it does not explicitly name related siblings such as assets_upload_complete or assets_upload_parts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes the workflow context: the host uses the returned signed URLs, and file bytes do not pass through MCP. However, it does not explicitly say when to use this versus assets_upload_complete, assets_upload_parts, or assets_upload_status, nor does it state conditions or exclusions.

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