Skip to main content
Glama

workspace__ListRestrictedRule

Retrieve a paginated list of restricted access rules for a project, with optional filtering by rule name, to review or audit configured controls.

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

Input Schema

NameRequiredDescriptionDefault
nameNo应用规则名称。
limitNo单次查询的大小[1-100],默认值10。
offsetNo查询的偏移量,默认值0。
project_idYes项目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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. The verb implies a read-only list operation, but there is no statement about permissions, whether results are scoped to the project, or what the response contains.

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 short sentence is front-loaded and free of waste, but it is terse to the point of under-specification rather than genuinely well-structured. Brevity here reflects missing content, not disciplined editing.

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?

With no annotations, no output schema, and four parameters, the description should explain the return shape (list of rules) and filtering behavior, but it does not. An agent knows only that a list is returned, not what fields it holds or whether results are project-scoped.

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%, so all four parameters (name, limit, offset, project_id) are already documented in the schema with types, bounds and defaults. The description adds no meaning beyond that, but the baseline of 3 applies when the schema does the heavy lifting.

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 description '查询管控规则列表' names a verb (query/list) and a resource (control rules), so the basic operation is identifiable. However, it gives no differentiation from close siblings such as ListAppRule or ListMetricNotifyRule, and '管控规则' is vague about what kind of rules these are.

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 use this tool rather than the many other List* rule tools in the sibling set. No prerequisites, no exclusions, and no mention of what distinguishes restricted rules from app rules or metric notify rules.

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