Skip to main content
Glama

roma__ShowMqsInstanceMessages

Query message offsets and content for a ROMA MQS instance by topic and time range, with optional filters for partition, key, tag, and download.

Instructions

[ROMA] 查询消息的偏移量和消息内容。

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": {
      "end_time": "<end_time>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "start_time": "<start_time>",
      "topic": "<topic>"
    },
    "name": "roma__ShowMqsInstanceMessages"
  }
}

Input Schema

NameRequiredDescriptionDefault
ascNo是否按照时间排序。
keyNo消息key。
tagNo消息标签。
limitNo查询消息的数量。
topicYestopic名称。
offsetNo查询的偏移量。
downloadNo是否下载。
end_timeYes结束时间。Unix毫秒时间戳。
partitionNo分区。
message_idNo消息ID。
project_idYes租户的项目ID。
start_timeYes开始时间。Unix毫秒时间戳。
instance_idYes实例ID。
message_offsetNo消息偏移量。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description must carry the behavioral burden. It says only that messages and offsets are queried; it does not disclose permissions, pagination/limit behavior, sorting, download semantics, or what happens with the many filtering parameters.

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

Conciseness4/5

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

A single short sentence with no filler, and the purpose is front-loaded. It is terse but not bloated; the main issue is missing content rather than wasted wording.

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 14-parameter query with no annotations and no output schema, the definition is not complete enough. It omits usage context, return-shape details, and operational behavior, leaving the schema to carry nearly everything.

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 the schema already documents all 14 parameters. The description adds no parameter-level meaning beyond 'offset' and 'content' and does not explain required time range, topic, instance, or other filtering semantics.

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 gives a verb ('查询') and resource ('消息'), and mentions offset and content, but it essentially restates the tool name and never scopes it to MQS instances/topics or distinguishes it from sibling message-reading tools such as kafka__ShowInstanceMessages. An agent gets a general idea but not a precise selection signal.

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?

No when-to-use or when-not-to-use guidance is provided, and no alternatives are mentioned. The only clue about its role comes from the tool name and sibling list, not from the description.

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