Skip to main content
Glama

Get service file capabilities

get_service_file_capabilities
Read-onlyIdempotent

Check whether a server's file manager is available now and return platform, features, size limits, chunk/page sizes, transfer mode, and verbatim unavailable reason; call before other file tools.

Instructions

Check whether the file manager can serve this server now: available, platform (firecracker or vds), the verbatim unavailable reason, features, limits (view/upload/write sizes, chunk size, page size) and transfer mode. Call it before other file tools. It is answered even while the server's 2FA lock is on. Requires files:read on the API key as an explicit grant (a key whose permission list was left empty does not hold it), read or full access; the hosted connector needs vm:files:read. 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": "get_service_file_capabilities"
  }
}

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 readOnlyHint/ idempotentHint/ destructiveHint=false, but the description adds substantial behavior the annotations cannot express: the call is answered even while the server's 2FA lock is on, an empty permission list does not satisfy the files:read grant, the hosted connector needs vm:files:read, and specific availability gates exist (agent_update_required, node_update_required, feature_disabled) with a 423 status for 2FA-locked servers. That is exactly the kind of prerequisite and error-semantics context the structured fields omit.

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?

The headline capability statement is front-loaded and the entirety of the text is substantive (return shape, prerequisites, platform gates), with no filler or restated title. It loses a point for density: long semicolon-joined clauses about permissions and platform conditions make for heavy parsing, though nothing is genuinely expendable.

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?

There is no output schema, so the description must describe the return contract, and it does — available, platform, reason, features, limits, transfer mode. Combined with the auth prerequisites and per-platform unavailability reasons, an agent has everything needed to call this preflight tool correctly.

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?

Only one parameter exists and schema description coverage is 100% (orderNo is documented as a tenant-owned service order number with pattern and length constraints), so the schema carries the load. The description refers to "this server" but adds no further meaning about the order number beyond what the schema supplies — the standard baseline of 3 applies.

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 opening clause gives a specific verb and resource ("Check whether the file manager can serve this server now") and then enumerates exactly what is returned: available flag, platform (firecracker/vds), verbatim unavailable reason, features, limits (view/upload/write sizes, chunk size, page size) and transfer mode. That enumeration plus the platform distinction separates it cleanly from the sibling file tools (download_url, stat, read, upload), which operate on files rather than on capability discovery.

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 gives a clear ordering rule — "Call it before other file tools" — and a handling rule for failure: relay any unavailable reason verbatim and never work around it. It stops short of naming a specific alternative or stating a case where this tool should be skipped, so it is strong context rather than a full when/when-not/alternative matrix.

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