Skip to main content
Glama

Check file

check_file
Read-only

Get upload status for a file_id from request_file_upload or upload_file. When status is ready, pass file_ids to create_design or update_design. If pending_upload, PUT to the original upload_url first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriNo
statusYes
file_idYes
filenameNo
next_stepNo
created_atNo
size_bytesNo
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and non-destructive behavior. The description adds useful behavioral context by naming the statuses and the required follow-up actions, going beyond what 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?

Two sentences with no filler. The core purpose is front-loaded, and the conditional workflow is compactly organized. Every sentence adds value.

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?

For a simple read-only status tool with an output schema and safety annotations, the description covers the key workflow and next steps. Nothing essential for invoking 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 coverage is 0%, so the description must compensate. It clarifies that file_id comes from request_file_upload or upload_file, but it does not describe format constraints or other details. This is adequate for a single simple parameter but not rich.

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?

The description clearly states a specific action ('Get upload status for a file_id') and ties it to the upload workflow. It distinguishes check_file from sibling check_run by focusing on file upload status rather than run status.

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 clear contextual guidance on what to do after checking status ('ready' → pass file_ids to create_design or update_design; 'pending_upload' → PUT to upload_url first). It does not explicitly mention alternatives or when not to use the tool, so it stops short of a 5.

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