Skip to main content
Glama

dataartsstudio__UpdateSecurityRuleEnableStatus

Enable or disable a DataArts Studio security recognition rule by updating its status using the rule ID and project ID.

Instructions

[DATAARTSSTUDIO] 修改识别规则状态接口

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": {
      "id": "<id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__UpdateSecurityRuleEnableStatus"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes识别规则id
enableNo是否开启识别规则
project_idYesproject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full disclosure burden, and it only implies mutation via "修改". It says nothing about whether enabling triggers a re-scan or reclassification, whether the change is idempotent or reversible, what authorization is required, or what happens if the rule is already in the target state.

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?

It is a single short phrase with zero redundancy and the operation is front-loaded, but it is under-specified rather than concise — there is no second sentence to carry scope, side effects, or routing information. Shortness here costs information rather than saving it.

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?

This is a state-mutating tool with no annotations and no output schema, in a crowded family of security/classification rule tools. A one-line description cannot cover what an agent needs: the effect of toggling, permission requirements, and how it relates to the full-rule update siblings. Substantial gaps remain.

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% (id, enable, project_id all documented in-schema), so the baseline is 3. The description adds no meaning beyond the schema — it does not clarify the semantics of `enable` (e.g., what enabling actually activates) or the path-vs-body distinction for id/project_id.

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

Purpose3/5

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

The Chinese phrase "修改识别规则状态" gives a verb (modify) and a resource (recognition rule status), so the basic operation is inferable, but the scope is thin: it never says whether this toggles enable/disable, applies to one rule or many, or how it differs from siblings like UpdateSecurityDataClassificationRule. The trailing "接口" (interface) is filler that adds nothing.

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 guidance, no when-not-to-use, no named alternative among the many sibling update/rule tools, and no prerequisites (permissions, project scoping) are stated. The agent must guess that this is the toggle path rather than the full-rule update path.

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