Skip to main content
Glama

dataartsstudio__ShowRelationById

Retrieves detailed relationship information by entity ID within a specified DataArts Studio project. Use it to inspect how entities are connected and optionally fetch the latest relationship state.

Instructions

[DATAARTSSTUDIO] 通过ID获取关系详情信息。

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": {
      "id": "<id>",
      "project_id": "<project_id>"
    },
    "name": "dataartsstudio__ShowRelationById"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes实体ID,ID字符串。
latestNo是否查询最新的。
project_idYes项目ID,获取方法请参见[项目ID和账号ID](projectid_accountid.xml)。

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 burden of behavioral disclosure, yet it says nothing about permissions, whether the read is scoped to a project, what happens with an invalid or missing ID, or how the 'latest' flag changes results. The read-only nature is only implied by the verb '获取'. This leaves most behavioral questions unanswered for a tool with no structured hints.

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?

It is a single short sentence with zero redundancy and the key action is front-loaded. But the brevity is achieved by omission rather than precision, so it reads as under-specified rather than efficient.

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?

With no annotations, no output schema, and no explanation of what a 'relation' entity is or what fields a detail response contains, the definition is too thin for an agent to predict results or verify correct invocation. The presence of an optional 'latest' query flag that is never explained is a further completeness gap.

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%, and the schema documents all three parameters (id, project_id, latest) including how to obtain project_id. The description adds nothing beyond the schema, so the baseline of 3 applies; notably the semantics of 'latest' are not clarified here.

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 gives a verb ('获取' / get) and a resource ('关系详情信息' / relation detail), so the basic operation is identifiable. However, it essentially restates the tool name ShowRelationById and offers no differentiation from the many sibling Show*ById tools (ShowPathById, ShowConditionById, etc.) that presumably follow the same pattern. An agent cannot tell what a 'relation' is here versus other entity types from this text alone.

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 any alternative, no prerequisites, and no exclusions. The only implicit signal is 'by ID', which merely reflects the required id parameter in the schema. An agent must infer all usage context 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