Skip to main content
Glama

roma__CreateDictionary

Create a ROMA dictionary to store and organize reusable reference data with code, name, order, remarks, extension fields, and optional parent hierarchy.

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": {
      "code": "<code>",
      "instance_id": "<instance_id>",
      "name": "<name>",
      "project_id": "<project_id>"
    },
    "name": "roma__CreateDictionary"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYes字典编码
nameYes字典名称
orderNo字典排序,值越小顺序越靠前
remarkNo字典描述
extend_oneNo字典扩展字段1
extend_twoNo字典扩展字段2
project_idYes项目ID
instance_idYes实例ID
parent_codeNo父字典编码,为空时代表自身就是最顶级字典

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.1/5.0
Behavior1/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 for a mutating create operation, and it discloses nothing: no permission requirements, no uniqueness constraints on 'code', no explanation of what parent_code does to nesting, and no statement about what is returned. This is a complete gap for a write tool with zero annotation coverage.

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 text is short but this is under-specification rather than conciseness — a single six-character phrase with no structure, no front-loaded constraint, and no information an agent could act on. Brevity here costs clarity rather than earning it.

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 tool with nine parameters, four of them required, path-scoped project_id/instance_id, nested-object typing, no annotations and no output schema, the description is nowhere near sufficient. Nothing tells the agent how this create interacts with the other ROMA dictionary tools or what constitutes a valid creation.

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 every one of the nine parameters (code, name, order, remark, extend_one/two, project_id, instance_id, parent_code) carries its own description and constraints, so the schema does the work. The description adds no meaning beyond it, which is the baseline-3 case when schema coverage is high.

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 "[ROMA] 创建字典" states a verb (创建/create) and a resource (字典/dictionary), so the basic action is unambiguous. However, it is essentially a translation of the tool name with no additional scope detail — not even which project/instance the dictionary belongs to, which is a required part of the call. It clears the minimum bar but adds nothing beyond the name.

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 siblings such as roma__UpdateDictionary or roma__CheckDictionary, nor any mention of preconditions (e.g., whether a dictionary with the same code must not exist, or when parent_code should be supplied). The agent must infer everything from the tool name alone.

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