Skip to main content
Glama

roma__UpdateRequestProperty

Updates an existing ROMA request property, letting you change its data type, required status, validation ranges, enum values, unit, and description.

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

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.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It says only that a property is modified, with no mention of whether the update is partial or full, whether omitted fields are preserved or reset, whether required permissions or an existing command/instance state are needed, or how the change is confirmed. For a mutation tool with zero annotation coverage, this is a major gap.

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, but it is under-specified rather than concise. Brevity here costs clarity because nothing is front-loaded beyond the bare action 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?

A 16-parameter mutation tool with 8 required parameters, nested object input, no annotations, and no output schema is described in five words. The description does not say what the update affects, what the conditional parameter rules imply, or what the agent should expect after the call, so it is not complete enough to call the tool correctly.

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 all 16 parameters, including the conditional min/max/step/max_length rules and enum values, are already documented in the input schema. The description adds no parameter 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 phrase "修改请求属性" (modify request property) does name a verb and a resource, so the basic action is identifiable. However, it gives no scope or qualifier, and it does not distinguish this from the sibling roma__UpdateResponseProperty, which shares the same verb and near-identical resource wording.

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 CreateRequestProperty, DeleteRequestProperty, or UpdateResponseProperty. The agent must infer from the name alone that this is an update of an existing request property, and no preconditions or alternatives are stated.

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