Skip to main content
Glama

dis__ConsumeRecords

Retrieves records from a Huawei Cloud DIS channel using a partition cursor and project ID, with an optional maximum byte limit per request.

Instructions

[DIS] 本接口用于从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-cursor": "<partition-cursor>",
      "project_id": "<project_id>"
    },
    "name": "dis__ConsumeRecords"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID。
max_fetch_bytesNo每个请求获取记录的最大字节数。
partition-cursorYes数据游标,需要先通过获取数据游标的接口获取。

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 provided, so the description must carry the full burden of explaining behavior, but it adds almost nothing. It does not say whether consuming advances the cursor, whether results are paginated or size-capped (max_fetch_bytes is in the schema), what happens when no data is available, 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 description is a single short sentence with no wasted words, but it is under-specified rather than concise; the front-loaded statement identifies only the direction of data flow.

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 three-parameter consumption tool with no annotations and no output schema, the description should at minimum explain cursor semantics and result behavior. The schema covers parameter names and meanings, but the description leaves the operational model of 'ConsumeRecords' essentially unexplained.

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 every parameter is already documented in the schema, including the cursor prerequisite and max_fetch_bytes meaning. The description adds no extra meaning about these parameters, so the baseline score of 3 is appropriate.

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 states a verb and a resource: in Chinese, 'download data from a DIS channel' (从DIS通道中下载数据). That is more specific than a tautology, but it never mentions records, partitions, or cursors, and it does not distinguish this tool from related ones such as dis__SendRecords, which sends records rather than downloading them.

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 says nothing about when to use this tool instead of related ones, and it gives no preconditions. The cursor prerequisite appears only in the schema for 'partition-cursor', not in the description itself.

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