Skip to main content
Glama

List service file uploads

list_service_file_uploads
Read-onlyIdempotent

Lists a service's open file uploads with received bytes, state, and expiry so you can find stale uploads to abort when the upload limit is reached.

Instructions

List the service's open uploads (received bytes, state, expiry). Use it when an upload answers filesUploadsLimit to find stale uploads to abort. Requires files:manage on a FULL-access API key as an explicit grant; the hosted connector needs vm:files:write. Execution-equivalent targets (authorized_keys, cron, systemd units, sudoers, PAM, profile files) are refused to every API key (filesExecEquivalentScopeMissing). Availability: Firecracker servers need the updated guest agent (filesUnavailable reason agent_update_required; node_update_required while the host node is not updated yet) and Cloud VPS (KVM) servers need the VDS file-manager switch (reason feature_disabled while it is off); relay any unavailable reason verbatim and never work around it. A server whose 2FA lock is on answers 423.

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": {
      "orderNo": "<orderNo>"
    },
    "name": "list_service_file_uploads"
  }
}

Input Schema

NameRequiredDescriptionDefault
orderNoYesTenant-owned service order number, e.g. VP12345

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.3.17

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description adds substantial context beyond them: required files:manage scope on a FULL-access key (vm:files:write for the hosted connector), refusal of execution-equivalent targets with a named error code, platform-specific availability with verbatim reason strings, and a 423 response under 2FA lock.

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?

Front-loaded with purpose and usage in the first sentence, then grouped caveats on auth, scope, availability and 2FA. The caveat section is dense and slightly run-on, but each clause carries actionable information rather than filler.

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?

With no output schema, the description compensates by naming what the listing returns, and it covers the auth, scope, platform and lock-state failure modes an agent must handle. Everything needed to call it and interpret refusals is present.

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 the single orderNo parameter already carries its own description with an example, so the description only implicitly references 'the service's' uploads. Baseline 3 is appropriate since 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?

States a specific verb and resource ('List the service's open uploads') and even previews the returned fields (received bytes, state, expiry). This clearly separates it from list_service_files (general listing) and abort_service_file_upload (the mutation).

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?

Gives an explicit trigger: use it when an upload answers filesUploadsLimit, in order to find stale uploads to abort, which implicitly routes the agent to abort_service_file_upload next. It does not spell out when not to use it or how it differs from list_service_files, but the context is clear.

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

Deploy Server

Other Tools