Skip to main content
Glama

Get an upload

get_upload
Read-only

Retrieve an upload’s fresh URL, content digest, size, and usable-until time to check whether the PUT completed or the upload expired.

Instructions

Read an upload: fresh url, content_digest, size and usable_until. After create_upload: upload_not_finished until the PUT lands, upload_expired after 24 hours. 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": {
      "upload_id": "<upload_id>"
    },
    "name": "get_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
upload_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.39.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.33.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description is consistent with that while adding real context the agent could not infer: that the URL is freshly issued on each call, that status is 'upload_not_finished' until the PUT completes, that uploads expire after 24 hours, and that the call is free. The 'Free' note is especially useful in a tool set dominated by quote_* pricing siblings.

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 terse sentences, front-loaded with the action and its return fields, then the lifecycle context. No filler; even the one-word "Free." sentence carries distinct value.

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?

With no output schema, the description correctly takes on the burden of naming the returned fields and the error states, which is the essential information for this single-parameter read. It could go one step further on URL lifetime or required scope, but 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?

Schema description coverage is 0% and the description never mentions upload_id or the required ^upl_[a-f0-9]{32}$ format. With a single, self-explanatory required identifier the gap is minor, but the description does nothing to compensate for the empty schema descriptions.

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?

"Read an upload" gives a specific verb and resource, and the description immediately enumerates what is returned (fresh url, content_digest, size, usable_until). Against siblings like create_upload and delete_upload, an agent can tell this is the non-mutating retrieval path without opening the schema.

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?

"After create_upload: upload_not_finished until the PUT lands, upload_expired after 24 hours" clearly situates the tool in the upload flow and names the two failure states the caller will encounter. It stops short of an explicit when-not-to-use or a direct comparison to get_asset, which is why it isn't a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.