Skip to main content
Glama

dis__CreateStream

Creates a DIS stream (channel) for data ingestion, with configurable partitions, data type, retention, compression, auto-scaling, and tags.

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": {
      "partition_count": "<partition_count>",
      "project_id": "<project_id>",
      "stream_name": "<stream_name>"
    },
    "name": "dis__CreateStream"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo通道标签列表。
sys_tagsNo通道企业项目列表。
data_typeNo源数据类型。
project_idYes项目ID。
data_schemaNo用于描述用户JSON、CSV格式的源数据结构,采用Avro Schema的语法描述。
stream_nameYes通道名称。
stream_typeNo通道类型。
data_durationNo数据保留时长。
csv_propertiesNoCSV 格式数据的相关属性,比如分隔符 delimiter
partition_countYes分区数量。
auto_scale_enabledNo是否开启自动扩缩容。
compression_formatNo数据的压缩类型,目前支持:
auto_scale_max_partition_countNo当自动扩缩容启用时,自动扩容的最大分片数。
auto_scale_min_partition_countNo当自动扩缩容启用时,自动缩容的最小分片数。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/5.0
Behavior1/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 for a mutating, 14-parameter create operation, and it discloses nothing. It does not state required permissions, whether creation is idempotent or reversible, how partition_count and auto_scale settings interact, or what happens on name collision.

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

Conciseness2/5

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

It is a single short sentence with no wasted words, but the brevity is under-specification rather than economy. There is no structure, no front-loaded explanation of what is created, and no mention of the mandatory fields.

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 complex mutation tool with 14 parameters, nested objects (tags, sys_tags, csv_properties), three enums, no annotations and no output schema, the description is completely inadequate. Nothing tells the agent what a successful creation returns or what constraints govern data_type/stream_type choices.

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% and every one of the 14 properties carries its own description and examples, so the schema does the heavy lifting. The description adds no meaning beyond it, which is the baseline 3 case for a high-coverage 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?

"本接口用于创建通道" only restates the tool name CreateStream (create a channel/stream) with no additional specificity. It names no distinguishing scope, no resource details, and nothing that separates it from siblings like dis__CreateApp or the various dis__Create*TransferTask tools.

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, no prerequisites (project/stream naming rules, quota limits), and no mention of alternatives. An agent must infer entirely from the name that this is the creation entry point versus UpdateStream or ShowStream.

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