Skip to main content
Glama

sfsturbo__ShowLdapConfig

Retrieve the LDAP configuration for an SFS Turbo file system to verify directory authentication and user/group mapping settings.

Instructions

[SFSTURBO] 查询Ldap的配置。LDAP(Lightweight Directory Access Protocol),中文名称轻量级目录访问协议,是对目录服务器(Directory Server)进行访问、控制的一种标准协议。LDAP服务器可以集中式地管理用户和群组的归属关系,通过绑定LDAP服务器,当一个用户访问您的文件系统的文件时,SFS Turbo将会访问您的LDAP服务器以进行用户身份验证,并且获取用户和群组的归属关系,从而进行Linux标准的文件UGO权限的检查。要使用此功能,首先您需要搭建好LDAP服务器(当前SFS Turbo仅支持LDAP v3协议),常见提供LDAP协议访问的目录服务器实现有OpenLdap(Linux),Active Directory(Windows)等,不同目录服务器的实现细节有所差别,绑定时需要指定对应的Schema(Schema配置错误将会导致SFS Turbo无法正确获取用户以及群组信息,可能导致无权限访问文件系统内文件),当前SFS Turbo支持的Schema有:

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

Input Schema

NameRequiredDescriptionDefault
share_idYes文件系统id
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only query but says nothing about what configuration fields are returned, what happens if LDAP is unconfigured, whether permissions are required, or any error behavior. The lengthy LDAP protocol explanation (UGO checks, schema mismatch causing access denial) is domain education about the feature, not disclosure of this tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is correctly front-loaded and useful, but it is followed by several sentences of general LDAP tutorial content that do not help an agent select or invoke the tool. The description also terminates mid-sentence ("当前SFS Turbo支持的Schema有:") with an enumerated list that is missing, indicating a truncated and poorly structured dump.

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?

For a two-parameter read tool with no annotations and no output schema, the description should at minimum describe the shape of the returned configuration or any failure modes. Instead it spends its length on protocol background and omits return-value information and operational constraints entirely, leaving an agent unable to predict the response.

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%: share_id (文件系统id) and project_id (项目ID) are both documented in the schema with an example. The description adds no additional meaning about either parameter — no clarification of scope, required format, or relationship between share_id and project_id — so the baseline of 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?

The opening sentence "查询Ldap的配置" states a specific verb (query/read) and resource (LDAP configuration), which distinguishes it well enough from the Create/Update/DeleteLdapConfig siblings by implication of read-only semantics. However, the definition never explicitly contrasts itself with those siblings, and the remaining bulk of text is generic LDAP background rather than tool purpose.

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 text describes prerequisites for the LDAP feature itself (you must have an LDAP v3 server, supported schemas, correct binding), but never says when an agent should call this tool versus ShowShare, CreateLdapConfig, UpdateLdapConfig, or DeleteLdapConfig. There are no exclusions, no preconditions tied to the parameters, and no guidance on what a caller should do with the result.

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