Skip to main content
Glama

roma__UpdateDatasourceInfo

Updates an existing ROMA data source's configuration, including connection, authentication, and type details, so you can correct or modify its settings without recreating it.

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

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.4/5.0
Behavior1/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 nothing: not whether this is a full replacement (seven required fields including a large content object suggest so) or a partial update, not what happens to fields omitted from content, and not what permissions or side effects apply. The text is effectively a restatement of the tool name.

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 inherently front-loaded, but its brevity stems from under-specification rather than tight writing. There is nothing to trim, but nothing has been earned either.

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?

With eight parameters, seven required, a large nested content object with dozens of type-dependent fields, and no annotations or output schema, the description should carry substantial context. Instead it provides nothing beyond the name, leaving the agent without guidance on update semantics or required configuration for the chosen datasource_type.

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%, so both the path parameters (project_id, instance_id, datasource_id) and the deeply nested content object are documented in the schema itself; the description adds no additional meaning. The baseline of 3 applies when the schema fully documents parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"[ROMA] 修改数据源" states a specific verb (modify) and resource (datasource), which is enough for an agent to tell it apart from CreateDatasourceInfo and DeleteDatasourceInfoById by verb alone. It stops short of saying what aspect of the datasource is modified or whether this replaces or patches the configuration.

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?

No when-to-use or when-not-to-use guidance is given beyond the bare verb. An agent must infer from the verb that this should be used instead of Create/Delete, and there is no statement about prerequisites such as the datasource already existing or which fields must be supplied in the request.

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