Skip to main content
Glama

validate_xcos_model

Check Xcos model structure and import the diagram using real Scilab/Xcos to detect errors before simulation.

Instructions

Perform structural checks and import the diagram with real Scilab/Xcos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_pathYes
timeout_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It hints at a runtime dependency (a real Scilab/Xcos engine is invoked) and the 120-second default timeout implies a long-running operation, but it never says whether the import has side effects on the model or workspace, what failures look like, or whether permission/runtime availability is required.

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?

A single front-loaded sentence with no filler — the action and the engine are packed in tight. It is arguably too terse for the tool's complexity, but every word earns its place.

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

Completeness2/5

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

An output schema exists, so return values need not be explained. However, for a tool that spins up a real Scilab/Xcos process, the definition omits timeout semantics, import side effects, and routing against the four sibling inspection/simulation tools — the essentials an agent needs to call it correctly are absent.

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%, so neither model_path nor timeout_seconds is documented anywhere. The description mentions neither parameter, so it does not compensate for the coverage gap — an agent gets no clue about accepted path formats or what happens when the timeout is exceeded.

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?

The description states a concrete verb pair (perform structural checks, import the diagram) against a specific resource (an Xcos model) and even names the engine used ('real Scilab/Xcos'). It is clear what the tool does, but it offers no differentiation from the closely named sibling inspect_xcos_model, leaving the agent to guess which one diagnoses vs validates.

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

Usage Guidelines2/5

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

There is no guidance on when to reach for validate_xcos_model versus inspect_xcos_model, simulate_xcos_model, or get_xcos_runtime. The phrase 'import the diagram with real Scilab/Xcos' hints at a heavyweight validation path but never states prerequisites or the conditions that select this tool.

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