Skip to main content
Glama

dis__CommitCheckpoint

Submits a checkpoint for a DIS stream partition to record a consumer app's sequence number and track read progress.

Instructions

[DIS] 本接口用于提交Checkpoint。

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": {
      "app_name": "<app_name>",
      "checkpoint_type": "<checkpoint_type>",
      "partition_id": "<partition_id>",
      "project_id": "<project_id>",
      "sequence_number": "<sequence_number>",
      "stream_name": "<stream_name>"
    },
    "name": "dis__CommitCheckpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_nameYesAPP的名称,用户数据消费程序的唯一标识符,需要先通过创建App接口创建。
metadataNo用户消费程序端的元数据信息。
project_idYes项目ID。
stream_nameYes已创建的通道名称。
partition_idYes通道的分区标识符。
checkpoint_typeYesCheckpoint类型。
sequence_numberYes需要提交的序列号,用来记录该通道的消费检查点,需要保证该序列号处于有效范围内。

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, yet it discloses nothing: no mutation semantics, no idempotency, no required permissions, no effect of an invalid or out-of-range sequence_number, and no indication of what the call returns. A single sentence restating the name leaves a write operation entirely opaque.

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?

The single sentence is short and front-loaded, but that brevity reflects under-specification rather than economy. The bracketed "[DIS]" prefix and the name-restating clause consume the whole budget without conveying information.

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?

This is a 7-parameter, 6-required mutation tool with no annotations and no output schema, so the description must carry substantial weight. Instead it explains none of the parameters' interplay (app_name + stream_name + partition_id + sequence_number) or the outcome, leaving an agent unable to invoke it safely.

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%, including the LAST_READ enum and the note that sequence_number must be within a valid range, so the schema already does the heavy lifting. The description adds no meaning beyond it, which sets the baseline at 3.

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?

The description says only "本接口用于提交Checkpoint" (this API submits a Checkpoint), which is a direct restatement of the tool name CommitCheckpoint. It names no scope, no distinguishing behavior, and nothing that separates it from sibling tools such as dis__ShowCheckpoint or dis__DeleteCheckpoint.

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, when-not-to-use, or prerequisite guidance at all. An agent cannot tell from this text whether a checkpoint should be committed after each ConsumeRecords call, per partition, or only at session end, nor what to do instead when a checkpoint already exists.

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