Skip to main content
Glama

Upload status

upload_status
Read-onlyIdempotent

Step 2 of putting a binary file into the knowledge base: reports whether a file uploaded via create_upload has finished being processed. A successful PUT only means the bytes arrived - parsing and indexing happen asynchronously afterwards, so the file is not readable until this returns complete. Returns not_found before processing starts, pending while it runs, complete when the file is in the knowledge base, or failed (with a message) when processing gave up. Stop polling on failed and tell the user: retrying the PUT will not help until whoever runs the platform has fixed what the message names.

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": {
      "path": "<path>",
      "context": "<context>"
    },
    "name": "upload_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesThe same path given to create_upload, e.g. '/reports/q3.pdf'.
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."
workspace_idNoWhich workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace.

Output Schema

NameRequiredDescriptionDefault
fileNo
statusYes
messageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Given the thin annotations (readOnly, idempotent, closed-world), the description carries real weight: it explains that parsing/indexing is asynchronous, that a successful PUT only means bytes arrived, that the file is unreadable until complete, and that 'failed' is terminal — retrying the PUT will not help. That terminality and retry warning is the kind of operational context annotations cannot express.

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?

Four sentences, front-loaded with the step-2 relationship, then the async caveat, then the state enumeration, then the failure action. Every sentence contributes a distinct fact; nothing is repeated from the title.

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, yet the description still enumerates the four possible states and their meaning, which is exactly what an agent needs to decide whether to poll again or stop. Combined with the async explanation and the failed-state guidance, nothing material is missing for a three-parameter read-only status tool.

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 path, context, and workspace_id are already fully documented in the input schema. The description adds no parsing of parameter values beyond what the schema's own path description already states ('the same path given to create_upload'). Baseline 3 applies when the schema does the work.

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 opens with a specific verb-plus-resource framing ('Step 2 of putting a binary file into the knowledge base') and states it 'reports whether a file uploaded via create_upload has finished being processed'. It explicitly positions itself as the follow-on to create_upload, so an agent can distinguish it from that sibling without opening either 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?

It gives clear sequencing guidance (use after a successful PUT to create_upload, keep polling until complete) and an explicit stop condition plus escalation advice on 'failed'. It stops short of naming alternatives, e.g. which tool to call once the state is complete to actually read the file, or how it differs from the sibling media_transcribe_status for media files.

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