Skip to main content
Glama

Check an upload

check_upload
Read-onlyIdempotent

Whether the file for an upload link has come in: waiting, uploading, ready (with its mediaId for create_post), failed (with the reason; the same link can try again) or expired.

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": {
      "uploadId": "<uploadId>"
    },
    "name": "check_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
uploadIdYesFrom get_upload_link

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the read-only, idempotent, non-destructive annotations, it discloses a five-state lifecycle, the mediaId supplied on readiness, failure reasons, same-link retry behavior, and expiration. This is rich operational disclosure for a simple status-check 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 compact sentence front-loads the purpose and gives every status a useful meaning without filler. The indirect phrase 'has come in' and nested parenthetical and semicolon construction make the list somewhat dense and less immediately scannable.

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?

Together with the schema's parameter provenance and the safety annotations, the description is nearly sufficient to invoke and interpret the tool despite the absence of an output schema. Explicit polling expectations and expired-state recovery guidance would remove the remaining workflow ambiguity.

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 uploadId is already documented as coming from get_upload_link with UUID constraints. The description adds no further parameter-specific interpretation, so the high-coverage baseline 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?

The description clearly defines this as a status check for the file behind an upload link and enumerates its possible states. The create_post handoff helps place it in the workflow, but it does not explicitly distinguish the check from get_upload_link or other upload-related siblings.

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?

It gives concrete next steps: ready supplies a mediaId for create_post, while failed includes a reason and permits another attempt with the same link. It does not explicitly advise polling during waiting or uploading, nor explain the recovery path once the upload is expired.

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