Skip to main content
Glama

roma__CreateResponseProperty

Creates a response property for a ROMA command, defining its data type, constraints, required status, and access mode so API responses can include validated fields.

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": {
      "command_id": "<command_id>",
      "data_type": "<data_type>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "property_name": "<property_name>",
      "required": "<required>",
      "service_id": "<service_id>"
    },
    "name": "roma__CreateResponseProperty"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo最大值,当data_type为integer或number时必填
minNo最小值,当data_type为integer或number时必填
stepNo步长,当data_type为integer或number时必填
unitNo属性单位
methodNo访问模式(兼容20.0,R属性可读,W属性可写,E属性可执行)
requiredYes是否必填 0-非必填 1-必填
data_typeYes属性数据类型,枚举值大小写敏感;number格式为数字,范围±1.0 x 10^-28 to ±7.9228 x 10^28;sting为字符串;integer为整数;datetime为时间,格式为yyyyMMddTHHmmss;json为自定义json格式
enum_dictNo当数据类型为boolean枚举值时填写json格式数据,形如"enum_dict":{"0":"xxx","1":"xxx"}
enum_listNostring的枚举值数组,使用逗号分隔
command_idYes命令ID
max_lengthNo字符串最大长度,当data_type为string, datetime, json时必填,自动向下取整
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
service_idYes服务ID
descriptionNo属性描述,长度0-200
instance_idYes实例ID
property_nameYes属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.4/5.0
Behavior2/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 only implies a mutation through the verb. It does not state permission requirements, whether property names must be unique within the command/service, what happens on conflict, 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 phrase with zero waste and is trivially front-loaded, but this is brevity through under-specification rather than disciplined concision. Nothing about a complex 16-parameter creation operation is conveyed.

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 16-parameter mutating operation with 7 required fields, nested objects, no annotations and no output schema, a bare 'create response property' phrase is completely inadequate. An agent cannot know what the tool produces, what failures look like, or how it relates to the Update/Show/Delete counterparts.

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 one of the 16 parameters is already documented in the input schema, including conditional requirements like min/max/step for numeric types and max_length for string types. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 specific verb+resource ('创建响应属性' = create response property), but this is essentially a translation of the tool name with no added detail. It does not differentiate this tool from its close siblings such as roma__CreateProperty or roma__CreateRequestProperty.

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 use this tool versus the sibling Create*/Update*/Show* property tools, and no prerequisites are stated (e.g., the target service and command must already exist). The agent must infer the context entirely from the name.

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