Skip to main content
Glama
Enterprise Architect MCP Server

Enterprise Architect MCP Server

by mm6502

ea_get_schema

Read-only

List an Enterprise Architect model's database tables or inspect a table's columns and indexes to discover data beyond the typed ea_* tools.

Instructions

List the model's database tables in tables, or pass a tableName to get that table's columns and indexes instead. That form echoes the table name and adds rowidAlias — the INTEGER PRIMARY KEY aliasing SQLite's rowid, so the fastest lookup path, or null when the table has none — with rowidNote saying which case applies. Use this to discover what data the model holds beyond what the typed ea_* tools return. See ea_get_model_info for the export's identity.

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": "ea_get_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableNameNoTable name to inspect. Omit to list all tables with row counts.

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.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description goes further by disclosing the actual return keys in each mode (tables vs. columns/indexes, table, rowidAlias, rowidNote) and explaining that rowidAlias is the fastest lookup path or null. That is real behavioral detail beyond the annotations, though row counts and result sizing are left unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and reasonably economical, but the middle sentence packs the rowidAlias/rowidNote explanation into a chain of em-dash clauses that takes a second read to parse. Nothing is wasted, yet the structure could be cleaner for a two-mode tool.

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?

There is no output schema, so the description must carry return semantics, and it largely does by enumerating the keys per mode and defining the non-obvious rowidAlias field. Minor gaps remain on output volume and whether a large model returns everything at once.

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, but the description adds genuine meaning: passing tableName switches to a different response shape and different keys rather than merely filtering. This tells the agent the parameter's consequence, not just its type.

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 (list the model's database tables) plus a second mode (pass tableName to get that table's columns and indexes), and explicitly differentiates itself from the typed ea_* tools and from ea_get_model_info. An agent can tell what this returns without opening the 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?

"Use this to discover what data the model holds beyond what the typed ea_* tools return" gives a clear selection rule versus the siblings, and ea_get_model_info is named as the identity-lookup alternative. It stops short of stating when-not-to-use conditions, but the context is unambiguous.

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