Skip to main content
Glama
mm6502

Enterprise Architect MCP Server

by mm6502

ea_get_connectors

Read-only

Get all connectors for an element, filtered by type and direction. Reveals what it links to, with source and destination roles, for dependency and generalization analysis.

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.

Input Schema

TableJSON 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. First observedv2.1.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the tool readOnly, and the description adds meaningful behavioral detail beyond that: it explains the source/dest orientation rule for Generalization connectors, role fields that remove directional ambiguity, and feature links indicating attached attributes or operations. This materially helps an agent interpret results correctly.

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?

The description is compact yet dense, leading with the core action and then adding only the essential disambiguation rules. Every clause earns its place; there is no filler or repetition of schema details.

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?

With no output schema present, the description compensates by explaining the key output fields (source, dest, role, feature links) and the connector orientation conventions. For a read-only relationship listing with three parameters, this is sufficient for an agent to select and invoke the tool correctly.

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 parameters are already documented. The description adds value by showing how to use direction and connectorType together to achieve specific outcomes, and by clarifying Generalization source/dest semantics. It does not deeply elaborate on elementId, but the schema already defines it as Object_ID.

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 description opens with a specific verb and resource: 'Get all relationships (connectors) for a given element.' It clarifies what a connector entry contains (source, dest, type) and distinguishes this tool from element/package/diagram sibling tools by focusing on relationship traversal rather than element retrieval or search.

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?

The description gives concrete use conditions: filter by connectorType and direction to list direct children via incoming Generalization or direct parents via outgoing Generalization. It cites the 'without a diagram' context, which points to when this tool is preferred, though it does not name a specific sibling alternative to use instead.

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