Skip to main content
Glama

roma__CreateRequestProperty

Creates a request property for a ROMA command, defining its data type, required status, and value constraints.

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__CreateRequestProperty"
  }
}

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

D1.7/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 burden of behavioral disclosure, yet it says nothing about required permissions, whether creation fails on duplicate names, side effects on the API, or what the response contains. 'Create' implies a mutation, but nothing about reversibility or validation behavior is conveyed.

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 phrase is free of filler but is under-specified rather than concise. There is no structure, no front-loaded context beyond the verb and resource, and nothing an agent can act on beyond the name.

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 complex tool: 16 parameters, 7 required, conditional fields (min/max/step only for numeric types, max_length only for string/datetime/json), path identifiers, and a nested enum_dict object. With no annotations and no output schema, the description should explain far more about usage, validation, and results, but it provides nothing.

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%, with all 16 parameters (min/max/step, data_type, enum_list, method, etc.) fully documented in the schema itself, so the schema does the heavy lifting. The description adds no meaning beyond it, which is acceptable given the schema's completeness but earns no extra credit.

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 "[ROMA] 创建请求属性" is essentially the tool name translated into Chinese, stating only that it creates a request property. It gives no scope, no target object detail, and does not distinguish this from siblings such as roma__CreateProperty, roma__CreateResponseProperty, or roma__UpdateRequestProperty.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance, no prerequisites, no mention of alternatives. With nine closely related Create/Update/Delete property tools in the sibling list, an agent gets zero help in selecting this one over roma__CreateProperty or roma__UpdateRequestProperty.

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