Skip to main content
Glama
Enterprise Architect MCP Server

Enterprise Architect MCP Server

by mm6502

ea_get_connectors

Read-only

Retrieve all relationships (connectors) for an element and filter by connector type or direction to identify linked elements, parents, or children without a diagram.

Instructions

Get all relationships (connectors) for a given element. connectors lists what the element is connected to and how (Realisation, Dependency, Association, etc.), each entry naming its source and dest ends. For Generalization connectors, source is always the specific (child) type and dest the general (parent) type — each end also carries a role making this explicit without needing to reason about direction. Filter by connectorType and direction to list an element's direct children (incoming Generalization) or direct parent(s) (outgoing Generalization) without a diagram. Feature links show which specific attribute or operation each end attaches to.

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": {
      "elementId": "<elementId>"
    },
    "name": "ea_get_connectors"
  }
}

Input Schema

NameRequiredDescriptionDefault
directionNoFilter direction: outgoing (element is source), incoming (element is target), or bothboth
elementIdYesThe Object_ID of the element to get connectors for
connectorTypeNoFilter by connector type (e.g., Realisation, Dependency, Association, InformationFlow, Generalization)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv2.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already establish readOnlyHint and openWorldHint=false, so safety is covered. The description usefully discloses the shape of results (each entry names source/dest, role, feature links) and the Generalization source/dest convention, but says nothing about volume, pagination, or behavior when an element has no connectors.

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?

Purpose is front-loaded in the first sentence and each following sentence adds a distinct fact (entry shape, Generalization convention, filtering use case, feature links). It is dense and slightly jargon-heavy for an unfamiliar reader, but no sentence is redundant.

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 correctly takes on the burden of describing return content, and it does so for entry fields and the source/dest/role convention. Gaps remain on result size, ordering, and the empty-result case, but nothing critical to invoking the tool correctly is missing.

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, and the description genuinely adds meaning on top: it explains that direction filters map to parent/child traversal for Generalization and that connectorType narrows the listed relationship kinds. Only elementId is left unpadded, which is fine since the schema documents it.

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?

The first sentence gives a specific verb and resource ('Get all relationships (connectors) for a given element') and the body explains what a connector is. It never names a sibling such as ea_get_element, so the agent must infer the boundary from names alone, keeping it short of a 5.

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?

Concrete usage is spelled out: combine connectorType and direction to list direct children (incoming Generalization) or direct parent(s) (outgoing Generalization) 'without a diagram'. That is real context, but there are no explicit exclusions or named alternatives for the general element-lookup case.

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