Skip to main content
Glama

roma__CreateMqsInstanceTopic

Creates a topic in a ROMA MQS instance, letting you set partitions, replication, retention, access policy, and project/app/instance identifiers.

Instructions

[ROMA] 创建Topic。

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": {
      "access_policy": "<access_policy>",
      "app_id": "<app_id>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateMqsInstanceTopic"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo权限类型对应的标签。
nameYestopic名称,以字母开头,仅能包含数字,字母,下划线(_),中划线(-),长度3-200字符。
app_idYes集成应用key。
partitionNotopic分区数,设置消费的并发数。
project_idYes租户的项目ID。
descriptionNo描述。长度0-1000字符。
instance_idYes实例ID。
replicationNo副本数,配置数据的可靠性。
access_policyYes权限类型。
retention_timeNo消息老化时间。默认值为72。取值范围1~720,单位小时。
sensitive_wordNo敏感字段。
sync_replicationNo是否开启同步复制,开启后,客户端生产消息时相应的也要设置acks=-1,否则不生效,默认关闭。
sync_message_flushNo是否使用同步落盘。默认值为false。同步落盘会导致性能降低。

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 provided, so the description carries the full burden, yet it discloses nothing about behavior: no permission/auth requirements, no note that this is an irreversible write, no mention of defaults applied to the many optional settings (retention_time, sync_replication, replication), and no description of the result or what gets returned.

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?

It is short with no wasted words, but this is under-specification rather than conciseness: a single fragment that conveys no more than the tool name and is not front-loaded with any operational detail.

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?

For a 13-parameter mutating creation tool with no annotations and no output schema, the description should explain side effects, required context and result behavior. Instead it offers a four-word fragment that leaves an agent unable to judge the consequences of the call.

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% and the schema already documents all 13 parameters including constraints, enums and defaults, so the baseline applies. The description itself adds zero parameter meaning beyond the schema.

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 "[ROMA] 创建Topic。", which essentially restates the tool name CreateMqsInstanceTopic with a product tag. It gives no scope, no resource qualifiers (MQS instance topic vs. Kafka/RocketMQ topics), and no way to distinguish it from siblings like kafka__CreateInstanceTopic or roma__CreateProductTopic.

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, no prerequisites (instance must exist, permissions needed), and no mention of alternatives such as importing topics or the batch/update variants. Only the bare verb 'create' implies usage.

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