Skip to main content
Glama
server-noonien

server-noonien

Official

Create Relations

create_relations

Create multiple new relations between existing entities in the knowledge graph. Duplicate relations are skipped and only added ones are returned.

Instructions

Create multiple new relations between entities in the knowledge graph. Relations should be in active voice. Both endpoints must already exist: one missing name fails the whole call with "Entity with name … not found". A relation that is already present is skipped, so the response lists only the ones added.

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": {
      "relations": "<relations>"
    },
    "name": "create_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
relationsYesThe relations to create, each with its from, to and relationType

Output Schema

NameRequiredDescriptionDefault
relationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.1.3
    • addedInput schema / properties / relations / description
      Added value: +"The relations to create, each with its from, to and relationType"
  2. First observedv1.0.2

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: all-or-nothing failure semantics with the exact error string, dedupe/skip behavior for already-present relations, the response containing only newly added relations, and a style requirement (active voice). Note a mild tension with idempotentHint=false, since skipping existing relations makes repeat calls effectively produce no new output, but this describes input dedupe rather than a contradicting claim about side effects.

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

Conciseness5/5

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

Four short sentences, each carrying distinct operational information: action, style rule, failure mode, duplicate handling. The failure condition and dedupe behavior, the two things an agent most needs, are placed prominently.

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

Completeness5/5

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

For a single-array parameter tool with full schema coverage, annotations, and an output schema, the description covers everything an agent needs: existence preconditions, failure behavior, dedupe semantics, and style. Return value handling is correctly left to the output schema apart from a one-clause note on what gets listed.

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%, so the baseline is 3; the description earns more by clarifying that 'from'/'to' values are entity names that must resolve to existing entities, which is operational meaning the schema does not convey. It also constrains relationType to active-voice phrasing.

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?

States a specific verb and resource: batch-creating relations between entities in the knowledge graph, with the batch nature front-loaded ('multiple new relations'). It does not explicitly distinguish itself from update_relations or delete_relations, so differentiation from siblings is only implied by 'new'.

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?

Gives concrete preconditions for use: both endpoint entities must already exist and the whole call fails on a single missing name, plus the fact that duplicates are skipped. It stops short of naming an alternative (e.g. update_relations) or stating when not to use it.

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