Skip to main content
Glama

Sigmora

Finish a file upload

assets_upload_complete
Idempotent

Finalize a previously prepared direct upload after the host sent all bytes. For multipart, pass every ordered provider ETag. 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>",
      "uploadId": "<uploadId>",
      "contentId": "<contentId>",
      "sizeBytes": "<sizeBytes>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "assets_upload_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNo
sha256NoLower- or upper-case hexadecimal SHA-256 of the complete file.
uploadIdYes
contentIdYes
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`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and openWorldHint=true, so safety and retry semantics are covered structurally. The description adds the cost disclosure ('Free') and the multipart ETag-ordering requirement, which are useful, but it does not explain what finalization produces (e.g., whether content becomes immediately available) or failure modes.

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 short sentences with zero filler; the core action and its precondition are front-loaded, and the multipart rule and cost note follow in order of importance.

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 mutation step with an output schema and full annotation coverage, the description supplies the essential preconditions (all bytes sent, ordered ETags for multipart) and the cost profile. An agent has enough to invoke it correctly without guessing.

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 description coverage is only 38%, and parameters like uploadId, contentId, projectId, sizeBytes, and parts have no schema descriptions at all. The description partially compensates by explaining that parts must be every ordered provider ETag, but it says nothing about sha256 verification or how sizeBytes relates to the uploaded bytes.

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?

States a specific verb ('Finalize') and resource ('a previously prepared direct upload'), and the qualifier 'previously prepared' implicitly ties it to the prepare/parts siblings. It is clear what the tool does, though it never names the sibling tools it depends on.

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?

Gives a concrete precondition for invocation ('after the host sent all bytes') and a conditional rule ('For multipart, pass every ordered provider ETag'). It stops short of explicitly contrasting with assets_upload_status or saying when not to call it, but the usage context is clear.

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