# Missing MCP Tools ## understand.Db Methods (18 total, 6 missing) ### Implemented (12): - ✓ `annotations` → `db_annotations` - ✓ `archs` → `db_archs` - ✓ `ents` → `ents` - ✓ `ent_from_id` → `db_ent_from_id` - ✓ `files` → `db_files` - ✓ `language` → `db_language` - ✓ `lookup` → `lookup` - ✓ `lookup_uniquename` → `lookup_uniquename` - ✓ `metric` → `db_metric` - ✓ `metrics` → `db_metrics` - ✓ `name` → `db_name` - ✓ `root_archs` → `db_root_archs` - ✓ `violations` → `db_violations` ### Missing (6, excluding utility methods): - ❌ `add_annotation_file` - ❌ `comparison_db` - ❌ `draw` - ❌ `lexer` - ❌ `metrics_treemap` - ❌ `relative_file_name` ### Utility/Internal (not needed as MCP tools): - `close` (database lifecycle management) - `lookup_arch` (used internally by arch tools) ## understand.Ent Methods (35 total, 4 missing) ### Implemented (30): - ✓ `annotations` → `ent_annotations` - ✓ `comments` → `ent_comments` - ✓ `contents` → `ent_contents` - ✓ `control_flow_graph` → `ent_control_flow_graph` - ✓ `depends` → `ent_depends` - ✓ `dependsby` → `ent_dependsby` - ✓ `ents` → `ent_ents` - ✓ `file_type` → `ent_file_type` - ✓ `filerefs` → `ent_filerefs` - ✓ `freetext` → `ent_freetext` - ✓ `ib` → `ent_ib` - ✓ `kind().check()` → `ent_kind_check` - ✓ `kindname` → `ent_kindname` - ✓ `language` → `ent_language` - ✓ `library` → `ent_library` - ✓ `longname` → `ent_longname` - ✓ `metric` → `ent_metric` - ✓ `metrics` → `ent_metrics` - ✓ `name` → `ent_name` - ✓ `parameters` → `ent_parameters` - ✓ `parent` → `ent_parent` - ✓ `parsetime` → `ent_parsetime` - ✓ `ref` → `ent_ref` - ✓ `refs` → `ent_refs` - ✓ `relname` → `ent_relname` - ✓ `simplename` → `ent_simplename` - ✓ `type` → `ent_type` - ✓ `uniquename` → `ent_uniquename` - ✓ `value` → `ent_value` - ✓ `violations` → `ent_violations` ### Missing (4, excluding utility methods): - ❌ `add_to_arch` - ❌ `annotate` - ❌ `draw` - ❌ `kind` (only `kind().check()` is implemented) ### Utility/Internal (not needed as MCP tools): - `id` (used as input parameter for all ent tools) - `lexer` (used internally for lexer tools) ## understand.Arch Methods (11 total, 2 missing) ### Implemented (9): - ✓ `children` → `arch_children` - ✓ `contains` → `arch_contains` - ✓ `depends` → `arch_depends` - ✓ `dependsby` → `arch_dependsby` - ✓ `ents` → `arch_ents` - ✓ `metric` → `arch_metric` - ✓ `metrics` → `arch_metrics` - ✓ `name` → `arch_name` - ✓ `parent` → `arch_parent` ### Missing (2): - ❌ `draw` - ❌ `longname` (used internally, not exposed as tool) ## understand.Kind Methods (2 implemented) ### Implemented (2): - ✓ `list_entity` → `kind_list_entity` - ✓ `list_reference` → `kind_list_reference` ## Summary - **understand.Db**: 6 missing methods (excluding utility/internal methods) - **understand.Ent**: 4 missing methods (excluding utility/internal methods) - **understand.Arch**: 2 missing methods (excluding `longname` which is used internally) - **understand.Kind**: 2 methods implemented (static methods) **Total missing: 12 methods** (excluding utility/internal methods)