Skip to main content
Glama

sa__CreateDataobjectRelation

Creates a relation between a data object and a related dataclass type within a Huawei Cloud SA project and workspace, letting you link records for dependency and association tracking.

Instructions

[SA] Create Dataobject Relation

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": {
      "data_object_id": "<data_object_id>",
      "dataclass_type": "<dataclass_type>",
      "project_id": "<project_id>",
      "related_dataclass_type": "<related_dataclass_type>",
      "workspace_id": "<workspace_id>"
    },
    "name": "sa__CreateDataobjectRelation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsNosearch ids
project_idYesID of project
workspace_idYesID of workspace
data_object_idYesID of dataobject
dataclass_typeYestype of dataclass
related_dataclass_typeYestype of related dataclass

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.9/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, yet it discloses nothing about side effects, required permissions, duplicate handling, reversibility, or the return value. For a mutation tool with five required path parameters, this is a severe transparency gap.

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

Conciseness2/5

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

The definition is extremely short, but its brevity reflects under-specification rather than efficient communication. It provides no structure, no additional context, and no front-loaded detail beyond a product tag and the tool name.

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?

For a mutation tool with five required parameters, no annotations, and no output schema, the description is wholly inadequate. It leaves the agent without the behavioral context needed to invoke the tool safely or 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?

The input schema has 100% description coverage for all six parameters, including the required project_id, workspace_id, data_object_id, dataclass_type, and related_dataclass_type. The description adds no parameter meaning beyond the schema, so the high schema coverage sets the baseline at 3.

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

Purpose2/5

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

The description is effectively "[SA] Create Dataobject Relation," which restates the tool name and title rather than explaining the operation. It does not clarify what a dataobject relation is, what it connects, or how the result differs from sibling relation tools such as DeleteDataobjectRelation or ListDataobjectRelation.

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, when not to use it, or what alternatives exist among the sibling relation operations. The only implied usage is the bare verb "Create," leaving prerequisites and context to inference.

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