Skip to main content
Glama

roma__ListDictionary

Query ROMA dictionary lists by instance and project, with fuzzy code/name filters, pagination, and optional parent code to return child or top-level entries.

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

Input Schema

NameRequiredDescriptionDefault
codeNo通过code进行模糊匹配查询
nameNo通过name进行模糊匹配查询
limitNo每页显示的条目数量
offsetNo偏移量,大于等于0
project_idYes项目ID
instance_idYes实例ID
parent_codeNo指定父字典编码,返回子字典列表信息,未指定时查询顶级字典列表信息

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/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 disclosure burden, and it discloses almost nothing. It does not say that results are paginated (limit/offset), that the default is top-level dictionaries unless parent_code is given, or what happens with an invalid instance/project id. It is not misleading, but for a read tool with zero annotation coverage this is a substantial 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 single phrase is front-loaded and contains no filler, so it is concise. But the brevity reflects under-specification rather than economy of expression, because none of the operationally important details are delivered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With seven parameters, two required path identifiers, a hierarchical parent_code filter, and pagination, plus no annotations and no output schema, the definition leaves an agent to reconstruct the entire contract from the schema. The description should at minimum state that this is a paginated, optionally hierarchy-scoped dictionary listing.

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%, including clear descriptions for code/name fuzzy matching, limit/offset paging, and the parent_code hierarchy switch, so the schema does the heavy lifting. The description adds no parameter meaning of its own; 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 description "[ROMA] 查询字典列表" names a verb (query/list) and a resource (dictionary), so the basic operation is identifiable. However, it stops at that bare statement: it does not mention scope (instance/project), filtering, or how it differs from siblings such as roma__CheckDictionary or roma__CreateDictionary, so an agent must open the schema to learn anything more.

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 rather than the other dictionary tools (Check/Create/Update/Delete/Validate), nor any mention of prerequisites such as needing a valid instance_id and project_id. The agent can only infer usage from the tool name and the required path parameters.

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