Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

MCP Tool Reference

This page documents the tools exposed by gdm-flow-mcp-server.

Solver And Matrix Tools

opf_calculate_ybus

Build phase-domain Y-bus matrix metadata from a DistributionSystem JSON.

Key inputs:

Returns:

opf_run_ac

Run AC OPF from component-derived specs.

Key inputs:

Returns:

opf_run_dc

Run DC OPF from component-derived demand and generators.

Key inputs:

Returns:

opf_run_lindistflow

Run LinDistFlow using component-derived net injections.

Key inputs:

Returns:

opf_compare_solvers

Run AC OPF, DC OPF, and LinDistFlow and return side-by-side summary.

Key inputs:

Returns:

opf_export_sqlite

Run selected solvers and export results to SQLite.

Key inputs:

Returns:

Documentation And API Tools

list_opf_documentation

List documentation files under docs/ (.md, .ipynb, excluding build artifacts).

search_opf_documentation

Search docs text and return snippets.

Key inputs:

get_opf_documentation_page

Read a docs page by path relative to docs/.

Key inputs:

list_opf_api_symbols

List public symbols exported by gdm_flow.__all__.

get_opf_api_reference

Get module, signature, and docstring for a public API symbol.

Key inputs: