Skip to main content
Glama

Get one upload

get_upload
Read-onlyIdempotent

Look up one of your uploads by id: its links, thumbnail, size, visibility, title and description.

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": {
      "id": "<id>"
    },
    "name": "get_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe upload id (from upload_image or list_uploads).

Output Schema

NameRequiredDescriptionDefault
idYesUnique identifier for this upload. Pass to get_upload / update_upload / delete_upload.
srcYesPermanent direct/embeddable file URL - use this for <img>/<video> src attributes and when saving the link.
pathYesStorage URL of the file as uploaded. It can change shortly afterwards when the file is converted (WebP/MP4) - store `src` instead.
sizeNoFile size in bytes as stored.
typeYes
thumbNo280px wide WebP thumbnail (for a video, its first frame), or null.
titleNoTitle, or null.
widthNoWidth in pixels, or null if unknown.
directYesThe shareable page URL (title, description, comments, share buttons). Despite the field name, this is NOT a direct file link - use `src` for that.
heightNoHeight in pixels, or null if unknown.
lockedNoTrue if the upload is password-protected.
created_atNoISO 8601 upload timestamp.
expires_atYesISO 8601 auto-delete timestamp, or null if the upload never expires.
visibilityNoprivate: file only, no page for others. unlisted: file and page work for anyone with the link. public: listed on the site.
descriptionNoDescription, or null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorld, so the safety profile is fully covered. The description adds only the set of returned attributes, and says nothing about behavior on an unknown id (error vs empty) — a meaningful gap for a lookup tool.

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?

One front-loaded sentence with no filler. The trailing enumeration of returned fields is somewhat redundant given an output schema exists, but it does not harm readability.

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?

For a one-parameter read tool with a full output schema and rich annotations, the description covers the essentials. Only the not-found behavior is left unstated, which is a minor omission.

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 coverage is 100% and the schema already explains that `id` comes from upload_image or list_uploads. The description's 'by `id`' restates rather than extends that, so the baseline 3 applies.

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 and resource ('Look up one of your uploads') plus the key ('by `id`'), which clearly separates it from the plural list_uploads sibling. It does not name an alternative explicitly, but the singular-by-id framing is unambiguous.

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 only implied: fetch a single known upload when you have its id. There is no statement of when to prefer this over list_uploads or when it should not be used, so the agent must infer the routing.

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.