Skip to main content
Glama

models-validate

models-validate

Validate a CMMN model for errors like orphan references, event type mismatches, duplicate sentries, and more before publishing. Returns a report with errors, warnings, and info.

Instructions

Validates a model for errors before publishing. Checks: orphan references, event type mismatches, duplicate sentries, stages without milestones, sequence order conflicts, ungated tasks, empty stages, disconnected milestones. Returns {errors, warnings, info} report. Call this before models-publish.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
model_idYesModel ID (@rid format)
Behavior5/5

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

With no annotations, the description fully discloses behavior: lists the validation checks and specifies return format {errors, warnings, info}. No hidden side effects.

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?

Two sentences, no fluff: first states purpose and checks, second covers return and usage. Information is front-loaded and each sentence adds value.

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?

Covers all needed context: purpose, validation scope, output structure, and invocation order relative to publish. Adequate for a single-parameter tool with no output schema.

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% and the description does not add extra meaning beyond the schema-provided 'Model ID (@rid format)'. No format examples or constraints added.

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 tool validates a model for errors before publishing, specifies the exact checks performed (orphan references, etc.), and positions it relative to the sibling tool 'models-publish'.

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?

Includes explicit directive 'Call this before models-publish', giving clear when-to-use guidance and distinguishing from the publish step.

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/mstang/casemgr-mcp'

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