Skip to main content
Glama
uniwire-dev

uniwire

Official

Check an electrical installation (NF C 15-100, IEC 60364)

check
Read-onlyIdempotent

Validate electrical installation documents against NF C 15-100, Enedis, IEC 60364, or PLC rules; get findings and viewer/PDF links.

Instructions

Check an electrical installation (single-line diagram, panel, schéma unifilaire, tableau électrique): validates the document, then applies the rule profiles (NF C 15-100 'nfc15100', French grid connection 'enedis', IEC 60364 'iec60364', PLC; default: the document's 'profiles'; 'core' always applies): breaker ratings against cable sections, RCDs, circuits per protection, selectivity... Returns findings (level error/warning/info, rule, node id, message, source), a summary, 'scope' (what the checks cover and do not cover: automatic checks of the document data, not a conformity certificate), viewer_url (the document in the uniwire web editor: drawing, findings, downloads) and pdf_url (the PDF drawn by uniwire).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
documentYesThe uniwire document of the electrical installation: a JSON object, or its JSON text, as returned by get_example, apply_patch or normalize (a file path is accepted when the server runs locally).
profilesNoRule profiles to apply, e.g. ['nfc15100', 'enedis'] (France) or ['iec60364']; default: the 'profiles' of the document. 'core' always applies.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3-dev
    • addedInput schema / properties / document / description
      Added value: +"The uniwire document of the electrical installation: a JSON object, or its JSON text, as returned by get_example, apply_patch or normalize (a file path is accepted when the server runs locally)."
    • addedInput schema / properties / profiles / description
      Added value: +"Rule profiles to apply, e.g. ['nfc15100', 'enedis'] (France) or ['iec60364']; default: the 'profiles' of the document. 'core' always applies."
  2. First observedv0.1.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/non-destructive, so the safety profile is covered. The description adds genuinely useful context beyond that: the finding shape (level, rule, node id, message, source), the returned viewer_url/pdf_url, and the important caveat that 'scope' means automatic document-data checks, not a conformity certificate.

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?

Front-loaded with the verb and resource, then the rule application, then the return shape — a sensible order. It is somewhat dense with parenthetical enumerations ('schéma unifilaire, tableau électrique') and repeats the profile identifiers already in the schema, which costs a little efficiency but does not obscure the point.

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?

Given an output schema exists, the description need not detail return values, yet it usefully characterises the findings, scope caveat, and URLs. It is complete enough to call correctly (accepted document forms, profile defaults), with the only real gap being no relationship to the sibling 'validate' tool.

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 100%, so the schema already documents both parameters. The description's profile details ('nfc15100', 'enedis', 'iec60364', default behaviour, 'core' always applies) largely duplicate the schema's own wording, so the added meaning over structured data is marginal — baseline 3 is appropriate.

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?

States a concrete verb (check/validate) and resource (an electrical installation document: single-line diagram, panel, schéma unifilaire, tableau électrique) and names the rule profiles applied. It is clear what the tool does, but it never distinguishes itself from the sibling 'validate' tool, which sounds like an overlapping validation step.

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?

It explains profile defaults ('default: the document's profiles', 'core always applies') and clarifies scope, which implies the tool's place in the workflow after get_example/apply_patch/normalize. However, it gives no explicit when-to-use guidance or contrast with the sibling 'validate', so the choice between the two is left to inference.

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