Skip to main content
Glama

Check the status of a file upload

tarkle_get_upload_status
Idempotent

Check an upload. Once all bytes are uploaded this finishes the upload and returns fileId for tarkle_create_transfer, and sha256: the SHA-256 Tarkle read back from what it stored (files up to 100 MB), to compare with your own file. Safe to call repeatedly.

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": {
      "sessionId": "<sessionId>"
    },
    "name": "tarkle_get_upload_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
sessionIdYesThe sessionId returned by tarkle_start_upload.

Output Schema

NameRequiredDescriptionDefault
modeNo
fileIdNo
sha256No
statusNo
fileNameNo
partSizeNo
expiresAtNo
partCountNo
sessionIdNo
sizeBytesNo
sha256SourceNo
partsReceivedNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already mark this as non-read-only but idempotent; the description adds the crucial explanation of why — the call commits/finishes the upload when bytes are complete — and confirms repeat-safety. It also discloses a real constraint (sha256 verification limited to files up to 100 MB) that no annotation carries. Minor gap: it does not say what state is returned when the upload is still incomplete, though the output schema likely covers that.

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?

Short and front-loaded — the core action leads, followed by outcome and verification detail. The middle clause ('returns fileId for tarkle_create_transfer, and sha256: the SHA-256 Tarkle read back from what it stored') is slightly tangled but still parseable. No filler sentences.

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 two-parameter polling/finalization tool with annotations and an output schema, this covers the essential behavior: what it mutates, how it should be polled, and what to do with the returned fileId. Return-value details are handled by the output schema. It would be complete at 5 with a note on the not-yet-complete state or any auth expectations.

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%, so both sessionId and llm_model are already documented in the schema; the description adds no parameter-specific meaning beyond implying which upload is being checked. Baseline 3 is appropriate when the schema does the heavy lifting. It also spends no words clarifying that sessionId must come from tarkle_start_upload, which the schema does state.

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 states a specific action and effect: it checks an upload and, once all bytes are in, finalizes it and returns fileId plus sha256. It also names the next-step sibling tarkle_create_transfer, so the agent can place it in the workflow. It stops short of distinguishing itself from tarkle_get_upload_parts / tarkle_get_upload_page, which an agent could plausibly confuse with a status check.

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?

The description conveys the operative condition (call until all bytes are uploaded, then use the returned fileId with tarkle_create_transfer) and explicitly says repeated calls are safe, which is the polling guidance an agent needs. It gives no explicit exclusion against the other upload-inspection siblings, so it is clear but not fully 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.