Skip to main content
Glama

sfsturbo__ShowFsDirUsage

Retrieves directory resource usage for an SFS Turbo file system, including subdirectories, to monitor storage consumption; cached data may cause delays.

Instructions

[SFSTURBO] 查询目录资源使用情况(包括子目录的资源)。后端有5min的缓存时间,查询的数据可能有延迟。

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>",
      "project_id": "<project_id>",
      "share_id": "<share_id>"
    },
    "name": "sfsturbo__ShowFsDirUsage"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes文件系统内合法的目录全路径
share_idYes文件系统id
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It discloses a genuinely useful behavioral trait — a 5-minute backend cache and possible data staleness — but says nothing about permissions, whether the call is read-only (only implied by 查询), or what the result contains, which matters since there is no output schema.

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 short sentences, front-loaded with purpose and followed by the one caveat that affects result trustworthiness. Nothing is wasted or repeated.

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

Completeness3/5

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

Parameters are fully covered by the schema and the cache caveat is captured, but with no annotations and no output schema, an agent still cannot tell what the returned usage data looks like (size, file counts, per-subdirectory breakdown) or whether the call is safe/read-only.

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 description coverage is 100%, so all three parameters (path, share_id, project_id) are already documented in the schema with examples. The description adds only the minor clarification that 'path' scope includes subdirectories; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (query directory resource usage) and adds scope detail that matters: usage includes subdirectories. This distinguishes it reasonably from the sibling ShowFsDir (directory listing) and ShowFsDirQuota (quota), though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

The description says what it does but not when to choose it over ShowFsDirQuota or ShowFsDir. With a quota sibling in the catalog, the usage-vs-quota distinction is exactly the guidance an agent needs and it is absent.

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