Skip to main content
Glama
jpsalamanca-co

OpenDSS MCP Server

opendss_compile_file

Idempotent

Compile an OpenDSS .dss file, run a snapshot power flow, and get convergence, element counts, and total losses.

Instructions

Compile an OpenDSS model from a .dss file on disk and run power flow.

Loads the circuit, solves it in snapshot mode, and returns a summary with convergence status, bus/line/load counts, and total losses.

Args: params: CompileFileInput with dss_path and optional buscoords_path.

Returns: Circuit summary with convergence, counts, and losses.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false, and readOnlyHint=false, so the safety profile is covered. The description adds genuine operational context by stating it solves in snapshot mode and returns convergence/counts/losses, but it says nothing about session state effects (e.g., whether compiling replaces a currently loaded circuit) or failure behavior.

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

Conciseness4/5

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

The description is short, front-loaded with the core action, and uses compact Args/Returns sections with no filler. The Returns block is slightly redundant given an output schema exists, but the overall structure is efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Since an output schema exists, the return summary need not be spelled out, and the core purpose plus main input is covered. However, a mutation-leaning one-parameter tool omits the response_format option and any note on how compiling interacts with existing session state, leaving real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is reported as 0%, so the description carries the full burden, yet it only restates the two obvious fields (dss_path and optional buscoords_path) with no format or path semantics. The third nested parameter, response_format (markdown|json), is never mentioned, leaving an agent unaware of the output-format control.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource: compile an OpenDSS model from a .dss file and run power flow, which is concrete and unambiguous. It implicitly separates itself from the sibling opendss_compile_script via 'from a .dss file on disk', but that differentiation is left for the agent to infer rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the phrase 'from a .dss file on disk', which hints this is the path-based route versus a script-content route, but no alternative tool is named and no when-not condition is given. An agent can guess the context but is not explicitly routed.

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