Skip to main content
Glama

Create Object Link

onto_object_create_link

Zwei Objekte ueber einen Link-Typ miteinander verbinden. Ist die Kante mit gleichem linktype, gleichen Endpunkten und gleichem linkvalue schon vorhanden, wird sie NICHT doppelt angelegt: die Antwort enthaelt die vorhandene link_udid und created=false. Neu angelegt: created=true. Ein anderer linkvalue auf demselben Paar legt bei nicht-eindeutigen Typen eine zweite Kante an (Rolle/Gewicht); bei Typen mit is_unique=1 wird er mit HTTP 400 und der vorhandenen link_udid abgelehnt. Verfuegbare Link-Typen zeigt onto_link_index, Werte aendern: onto_object_update_link. | EN: object, record, entry, property, link, search

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": {
      "linktype": "<linktype>",
      "object1_udid": "<object1_udid>",
      "object2_udid": "<object2_udid>"
    },
    "name": "onto_object_create_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
linktypeYesLinktyp-Name
scope_idNoScope-ID
linkvalueNoLink-Wert
object1_udidYesObjekt1-udid
object2_udidYesObjekt2-udid
linkvalue_freeNoFreitext-Wert

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With annotations covering only the safety profile, the description carries real behavioral weight: it discloses deduplication semantics, the created=true/false flag, the returned link_udid, and the HTTP 400 rejection with the existing link_udid on is_unique=1 types. One tension worth noting is that the dedupe behavior for identical parameters reads as idempotent while idempotentHint is false, though the alternative-linkvalue and unique-type rejection cases mean the tool is not generally repeat-safe, so this is not a hard contradiction.

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?

The description is dense but front-loaded: creation, then dedupe outcome, then the two divergent linkvalue cases, then pointers to sibling tools. Every sentence about edge behavior earns its place, though the German-only body with a trailing English keyword list ('object, record, entry, property, link, search') adds some noise and makes the definition less accessible to non-German readers.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter mutation tool with no output schema, the description covers the important outcomes (created flag, link_udid, error path) and the main identity rules for edge creation. What is missing is minor: the meaning of scope_id and linkvalue_free, and what happens on invalid endpoint UDIDs or unknown linktype names.

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 already 100%, so the baseline would be 3, but the description adds genuine meaning: linkvalue is explained as a role/weight discriminator whose effect depends on whether the linktype is unique, and linktype is tied to the onto_link_index catalog. scope_id and linkvalue_free remain unexplained beyond the schema's short labels.

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

Purpose5/5

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

The opening sentence names a specific verb and resource ('Zwei Objekte ueber einen Link-Typ miteinander verbinden'), which unambiguously identifies a create-link operation. It also differentiates neighbouring operations by pointing at onto_link_index for available link types and onto_object_update_link for changing values, so an agent can position this tool against siblings without opening the schema.

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

Usage Guidelines4/5

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

Usage context is explicit: it states that existing identical edges are not duplicated, that linkvalue drives a second edge for non-unique types, and that unique types reject with HTTP 400. It also routes to onto_link_index and onto_object_update_link for adjacent tasks, though it does not explicitly say when not to use this tool (for example, when a link should be replaced rather than added).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.