Skip to main content
Glama

roma__ListDatasources

Query and list ROMA Connect datasources for an instance and project, filtering by name, type, app, or connector with pagination and sorting.

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

Input Schema

NameRequiredDescriptionDefault
nameNo数据源名称,支持模糊匹配
limitNo每页显示条目数量,最大数量999,超过999后只返回999
app_idNo集成应用ID
offsetNo分页查询,分页的偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
sort_typeNo查询数据源排序的类型,增序还是降序,可为空
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
sort_fieldNo排序字段(CREATED_DATE)
instance_idYes实例ID
datasource_typeNo数据源类型
custom_plugin_idNo连接器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 supplied, so the description carries the full behavioral burden, and it discloses almost nothing. It does not state that the operation is read-only, that results are paginated via limit/offset with a default of 10 and a hard cap of 999, or what the response contains. For a 10-parameter listing endpoint with zero annotation coverage, this leaves significant gaps.

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 description is a single short phrase with zero waste and is trivially front-loaded. But it is under-specified rather than genuinely concise — it conveys only a restated title-level purpose and no operational detail.

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?

A 10-parameter list tool with no annotations and no output schema needs the description to cover pagination semantics, required identifiers, and return shape. None of that is present, so an agent cannot know how to page through results or what to expect back without reading the schema in detail.

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 every parameter documented in the schema itself (fuzzy-match name, page size cap of 999, offset normalization, sort field/type, datasource_type enum). The description adds no meaning 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 description "[ROMA] 查询数据源" states a verb (query) and a resource (data sources), so the basic operation is identifiable. However, it gives no scope information — no indication that it is a paginated list with filtering, and no differentiation from siblings like roma__ListDatasourceColumns or roma__ListDatasourceTables that operate on related resources.

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 alternatives, no mention of prerequisites (instance_id and project_id must be obtained elsewhere, per the schema's reference to the ROMA Connect API guide), and no exclusions. The agent must infer the usage context entirely from the name.

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