Skip to main content
Glama

sfsturbo__ShowFsDir

Checks whether a directory exists in a Huawei Cloud SFSTURBO file system using its full path, share ID, and project ID.

Instructions

[SFSTURBO] 查询目录是否存在

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__ShowFsDir"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes需要查询的目录的全路径
share_idYes文件系统id
project_idYes项目id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and provides almost none. It never says what the tool returns (boolean flag, response body), whether a non-existent directory is an error or a false result, or what permissions are required for a read operation. The only behavioral signal is that it checks existence rather than enumerating contents.

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?

A single short sentence with no filler and the key concept (existence check) front-loaded. It is efficient, though the extreme brevity is closer to under-specification than disciplined conciseness.

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

Completeness2/5

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

With no output schema and no annotations, the description is the only source of behavioral information, and it omits the one thing an agent most needs for an existence-check tool: the return contract (boolean vs. error). For a 3-parameter read tool with no structured safety or output coverage, this is a significant gap.

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 all three parameters (path, share_id, project_id) are already self-documented. The description adds no further meaning, such as whether `path` is relative to the share root or must be absolute — a key ambiguity left unaddressed despite the schema saying 'needs the full path'. Baseline 3 applies.

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 concrete operation: query whether a directory exists, bounded by path/share_id/project_id. It usefully disambiguates from the name 'ShowFsDir', which could be misread as listing directory contents, and contrasts implicitly with the Create/Delete FsDir siblings. It does not explicitly name an alternative, so it stops short of 5.

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?

No when-to-use or when-not-to-use guidance is provided. An agent must infer that this is a pre-check before CreateFsDir/DeleteFsDir, and nothing says anything about prerequisites (`project_id`/`share_id` must already exist).

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