Read tools
archidocs mcp serves 33 tools. These 18 read the Model and never change it. Each also takes at, a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone), to answer from the Model as it was then. On a checkout, any git ref works too.
Every result is structuredContent plus a compact Markdown copy. A call that fails returns isError with {code, message, suggestions?}: see Error codes.
| Tool | What it does |
|---|---|
get_workspace_info |
Where this server reads the Workspace from, the commit it reflects, whether write tools are allowed, and how big the Model is. |
get_element |
One Element by qualified id (project:id): its fields, Owner Team, parent and children, the Relationships declared on it in and out, the edges derived onto it from its descendants’, a Service’s Deployments with their URLs, the Dynamic Views it takes part in (as a participant, or as the broker of an event Step), the ADRs linking it or its descendants (as list_adrs gives them), and the file and line it is declared at. |
search_elements |
Find Elements whose qualified id or name contains the query, or the Service behind a URL or host (a Deployment’s url or an endpoint; a longer URL below one also matches). |
get_deployments |
Where a Service runs: each Deployment’s Environment, its full Deployment Target chain (outermost first), main url, named endpoints and instances (a count, or {min, max} for autoscale). |
list_teams |
Every Team defined in the Workspace, with how many Elements each owns. |
list_environments |
Every Environment defined in the Workspace. |
list_views |
The Generated Views: c1 and c2 (the Landscapes), c2/<system> and c3/<service> (Services with Components); then the Saved Views (project:view-id), structural ones listed under their level and Dynamic Views under dynamic. |
get_view |
One View by id (c1, c2, c2/<system>, c3/<service>, deployment/<environment>, or a Saved View’s project:view-id) as nodes and edges. |
find_paths |
How two Elements are connected: the Relationships directly between them both ways, declared or derived from their descendants’ (each derived edge lists the declared Relationships beneath it), and the shortest paths each way up to max_hops, each hop with its Relationships. |
get_impact |
Who an outage of an Element affects: the transitive upstream (what depends on it) or downstream (what it depends on) set, grouped by distance, with each Element’s Owner and the Relationships that carry the impact from the ring before. |
list_gaps |
What the Model leaves empty, grouped by Project and Owner Team: an Element’s description; a Service’s or Component’s technology; for a Service you run (type: app, not external) its repository, its deployments when it has none (any non-external Service), and api-docs when a non-Person calls it and no links label or Deployment endpoints name mentions api, openapi or swagger; a Relationship’s description and technology, and an async one’s channel; a Deployment url of a Service you run. |
list_owned |
The Elements and Deployment Targets a Team owns, grouped by kind, each with counts of the other Teams upstream (depending on it) and downstream (it depends on). |
list_adrs |
Architecture decision records, newest first (by date, then number). |
get_adr |
One ADR by id (project:NNNN): its title, status as written and effective status, date, linked Elements, Targets and Saved Views, supersedes and the derived supersededBy, decision-makers, consulted, informed, tags, the full markdown body and its file. |
get_changes |
What changed in the Model between two points in time, each a tag, a commit sha or its first 4 or more characters, or a date (YYYY-MM-DD) or time (ISO 8601, UTC unless it gives a zone) (on a checkout, any git ref too): a flat list of Changes (added, removed or changed), each with the fields that differ and the whole item before and after. |
list_history |
The Revisions (default-branch commits that changed the Workspace), newest first, each with sha, date, subject, author, tags, change counts against the Revision before, and whether its Bundle can be read with at. |
get_guide |
Load an Archidocs agent skill’s full guide, from this version. |
get_authoring_guide |
Deprecated in favour of get_guide, which serves every skill: this returns the same as get_guide("authoring", topic). |
get_workspace_info
Section titled “get_workspace_info”Workspace info: its input, output and an example.
get_element
Section titled “get_element”Get Element: its input, output and an example.
search_elements
Section titled “search_elements”Search Elements: its input, output and an example.
get_deployments
Section titled “get_deployments”Get Deployments: its input, output and an example.
list_teams
Section titled “list_teams”List Teams: its input, output and an example.
list_environments
Section titled “list_environments”List Environments: its input, output and an example.
list_views
Section titled “list_views”List Views: its input, output and an example.
get_view
Section titled “get_view”Get View: its input, output and an example.
find_paths
Section titled “find_paths”Find paths: its input, output and an example.
get_impact
Section titled “get_impact”Get impact: its input, output and an example.
list_gaps
Section titled “list_gaps”List gaps: its input, output and an example.
list_owned
Section titled “list_owned”List owned: its input, output and an example.
list_adrs
Section titled “list_adrs”List ADRs: its input, output and an example.
get_adr
Section titled “get_adr”Get ADR: its input, output and an example.
get_changes
Section titled “get_changes”Get Changes: its input, output and an example.
list_history
Section titled “list_history”List history: its input, output and an example.
get_guide
Section titled “get_guide”Skill guide: its input, output and an example.
get_authoring_guide
Section titled “get_authoring_guide”Authoring guide (deprecated): its input, output and an example.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.