Skip to main content
Glama
EasyDeploy-AI

easydeploy-ai-mcp

Official

Get upload status

get_upload_status
Read-onlyIdempotent

Poll an upload session by upload_request_id to check its status before completing the upload. Returns size and row count once known, and reports validation errors.

Instructions

Poll an upload session by the upload_request_id from start_upload.

status is one of URL_ISSUED, RECEIVING, UPLOADED, VALIDATING, READY, REJECTED, CONSUMED, EXPIRED. It reports on sessions opened by start_upload, and every channel that feeds one (gateway PUT, host file parameter, upload_from_url) reports through this one tool. Files uploaded through the web model builder are not visible here — the user registers those in the web app; find them with list_datasets.

complete_upload only accepts READY — poll here first. On REJECTED, the error field names the validation check that failed; fix the file and start a new upload rather than retrying this session.

Also returns sizeBytes and rowCount once known — confirm the row count matches the file you handed over before registering the dataset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
upload_request_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover the read-only/idempotent/non-destructive profile, so the description is free to add richer behavior — a full status state machine (URL_ISSUED through EXPIRED), the meaning of the error field on REJECTED, and the sizeBytes/rowCount verification step. These go well beyond what the annotations provide.

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?

Front-loads the core action and parameter source, then layers the status vocabulary, scope boundaries, and error handling. Every sentence carries actionable content; the enum list is dense but necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return shape needs no explanation, yet the description still adds the useful sizeBytes/rowCount confirmation step. Scope, prerequisites, states, and failure paths are all covered for a polling tool of this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and there is one parameter, so the description must carry it — and it does, tying upload_request_id to its origin in start_upload. It stops short of format/length details, but the key semantic (where the id comes from) is supplied.

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 and resource ('Poll an upload session by the upload_request_id') and explicitly homes it in the start_upload workflow. It distinguishes itself from siblings by naming start_upload as the source of the id and scope-limiting which channels report here (gateway PUT, host file parameter, upload_from_url).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use ('complete_upload only accepts READY — poll here first'), when-not ('files uploaded through the web model builder are not visible here... find them with list_datasets'), and failure handling ('on REJECTED... start a new upload rather than retrying this session'). This is textbook routing guidance.

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