Skip to main content
Glama
Enterprise Architect MCP Server

Enterprise Architect MCP Server

by mm6502

ea_resolve

Read-only

Resolve a braced GUID or plain analyst reference to Enterprise Architect model candidates, returning exact and prefix matches with type, ID, path, and GUID; filter by element, diagram, or package.

Instructions

Resolve an analyst reference (braced GUID or plain name) to model candidates: the input is echoed as reference and the hits are in candidates. A braced GUID is matched exactly. A plain name is matched against the full name first; only if nothing matches exactly is the reference retried as a name prefix, which resolves analyst codes like UC_ABC_2079 or OA_ABC_2280 to elements named 'CODE: description'. An exact hit is returned alone and is never diluted by prefix hits. Each candidate reports its type (element, diagram, package), id, name, fullPackagePath, eaGuid, and a match field that is always present with value "guid", "exact", or "prefix" — a "prefix" candidate is an inexact match and must not be treated as a confirmed identity. Use the optional kind filter to narrow results.

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": {
      "reference": "<reference>"
    },
    "name": "ea_resolve"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoFilter candidates to a specific kind
referenceYesThe reference to resolve: a braced GUID like {ABC-123} or a plain name

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.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description goes well beyond that by disclosing the two-stage matching algorithm, the guarantee that an exact hit is returned alone and never diluted by prefix hits, and the meaning of the `match` field ("prefix" is inexact and must not be treated as a confirmed identity). That is exactly the behavioral nuance an agent needs to interpret results safely.

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?

Front-loaded with the most important facts (what goes in, where results land) and each sentence carries information about matching or result interpretation. It is dense and slightly long for a single block, but no sentence is filler.

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?

No output schema exists, so the description appropriately enumerates the returned shape (`reference` echo, `candidates` with `type`, `id`, `name`, `fullPackagePath`, `eaGuid`, `match`). Combined with the annotations covering safety, an agent has everything needed to call and interpret this tool.

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 baseline is 3, but the description adds real meaning: it explains the matching order and syntax differences behind `reference` (braced GUID vs plain name, prefix fallback) and states what `kind` filtering accomplishes, which the enum description alone does not convey.

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?

States a specific verb and resource ("Resolve an analyst reference ... to model candidates") plus the exact input/output field names (`reference`, `candidates`), which lets an agent distinguish it from lookup siblings like ea_get_element or ea_search without opening a schema.

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?

Gives concrete selection rules for the two input forms: a braced GUID is exact-match only, while a plain name hits full name first and falls back to a prefix match that resolves analyst codes like UC_ABC_2079. It also cues the `kind` filter for narrowing, but never contrasts itself with the sibling search/get tools, so an agent must infer when to prefer this over ea_search.

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