Skip to main content
Glama

workspace__UpdateAppRule

Updates a Workspace application rule by project and rule ID, allowing changes to rule name, description, scope, path, or product matching conditions.

Instructions

[WORKSPACE] 修改应用规则。

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>"
    },
    "name": "workspace__UpdateAppRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo规则名称:
ruleNo规则信息。
rule_idYes规则ID。
project_idYes项目ID。
descriptionNo规则描述:

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 delivers almost nothing. It does not state whether the update is a full replace or a partial patch (important given only project_id and rule_id are required while name, rule, and description are optional), what permissions are needed, or whether replacing rule.scope from PRODUCT to PATH discards the previously configured product_rule fields.

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?

The single sentence is front-loaded and contains no wasted wording, but its brevity stems from omission rather than efficiency. There is no structure guiding the agent to the mutation semantics that matter for this tool.

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 mutation tool with five parameters, deeply nested rule objects, no annotations, and no output schema, this description is far too thin. An agent cannot tell what a successful call returns or whether partial updates are permitted, which are exactly the gaps the description should fill when structured fields do not.

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 every parameter and nested field documented in the schema itself, so the baseline of 3 applies. The description adds no meaning beyond that — it never mentions the optional/required split or the nested scope/path_rule/product_rule structure.

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 description 'modify application rule' gives a clear verb (modify) and resource (app rule) plus a workspace tag, so the basic operation is identifiable. However, it does nothing to distinguish this tool from siblings like workspace__CreateAppRule, workspace__BatchUpdateAppRules, or workspace__UpdateAppAuthorizations, leaving the agent to infer scope from the name alone.

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 when-to-use guidance at all: no indication of when to update a single rule versus batch-updating, versus creating or deleting one. The agent must guess the intended entry point from the sibling names, which the definition never references.

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