Skip to main content
Glama
apexsotjo-blip

RemoteConnect MCP Server

validate_xml

Validate Control Expert XML against the installed XSD grammar to catch structural and LD semantic errors before import, returning validity, root, schema, and error details.

Instructions

Validate candidate Control Expert exchange XML against the installed XSD grammar (the authoritative SrcXmlSchema) BEFORE import_xml / build_project.

Catches structural errors (unknown elements, bad attribute enumerations, wrong ordering) instantly — far faster than the import+build round-trip — and steers authoring toward the full legal element set. Returns {valid, root, schema, errors}. For LD documents it additionally checks two semantic rules the grammar can't express: per-line cell-count arithmetic (each 's cell-spans must sum to nbColumns) and EBOOL-for-edge rules (P/N contacts and P/N coils need an EBOOL variable). Other semantics (FBD pin geometry, type compatibility) are still caught only by build_project, which remains the final oracle. Set CE_MCP_SCHEMA_DIR to override schema-folder auto-discovery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathNo
xml_contentNo
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does a strong job: it discloses the exact return object {valid, root, schema, errors}, the additional semantic checks for LD documents, the reliance on the installed XSD/SrcXmlSchema, and the CE_MCP_SCHEMA_DIR override. It does not explicitly state read-only/no side effects, but the validate-and-return framing makes the non-destructive nature clear enough.

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?

Five sentences, all information-dense and logically ordered: when to use, what it returns, LD-specific checks, limits, and environment override. No filler; it is only slightly long because the tool genuinely has multiple nuances to convey.

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?

For a validation tool with no annotations and no output schema, it covers the essential context: input target, authoritative grammar, return keys, validation coverage boundaries, and schema-folder override. The only notable gap is the lack of guidance on how to choose or combine file_path versus xml_content.

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 0% and the description provides almost no parameter-level guidance. It never clarifies whether file_path and xml_content are alternatives, whether one is preferred, what happens if both or neither are supplied, or how inline XML content should be structured. The parameter names are self-explanatory, but the description does not compensate for the missing schema documentation.

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?

States a specific verb+resource: validate XML against the installed XSD grammar. It explicitly positions itself BEFORE import_xml/build_project and explains that it catches structural errors instantly while other semantics remain with build_project, so it is clearly distinguishable from the relevant sibling tools.

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?

Tells the agent when to use this tool ('BEFORE import_xml / build_project') and defines its scope: structural errors plus two LD-specific semantic rules. It also explicitly says what it does NOT catch — FBD pin geometry and type compatibility — and names build_project as the final oracle, giving clear routing guidance.

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/apexsotjo-blip/remoteconnect-mcp'

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