Skip to main content
Glama

get_adr_relationships

Read-onlyIdempotent

Retrieve an ADR's declared supersession and dependency relationships, or inspect all ADRs, without inferring missing links. Use it to validate architecture decision connections and gaps.

Instructions

Returns declared ADR supersession and dependency relationships without inferring missing edges.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_adr_relationships"
  }
}

Input Schema

NameRequiredDescriptionDefault
identifierNoOptional stable ID, numeric ID, or safe ADR path. Omit to inspect all ADRs.

Output Schema

NameRequiredDescriptionDefault
issuesYes
relationshipsYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.9/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 safety is covered. The description adds a genuinely useful non-obvious trait beyond that: results are limited to explicitly declared edges and missing links are NOT synthesized, which prevents an agent from mistaking an empty result for 'no relationship exists'.

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?

A single front-loaded sentence: verb, resource, relationship types, and the key constraint all appear before any padding. Nothing is redundant and nothing needs trimming.

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?

An output schema exists so return values need no explanation, annotations carry the safety profile, and the one optional parameter is fully documented in the schema. Given that low complexity, the description covers everything an agent needs to call it correctly, with the 'declared only' caveat being the one subtlety that matters.

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 100% and the sole parameter is fully documented in the schema, including the 'omit to inspect all ADRs' semantics. The description adds no meaning about the identifier (accepted ID forms, path handling) beyond what the schema already supplies, so baseline 3 applies.

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 ('Returns declared ADR supersession and dependency relationships') and narrows scope with 'without inferring missing edges'. It is distinguishable from get_adr (single record) and analyze_impact (inference/computation), though it never names an alternative explicitly.

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 phrase 'without inferring missing edges' implicitly routes inference work elsewhere, but the description never says when to call this versus analyze_impact or get_adr, nor does it state any prerequisite (e.g. that the ADRs must already declare these links).

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