Skip to main content
Glama

Validate an OPC UA model

opcua_model_validate
Read-onlyIdempotent

Validate an OPC UA YAML model for correctness. Returns diagnostics with severity (error/warning/info), codes, messages, and line numbers. Works without an API key (limited to 50 calls/day). ALWAYS validate before generating.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yamlYesThe full YAML model source to validate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare readOnlyHint, openWorldHint, and idempotentHint, and the description adds valuable behavioral context beyond them: the exact diagnostic output shape (severity, codes, messages, line numbers) and the API-key-free rate limit. This fully covers what an agent needs to know about the call's behavior.

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?

Three concise sentences, each with purpose: what it does, what it returns, and when to use it. No filler or repetition of schema details.

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

Completeness5/5

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

For a single-parameter validation tool with no output schema, the description adequately compensates by explaining the return structure (errors/warnings/info, codes, messages, line numbers) and the mandatory usage order relative to generation. An agent has enough context to invoke it correctly.

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?

The schema already documents the single 'yaml' parameter at 100% coverage ('The full YAML model source to validate'). The description adds no new parameter semantics, but none are needed; baseline 3 is appropriate.

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 (validate), resource (OPC UA YAML model), and purpose (correctness), and clearly distinguishes from sibling generation/reversal tools. The 'ALWAYS validate before generating' instruction further clarifies its role in the workflow.

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?

Explicitly instructs when to use the tool ('ALWAYS validate before generating'), and provides operational context (works without an API key, 50 calls/day limit). This gives an agent clear selection and ordering guidance relative to generation siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.