Skip to main content
Glama

roma__ListDatasourceTables

Lists all tables in a specified ROMA data source, with optional fuzzy table-name filtering to locate tables within a database or schema.

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

Input Schema

NameRequiredDescriptionDefault
filterNo表名模糊匹配过滤器
db_nameNo数据库名称,只支持MRSHIVE,FIHIVE类型的数据源
positionYes数据源所在任务位置
db_schemaNo数据库模式,GAUSS100数据库使用
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
instance_idYes实例ID
datasource_idYes数据源ID

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 provided, so the description carries the full behavioral burden, yet it discloses nothing about pagination, result ordering, permissions, or whether the response is limited in size. It also does not explain how the position (SOURCE/TARGET) or db_name/db_schema filters constrain what tables are returned, which is the main behavioral subtlety here.

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 short phrase is front-loaded and free of filler, so there is no wasted wording. However, for a seven-parameter, four-required list tool it is under-specified rather than genuinely concise.

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?

Given seven parameters, no annotations, and no output schema, the definition leaves key questions unanswered: what the returned table entries look like, whether results are paginated, and how filters interact. The 100% schema coverage mitigates this somewhat, but the description itself is too thin 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%, including an enum for position and notes on db_name/db_schema type restrictions, so the schema already documents all seven parameters. The description adds no parameter meaning of its own, which is acceptable at full coverage but earns only the baseline.

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 names a concrete verb+resource in Chinese ('获取数据源中所有的表' – get all tables in a datasource), which matches the tool name and adds only the scope word '所有' (all). It is understandable but nearly restates the tool name and does not distinguish this listing from neighbors such as ListDatasourceColumns beyond the obvious noun.

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/instance/datasource IDs must be resolved first), and no pointer to alternatives such as ListDatasourceColumns for column-level information. The agent must infer the usage context entirely from the 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