Skip to main content
Glama

dis__UpdateStream

Updates a specified DIS stream's configuration, including data type, schema, retention duration, and auto-scaling settings.

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__UpdateStream"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_typeNo源数据类型。
project_idYes项目ID。
data_schemaNo用于描述用户JSON、CSV格式的源数据结构,采用Avro Schema的语法描述。
stream_nameYes待更新的通道名称。
data_durationNo数据保留时长。
auto_scale_enabledNo是否开启自动扩缩容。
auto_scale_max_partition_countNo当自动扩缩容启用时,自动扩容的最大分片数。
auto_scale_min_partition_countNo当自动扩缩容启用时,自动缩容的最小分片数。

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, yet it only implies mutation via "更新". It says nothing about required permissions, whether unspecified fields are preserved or reset, whether the change is reversible, or whether the stream must be stopped first — all critical for a mutating stream-configuration call.

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 sentence with no wasted words and the resource is front-loaded, but the brevity comes at the cost of substance rather than from efficient 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?

For an 8-parameter mutation tool with no annotations and no output schema, the description is far too thin — it does not summarize the updatable dimensions, the effect of the auto-scale fields, or what a successful update returns. Only the schema prevents the definition from being unusable.

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 one of the 8 parameters documented in the schema (data_type enum, data_schema, data_duration, auto-scale bounds, etc.). The description adds no meaning beyond that, so the baseline 3 applies.

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 names a verb ("更新"/update) and a resource ("指定通道的通道信息"/the channel info of a specified stream), so the basic operation is identifiable. However, "通道信息" is vague about what settings are actually mutable, and nothing distinguishes this tool from siblings like dis__UpdatePartitionCount or dis__DeleteStream beyond the generic word "update".

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 preconditions, no mention of when to prefer this over CreateStream/UpdatePartitionCount, and no note on whether it is a full or partial update. The agent must infer everything from the name and schema.

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