Skip to main content
Glama

sfsturbo__DeleteLdapConfig

Deletes the LDAP configuration from an SFS Turbo file system, removing directory-server user and group authentication binding. Use it to stop LDAP-based identity checks on a specified share.

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

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 supplied, so the description carries the full burden for a destructive mutation. It never states what happens after deletion — e.g., whether UGO permission checks fall back to default behavior, whether existing bindings are lost permanently, or whether the operation is reversible. The long LDAP tutorial text does not disclose deletion 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 purpose is front-loaded in the first clause, but it is followed by several paragraphs of generic LDAP protocol education (v3 support, OpenLDAP/Active Directory, Schema mismatches) that is not actionable for invoking this tool. The text is also truncated mid-sentence ("当前SFS Turbo支持的Schema有:"), leaving an incomplete fragment.

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 destructive two-parameter delete with no annotations and no output schema, an agent still needs to know the consequence of removal and any prerequisites. Instead the description spends its length on LDAP background and omits the operational details that matter most.

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% with only two path parameters (share_id, project_id), both documented in the schema. The description adds no format, constraint, or example detail beyond what the schema already provides, so the 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?

The opening sentence "删除ldap配置" states a specific verb (delete) plus resource (LDAP config), which inherently separates it from the CreateLdapConfig/ShowLdapConfig/UpdateLdapConfig siblings by name. However, the description never explicitly contrasts itself with those alternatives; the distinction rests entirely on the verb in the tool name.

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?

There is no guidance on when to call this versus ShowLdapConfig or UpdateLdapConfig, no preconditions (e.g., confirm the config exists, confirm impact on user authentication), and no exclusions. The LDAP background material describes the feature in general, not when deletion is appropriate.

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