Skip to main content
Glama

roma__StartTestDatasource

Tests ROMA data source connectivity using provided connection details and identifiers, helping verify that a data source can be reached before configuration or use.

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": {
      "app_id": "<app_id>",
      "content": "<content>",
      "datasource_id": "<datasource_id>",
      "datasource_name": "<datasource_name>",
      "datasource_type": "<datasource_type>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "roma__StartTestDatasource"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYes数据源所属应用ID
contentYes数据源详细信息
project_idYes项目ID,获取方式请参见《ROMA Connect API参考》的“附录 > 获取项目ID”章节。
descriptionNo数据源描述
instance_idYes实例ID
datasource_idYes数据源ID
datasource_nameYes数据源名称,数据源名称不能包含&、<、>、"、'、(、) ,长度为1~255字符
datasource_typeYes数据源类型

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?

With no annotations, the description carries the full burden. It does not disclose that the call takes credentials in-band (ak/sk, user_name/password, trust_store/key_store secrets), whether it persists or mutates anything, whether it is repeatable/slow, or what the outcome looks like (pass/fail plus error detail). Only the bare verb "test" is conveyed.

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 bracketed phrase is front-loaded and contains no filler, but it is under-specified rather than concise: six words for a tool with an eight-parameter request whose `content` object nests roughly seventy fields. There is no room left for a one-line statement of effect or required setup.

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?

For a call that transports full datasource credentials and has no output schema and no annotations, a one-line description is far too thin. It offers nothing about which content keys to populate per datasource_type, whether required path IDs must reference an existing record, or what the test returns — all information the agent needs to invoke it 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 coverage is 100%, so the schema already documents all 7 required and 1 optional parameter, making 3 the baseline. The description adds nothing — critically, it does not explain that the nested `content` fields are type-dependent (different keys apply for MYSQL vs KAFKA vs OBS vs API), which is the single most non-obvious thing about this payload.

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 "测试数据源连通性" names a concrete action and resource (test a datasource's connectivity), so it is more than a restatement of the name. However, it gives no scope or contrast — it does not say it operates on an existing datasource record (datasource_id/instance_id/project_id path params) versus validating ad-hoc connection settings, which is exactly the ambiguity an agent must resolve among the roma__* datasource siblings.

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 call this versus roma__CreateDatasourceInfo or roma__UpdateDatasourceInfo, nor on prerequisites such as whether the datasource must already exist. At best an agent can infer it is a pre-flight verification step; nothing states that, and no exclusions are given.

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