Skip to main content
Glama

roma__CreateProperty

Creates a property for a ROMA Connect service, defining its data type, required status, and validation limits for API or integration use.

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

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的枚举值数组,使用逗号分隔
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 burden. Beyond the bare word 'create', it discloses nothing: not that this is a mutating write, not what happens on duplicate property names, not permission requirements, and not the conditional rules that tie min/max/step to integer/number data types or max_length to string/datetime/json.

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 definition is a single short phrase with no wasted words and is trivially front-loaded, but its brevity is under-specification rather than economy: it conveys only what the name already conveys, so it earns little of its place.

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 mutation tool with 15 parameters, 6 required, a nested enum_dict object, enum constraints, and conditional per-data_type requirements, with no annotations and no output schema. A four-character description cannot prepare the agent for any of that and is clearly inadequate for the tool's complexity.

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 itself documents the conditional requirements (min/max/step for numeric types, max_length for string types, enum_dict/enum_list usage). The description adds no meaning beyond that, which is acceptable given full schema coverage, 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 states a specific verb and resource ('创建属性' / create property), so the general operation is identifiable. However, it is only a restatement at the level of the name plus a '[ROMA]' tag and gives no signal distinguishing it from the sibling tools roma__CreateRequestProperty and roma__CreateResponseProperty, which presumably create closely related property types.

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 mention of prerequisites (project/service/instance must already exist), and no indication of when to pick this tool over the request/response property variants. The agent must infer everything from the tool name and schema.

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