Skip to main content
Glama

roma__UpdateResponseProperty

Updates a ROMA response property, including its data type, required flag, validation range, enum values, and description, to keep API response schemas accurate.

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_id": "<property_id>",
      "property_name": "<property_name>",
      "required": "<required>",
      "service_id": "<service_id>"
    },
    "name": "roma__UpdateResponseProperty"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxNo最大值,当data_type为integer或number时必填
minNo最小值,当data_type为integer或number时必填
stepNo步长,当data_type为integer或number时必填
unitNo属性单位
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_idYes属性/请求属性/响应属性ID
property_nameYes属性名称,首位必须为字母,支持大小写字母,数字,中划线及下划线,长度2-50

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior2/5

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

No annotations are provided, so the description bears the full burden of behavioral disclosure. "修改" implies a mutation, but the description does not say whether this is a full replacement or a partial update, what happens to unspecified fields, what permissions are needed, or whether changes can be reverted. For a destructive 16-parameter write operation, this is a large gap.

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 short phrase contains no wasted words, but conciseness here is under-specification: for a mutation tool with 8 required parameters and conditional field rules, one line is not appropriately sized. It is not front-loaded with any actionable context.

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?

Given a 16-parameter, 8-required mutation tool with no annotations and no output schema, the description should carry the operational load but does not. It provides no indication of side effects, required permissions, or conditional field logic, which leaves the agent completely unprepared.

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 each of the 16 parameters documented in the schema, including enums, defaults, and conditional requirements such as min/max/step for numeric data types. The description adds nothing beyond the schema, so the baseline 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 phrase "修改响应属性" (modify response property) gives a verb and a resource, but it essentially restates the tool name and adds only a "[ROMA]" vendor prefix. It does not differentiate this from siblings such as Create/Delete/ShowResponseProperty or from the request-property variants; the agent must rely on the tool name to tell them apart.

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?

The description gives no guidance about when to use this tool, when to choose a sibling such as roma__UpdateRequestProperty, or what prerequisites apply. The agent gets no information about usage context beyond what the name implies.

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