Skip to main content
Glama
node-opcua

node-opcua-modeler-mcp-server

Official
by node-opcua

opcua_model_generate

Converts a YAML model into OPC UA NodeSet2.xml, Symbols.CSV, and optionally markdown documentation.

Instructions

Generate OPC UA NodeSet2.xml and Symbols.CSV from a YAML model. Requires an API key (set OPCUA_MODELER_API_KEY env var). Returns base64-encoded artifacts if the model is valid, or diagnostics if validation fails. Optionally set include_docs=true to also generate markdown documentation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yamlYesThe full YAML model source to generate from
include_docsNoSet to true to include markdown documentation (slower)
Behavior4/5

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

With no annotations, the description covers key behaviors: requires an API key, returns base64 artifacts on success or diagnostics on failure, and optionally generates documentation. It does not explicitly state whether it is destructive or if other side effects exist, but these are minor omissions.

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

Conciseness5/5

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

The description is extremely concise with three sentences: first states purpose and resources, second mentions prerequisite and return behavior, third adds optional parameter. No unnecessary words or repetition.

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 the tool's low complexity (2 params, no output schema, no annotations), the description covers purpose, prerequisites, return values, and optional behavior. Minor gaps exist such as unclear diagnostic format and lack of mention of side effects, but overall it is mostly complete.

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 coverage is 100%, so the baseline is 3. The description repeats the schema's parameter descriptions almost verbatim, adding no significant new meaning beyond what is already in the input schema for either 'yaml' or 'include_docs'.

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 verb 'Generate' and the specific resources (NodeSet2.xml, Symbols.CSV, optionally markdown docs) from a YAML model, distinguishing it from sibling tools like validation or reverse engineering.

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

Usage Guidelines4/5

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

The description mentions the required API key prerequisite and optional include_docs, providing clear context for when to use this tool, but it does not explicitly state when not to use it or compare to alternatives like opcua_model_create or opcua_model_validate.

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/node-opcua/node-opcua-modeler-mcp-server'

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