Skip to main content
Glama

Get concept relations

get_relations
Read-onlyIdempotent

Returns direct broader, narrower, and related links for a canonical DIO/ODI concept. This is not a SPARQL endpoint or a general graph query engine.

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": {
      "identifier": "<identifier>"
    },
    "name": "get_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the description's job is context. It adds real value: results are limited to "direct" links (not transitive closure) and input must be a canonical concept, plus an explicit statement that this is not an open graph query engine. It does not cover behavior for an unknown or non-canonical identifier.

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?

Two sentences, zero filler, with the positive capability stated first and the boundary condition second. Every clause carries information the agent needs.

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?

With no output schema, the description usefully characterizes the return as broader/narrower/related link sets, which is enough to plan around. Gaps remain around identifier format and empty/not-found behavior, but for a single-parameter read tool this is close to complete.

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 coverage is 0% for the single identifier parameter, so the description must compensate. Saying the target is a "canonical DIO/ODI concept" tells the agent the identifier is concept-scoped rather than free text, but it gives no format guidance (IRI, CURIE, or label) and no hint that maxLength is 240, leaving real ambiguity.

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 ("Returns") and resource ("direct broader, narrower, and related links") scoped to "a canonical DIO/ODI concept". The negative clause rules out general graph querying, which sharpens the boundary, though it does not name the sibling get_concept that an agent might confuse this with.

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?

The exclusion of SPARQL/general graph querying implies this is a narrow, single-concept lookup, but there is no explicit when-to-use statement and no named alternative. The agent must infer that it should already have a canonical concept identifier in hand.

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.