cgis_overview
Get an overview of an unfamiliar code graph: symbol counts, edge totals, unresolved-edge ratio, and largest packages in production and tests. Returns prefixes to query structure, symbols, or metrics.
Instructions
Where to start in a graph you know nothing about: sizes and a package map.
Call this first in an unfamiliar repository — every other tool needs a name,
and this is the one that hands you some. Returns JSON: symbol counts by type,
file and edge totals, the unresolved-edge ratio, and the largest packages with
production and tests listed separately. Each ``prefix`` goes straight into
``cgis_get_structure`` (the modules it holds), ``cgis_find_symbol``
(``fqn_prefix``) or ``cgis_metrics`` (``scope``).
Listings are capped; ``packages_omitted`` appears when rows were cut. Entry
points are deliberately not reported — "nothing calls it" is not one on a
framework codebase, where most handlers have no incoming call edge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | FQN segments per package prefix; 1 is the top level. | |
| limit | No | Maximum packages listed per section. | |
| db_path | No | SQLite graph built by cgis_ingest. A relative path resolves against the MCP server's working directory, not the agent's — prefer an absolute path. | graph.db |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |