Skip to main content
Glama

Check an upload link

get_upload_status
Read-onlyIdempotent

Use after create_upload_link to see whether the user's file has arrived. Returns the link's state: waiting, receiving (with percent), validating, ready (with the media id and which platforms the file fits), rejected (with the reason), expired or revoked.

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": {
      "link_id": "<link_id>"
    },
    "name": "get_upload_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
link_idYesUpload link id (lnk_…) returned by create_upload_link.

Output Schema

NameRequiredDescriptionDefault
fitNo
errorNo
mediaNo
stateYes
linkIdYes
mediaIdNo
percentNo
expiresAtYes
totalBytesNo
receivedBytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered; the description goes further by disclosing the full state machine (waiting, receiving with percent, validating, ready with media id and platform fit, rejected with reason, expired, revoked). That is genuinely useful behavior beyond the annotations and beyond a bare 'returns status'. It does not discuss polling cadence or how long states persist, which keeps it below a 5.

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 sentences, front-loaded with the usage trigger, then a compact state list where every clause adds information. No filler, no restating the title or annotations.

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 an output schema and rich annotations, the description covers trigger, states, and per-state payload highlights. An output schema exists so return-shape explanation is not required, and the remaining gap (how to poll or what to do on expired/revoked) is minor.

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 single link_id parameter is fully documented as coming from create_upload_link, so the schema does all the work. The description adds no format, validation, or error semantics for the parameter beyond that. Baseline 3 applies when the schema carries the parameter burden.

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 (see whether the user's file has arrived) and resource (upload link state), and explicitly ties itself to the sibling create_upload_link. The state enumeration further pins down what 'status' means, so an agent can distinguish it from get_batch_status or get_verification_status 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Use after create_upload_link' gives explicit sequencing guidance that tells the agent exactly where this tool sits in the workflow. It stops short of stating when not to call it (e.g., don't poll before the link is shared) or how to handle terminal states, but the intended trigger is unambiguous.

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.