Skip to main content
Glama

lts__ConsumerGroupHeartBeat

Send a consumer heartbeat to the Huawei Cloud LTS service to keep a consumer group member active and maintain its lease.

Instructions

[LTS] 消费者发送心跳到服务端

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": {
      "consumer_group_name": "<consumer_group_name>",
      "consumer_name": "<consumer_name>",
      "group_id": "<group_id>",
      "project_id": "<project_id>",
      "stream_id": "<stream_id>"
    },
    "name": "lts__ConsumerGroupHeartBeat"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idYes日志组ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID。
stream_idYes日志流ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID
project_idYes项目ID,获取方式请参见:获取项目ID,获取账号ID,日志组ID、日志流ID
consumer_nameYes消费者名称
consumer_group_nameYes消费组名

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full behavioral burden and does not meet it. It does not say whether the heartbeat creates or renews a session, what happens if the group or consumer does not exist, whether an interval/timeout applies, or what the server returns.

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 single sentence is tight and front-loaded with the actor and action, with no wasted wording. However, its brevity comes from omission rather than discipline, so it is minimally adequate rather than well-structured.

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?

This is a five-parameter, all-required operation with no annotations and no output schema, so the description is the only source of behavioral context. It says nothing about call cadence, required group state, error conditions, or response, leaving significant gaps for an agent to call it correctly.

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 (group_id, stream_id, project_id, consumer_name, consumer_group_name) is already documented in the input schema. The description adds no meaning beyond that, so the baseline of 3 applies.

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?

The description names a specific action and direction: a consumer sends a heartbeat to the server. This is clearly not create/delete/list, so an agent can distinguish it from lts__CreateConsumerGroup, lts__DeleteConsumerGroup, and lts__ListConsumerGroup. It stops short of stating what the heartbeat accomplishes (session keep-alive, membership refresh), which keeps it from a 5.

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 guidance on when to call this tool, how often, or under what consumer state (e.g., after joining a group, during active consumption). No alternatives or exclusions are named, so the agent must infer timing from the name alone.

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