Skip to main content
Glama

sfsturbo__UpdatePermRule

Modifies an existing SFS Turbo permission rule to change read/write access and user-type permissions for authorized clients on a file system.

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

Input Schema

NameRequiredDescriptionDefault
ip_cidrNo授权对象的IP地址或网段,设置后不支持修改
rule_idYes权限规则id
rw_typeNo授权对象的读写权限
share_idYes文件系统id
user_typeNo授权对象的系统用户对文件系统的访问权限。取值如下:
project_idYes项目ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.6/5.0
Behavior1/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 and gives nothing. It doesn't state that this is a mutation, whether changes are reversible, permission requirements, effect on existing rules, or that ip_cidr is immutable once set.

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

Conciseness3/5

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

Extremely short – a single bracketed tag plus title phrase. It's not bloated, but it's under-specified rather than concise; no information is front-loaded because there's no information.

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

Completeness1/5

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

For a 6-parameter mutation tool with a required path-scoped rule_id/share_id/project_id, no annotations, and no output schema, the description is wholly inadequate. Nothing warns the agent that this modifies a live permission rule.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% so the schema documents all six parameters, giving a baseline of 3; however, the description adds zero parameter meaning and doesn't clarify which fields are mutable versus immutable (a critical fact partially hidden in the schema). The description contributes nothing on top of the schema.

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

Purpose2/5

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

The description is essentially a restatement of the tool name: '修改权限规则' (modify permission rule) adds nothing beyond 'UpdatePermRule'. It doesn't specify what aspects of the rule can be modified or the scope (SFS Turbo file system permission rule).

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

Usage Guidelines1/5

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

No guidance on when to use this tool vs CreatePermRule, DeletePermRule, ShowPermRule, or ListPermRules. The sibling names make the CRUD family obvious, but the description provides no conditions, prerequisites, or exclusions.

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