Skip to main content
Glama

Social media studio

Get Media Upload

get_media_upload
Read-only

List the files the user uploaded through a request_media_upload link; uploaded is true once the bytes are stored. Use those fileIds in create_post, create_draft or validate_post_media. Files the user added in the media library instead are found with list_media or search_media.

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": {
      "requestId": "<requestId>"
    },
    "name": "get_media_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestIdYesrequestId returned by request_media_upload

Output Schema

NameRequiredDescriptionDefault
filesYes
statusYes
expiresAtNo
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral detail — that 'uploaded is true once the bytes are stored', i.e. entries can exist prior to completion — but says nothing about pending-state entries, duplicates, or ordering/pagination, and the output schema covers return shape.

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?

Two tight sentences: the first defines the resource and its key state semantics, the second handles routing to downstream tools and to the alternative listers. Front-loaded, no filler, no redundancy.

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 single-parameter read tool with annotations and an output schema, the description covers purpose, provenance of the input, the meaning of the 'uploaded' flag, the consumers of the result, and the sibling alternatives. Nothing an agent needs to call it correctly is missing.

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?

Only one parameter, and the schema already documents it at 100% coverage, including that it is the requestId returned by request_media_upload. The description repeats that provenance but adds no format, validity, or expiry details beyond it, so the baseline of 3 applies.

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 ('List the files the user uploaded through a request_media_upload link') and immediately distinguishes this set of files from the media-library set handled by list_media/search_media. An agent can tell it apart from the many media siblings without opening a schema.

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?

Explicitly routes the agent both ways: use this tool with a requestId from request_media_upload, and use list_media or search_media for files added directly to the library. It also names the downstream consumers of the returned fileIds (create_post, create_draft, validate_post_media), giving concrete when-to-use context.

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