Skip to main content
Glama

Influence

Check a media upload

mediaUploadGet
Read-onlyIdempotent

Returns an owned upload, verified uploaded parts for recovery, processing status and the final ready assetId. It never returns write URLs or authorizes an upload. A converted asset can have a different ID from uploadId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uploadIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / $defs / __schema1 / description
      Added value: +"Current upload or processing deadline. It can change during completion; ready media stays in the library."
  2. Changed1 schema field changed
    • changedOutput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "ok": {
      -        "const": true,
      -        "type": "boolean"
      -      },
      -      "output": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "assetId": {
      -            "$ref": "#/$defs/__schema7"
      -          },
      -          "contentType": {
      -            "$ref": "#/$defs/__schema0"
      -          },
      -          "expiresAt": {
      -            "$ref": "#/$defs/__schema1"
      -          },
      -          "name": {
      -            "$ref": "#/$defs/__schema2"
      -          },
      -          "partCount": {
      -            "$ref": "#/$defs/__schema3"
      -          },
      -          "partSizeBytes": {
      -            "$ref": "#/$defs/__schema4"
      -          },
      -          "reason": {
      -            "$ref": "#/$defs/__schema8"
      -          },
      -          "sizeBytes": {
      -            "$ref": "#/$defs/__schema5"
      -          },
      -          "status": {
      -            "$ref": "#/$defs/__schema9"
      -          },
      -          "uploadId": {
      -            "$ref": "#/$defs/__schema6"
      -          },
      -          "uploadedParts": {
      -            "$ref": "#/$defs/__schema10"
      -          }
      -        },
      -        "required": [
      -          "contentType",
      -          "expiresAt",
      -          "name",
      -          "partCount",
      -          "partSizeBytes",
      -          "sizeBytes",
      -          "uploadId",
      -          "status",
      -          "uploadedParts"
      -        ],
      -        "type": "object"
      -      },
      -      "toolName": {
      -        "const": "mediaUploadGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "ok",
      -      "output",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "error": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "code": {
      -            "enum": [
      -              "INVALID_INPUT",
      -              "FORBIDDEN",
      -              "NOT_FOUND",
      -              "CONFLICT",
      -              "FEATURE_DISABLED",
      -              "CONFIRMATION_REQUIRED",
      -              "CONFIRMATION_INVALID",
      -              "UPSTREAM_FAILED",
      -              "NEEDS_REVIEW",
      -              "INTERNAL"
      -            ],
      -            "type": "string"
      -          },
      -          "message": {
      -            "maxLength": 2048,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "retryable": {
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "code",
      -          "message",
      -          "retryable"
      -        ],
      -        "type": "object"
      -      },
      -      "ok": {
      -        "const": false,
      -        "type": "boolean"
      -      },
      -      "toolName": {
      -        "const": "mediaUploadGet",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "error",
      -      "ok",
      -      "toolName"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "ok": {
      +        "const": true,
      +        "type": "boolean"
      +      },
      +      "output": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "assetId": {
      +            "$ref": "#/$defs/__schema7"
      +          },
      +          "contentType": {
      +            "$ref": "#/$defs/__schema0"
      +          },
      +          "expiresAt": {
      +            "$ref": "#/$defs/__schema1"
      +          },
      +          "name": {
      +            "$ref": "#/$defs/__schema2"
      +          },
      +          "partCount": {
      +            "$ref": "#/$defs/__schema3"
      +          },
      +          "partSizeBytes": {
      +            "$ref": "#/$defs/__schema4"
      +          },
      +          "reason": {
      +            "$ref": "#/$defs/__schema8"
      +          },
      +          "sizeBytes": {
      +            "$ref": "#/$defs/__schema5"
      +          },
      +          "status": {
      +            "$ref": "#/$defs/__schema9"
      +          },
      +          "uploadId": {
      +            "$ref": "#/$defs/__schema6"
      +          },
      +          "uploadedParts": {
      +            "$ref": "#/$defs/__schema10"
      +          }
      +        },
      +        "required": [
      +          "contentType",
      +          "expiresAt",
      +          "name",
      +          "partCount",
      +          "partSizeBytes",
      +          "sizeBytes",
      +          "uploadId",
      +          "status",
      +          "uploadedParts"
      +        ],
      +        "type": "object"
      +      },
      +      "toolName": {
      +        "const": "mediaUploadGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "ok",
      +      "output",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "error": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "code": {
      +            "enum": [
      +              "AI_SCHEDULING_LIMIT_REACHED",
      +              "AI_SCHEDULING_UNAVAILABLE",
      +              "INVALID_INPUT",
      +              "FORBIDDEN",
      +              "NOT_FOUND",
      +              "CONFLICT",
      +              "FEATURE_DISABLED",
      +              "CONFIRMATION_REQUIRED",
      +              "CONFIRMATION_INVALID",
      +              "UPSTREAM_FAILED",
      +              "NEEDS_REVIEW",
      +              "INTERNAL"
      +            ],
      +            "type": "string"
      +          },
      +          "message": {
      +            "maxLength": 2048,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "retryable": {
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "code",
      +          "message",
      +          "retryable"
      +        ],
      +        "type": "object"
      +      },
      +      "ok": {
      +        "const": false,
      +        "type": "boolean"
      +      },
      +      "toolName": {
      +        "const": "mediaUploadGet",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "error",
      +      "ok",
      +      "toolName"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed4 schema fields changed
    • changedOutput schema / $defs / __schema10 / maxItems
      Previous value: -32New value: +597
    • changedOutput schema / $defs / __schema11 / properties / partNumber / maximum
      Previous value: -32New value: +597
    • changedOutput schema / $defs / __schema3 / maximum
      Previous value: -32New value: +597
    • changedOutput schema / $defs / __schema5 / maximum
      Previous value: -262144000New value: +5000000000
  4. Added

TDQS

A3.9/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description still adds useful non-obvious behavior: it never returns write URLs or authorizes an upload, and a converted asset may have a different ID from the uploadId.

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 tight sentences with the core return behavior front-loaded, followed by important exclusions and a caveat. There is no filler and each sentence adds useful information.

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 the description does not need to fully document return values, and it already names key status fields and the assetId caveat. The main remaining gap is that it does not clarify the relationship between uploadId and the upload-creation workflow.

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?

The schema has only one parameter with 0% description coverage, so the description must compensate. It mentions uploadId only indirectly in the caveat about converted asset IDs and does not explain that uploadId identifies the upload to check or where that ID comes from.

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?

The description gives a specific read operation and enumerates what it returns: the owned upload, verified uploaded parts, processing status, and final ready assetId. It also distinguishes this status-checking tool from upload mutation tools by stating that it never returns write URLs or authorizes an upload.

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?

Usage is implied by the mention of recovery, processing status, and the final assetId, which suggests checking an upload after creation. The boundary that it never authorizes uploads is helpful, but the description does not explicitly say when to choose this over mediaGet, mediaList, or mediaUploadComplete.

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