Skip to main content
Glama

scl_validate

Checks SCL files for referential integrity issues that cause commissioning failures, such as missing datasets and duplicate IPs, and optionally validates against an XSD schema.

Instructions

Validate an SCL file's internal consistency, and optionally against an XSD schema.

The default check is referential integrity, which is what actually breaks commissioning: control blocks pointing at missing datasets, dataset members pointing at missing logical nodes, Communication entries for IEDs that are not in the file, duplicate IPs / GOOSE APPIDs / MACs, duplicate names, empty datasets, report blocks with no trigger.

xsd_path is optional. The IEC 61850-6 schema is a licensed IEC deliverable and is not bundled with this server (nor shipped with PCM600), so supply your own copy if you want schema validation as well. Schema validation only catches syntax — it will not find any of the referential problems above.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
xsd_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It does explain that default is referential integrity and that schema validation is syntax-only, which is genuinely useful behavioral context. However, it doesn't disclose what the output/return format looks like, whether it modifies anything (it doesn't say it's a read-only operation), or error-handling behavior. The behavioral traits described are meaningful but incomplete.

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 well-structured and front-loaded: the first sentence gives the core purpose, then it enumerates what the default check catches (useful detail), then handles the optional parameter. Every sentence earns its place. It's slightly longer than strictly necessary but the enumeration of referential issues provides real value for understanding scope. A minor deduction for the length of the issue list.

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

Completeness4/5

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

The tool has an output schema that presumably describes the validation results, so return format is handled there. The description covers the key decision point (xsd_path optional), clearly distinguishes referential vs schema validation, and its sibling differentiation is strong. It's reasonably complete for a validation tool with an output schema, though it could briefly note expected file format or that it takes an SCD/SCL file on disk.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It does add substantial meaning for 'xsd_path' (that it's optional, must be user-supplied, what it's used for). However, the single required parameter 'path' gets no semantic explanation — the agent must infer it's the SCL file path. Given 0% coverage, the baseline would be low, but the description's handling of xsd_path partially compensates while the primary 'path' param remains under-explained.

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

Purpose5/5

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

The description clearly states the tool 'validates an SCL file's internal consistency, and optionally against an XSD schema.' It goes further to specify the exact scope ('referential integrity') and enumerates what that check catches: control blocks pointing at missing datasets, duplicate IPs, empty datasets, etc. This is a specific verb+resource with detail that distills the purpose from siblings like scl_check_goose_bindings.

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

Usage Guidelines5/5

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

The description explicitly explains that xsd_path is optional and provides strong when-to-use guidance: it warns that schema validation only catches syntax and will NOT find referential problems, steering agents toward using referential integrity as the primary/default check. It also explains the licensing situation (schema not bundled) so agents know they must supply their own copy. This gives clear usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/controlLogix/PCM600-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server