Skip to main content
Glama

roma__ImportAsset

Creates a ROMA asset import job; asset versions and target assets are read from the provided asset content.

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

Input Schema

NameRequiredDescriptionDefault
project_idYes项目ID
instance_idYes实例ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/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 of disclosure. It says it creates a job task but does not state whether this is asynchronous, what is returned (a job ID?), whether it is idempotent or destructive to existing assets, or what permissions are needed — gaps that matter particularly for a mutating operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence that front-loads the operation and then adds the key semantic caveat about where asset selection comes from. No filler. The mixed Chinese/English naming ("[ROMA]") is minor overhead but not bloating.

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 mutation tool with no annotations and no output schema, the definition leaves out critical operational context: whether the import is async, how job status is obtained, and what the import source is. The one clarifying note about asset content is helpful but insufficient for the complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% for the two ID parameters, so the baseline is 3. The description adds genuinely new information by clarifying that the asset version and the specific assets are not parameters but are read from the asset content itself, which tells the agent the two IDs are only scoping fields.

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?

The description names a specific verb+resource: "创建导入资产作业任务" (create an asset import job task), which is clearly distinct from siblings like roma__ExportAsset or roma__DeleteAsset. It does not explicitly name or contrast with those siblings, keeping it below a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied by the verb "导入" (import); there is no statement of when to choose import over export or other asset operations, no prerequisites, and no pointer to roma__CheckAssetJobStatus for following up. The intent is inferable but not stated.

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