Skip to main content
Glama

dis__ListPolicies

Lists permission policies for a specified DIS stream channel using its project ID and stream name, so you can review the access controls assigned to that channel.

Instructions

[DIS] 本接口用于查询指定通道的权限策略列表。

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
stream_nameYes通道名称。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.9/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 burden of behavioral disclosure. It states the query target but omits whether the call is read-only (implied by 查询 but never declared), whether results are paginated, what permissions are needed, and what an empty result means — significant gaps for an unannotated tool.

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

Conciseness4/5

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

A single front-loaded sentence that wastes little; the '[DIS]' prefix is redundant given the tool name, and the phrasing '本接口用于' (this interface is used to) is filler, but overall it is tight.

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

Completeness3/5

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

For a two-parameter read tool with a fully documented schema and no output schema, the essentials are present. Still, an agent gets no information about result contents, pagination, or failure conditions, which leaves the definition only minimally sufficient.

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 project_id and stream_name both documented in the schema, so the schema already does the heavy lifting. The description only reinforces that a channel name must be supplied and adds no format, ID-source, or scoping detail beyond that.

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?

States a specific verb (查询/query) and resource (权限策略列表/permission policy list) scoped to a specified channel (通道), which clearly separates it from the sibling create operation dis__CreatePolicies. It does not, however, distinguish itself from other DIS list tools such as dis__ListStreams or dis__ListTags.

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?

The description gives no when-to-use guidance, no prerequisites, and no exclusions. It implies the tool requires a stream context, but never says what to do if the caller only has a project, nor points to any alternative for broader policy queries.

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