Skip to main content
Glama
Enterprise Architect MCP Server

Enterprise Architect MCP Server

by mm6502

ea_get_element

Read-only

Retrieve full details for an Enterprise Architect element by ID, including notes, attributes, operations, diagrams, and constraints, with inline truncation flags and total counts.

Instructions

Get full details of an Enterprise Architect element by its ID, including its Note, attributes, operations, the diagrams it appears on, and its constraints. Attribute multiplicity supports a requiredness inference only when the element uses multiplicities contrastively; read _meta.attributes.multiplicityIsUniform before making that inference — when it is true the element's attributes carry no multiplicity contrast, so a value like 1..1 is not evidence of requiredness. Attributes and operations are capped inline: attributesTruncated/operationsTruncated say whether the returned list is partial, and attributesTotal/operationsTotal give the full counts, so never infer a count from the inline list alone.

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_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
elementIdYesThe Object_ID of the element to retrieve

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

A4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses real behavioral traits: attributes and operations are capped inline, with `attributesTruncated`/`operationsTruncated` and `*Total` counters exposing the partial-list condition, plus a non-obvious semantic pitfall about uniform multiplicities. These are exactly the kinds of caveats an agent would otherwise get wrong, and no annotation carries them.

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 clause, and every subsequent sentence carries non-redundant warning content rather than filler. The second sentence is long and packs three separate caveats into one breath, which slightly hurts scannability but not correctness.

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, the description takes on the burden of describing the return payload, and it does so thoroughly — field inventory, truncation flags, totals, and the meta block. For a single-parameter read tool, nothing an agent needs in order to call it and read the result correctly is missing.

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?

There is a single required parameter with 100% schema description coverage ("The Object_ID of the element to retrieve"), so the schema already does the work. The description adds nothing about the ID's format, source, or what happens if it is unresolvable, so the 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 ("Get full details of an Enterprise Architect element by its ID") and enumerates the returned payload (Note, attributes, operations, diagrams, constraints), which clearly separates it from list/search siblings like ea_list_elements or ea_search. It stops short of naming an alternative sibling explicitly, so it is clear but not fully differentiated.

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 description gives strong guidance on how to interpret results (check `_meta.attributes.multiplicityIsUniform` before a requiredness inference; don't count the inline list when truncated), but it never states when to reach for this tool versus ea_search or ea_get_connectors, nor does it give a prerequisite such as resolving an element ID first. Usage is implied by the tool's role as a detail fetch, not stated.

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