Skip to main content
Glama
TsvetanG2

cognigy-ai-mcp-management-server

train_intents

Triggers NLU model training for a Cognigy flow. Supports full or quick retraining, with dry-run validation and asynchronous polling until completion.

Instructions

Trains the NLU model for a Cognigy.AI flow. MUTATING: This triggers model training. Use dryRun=true (default) to validate first. Training is async - this tool polls until completion or timeout.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoTraining mode: 'full' for complete retraining, 'quick' for incremental updatesfull
dryRunNoIf true (default), validates without training. Set to false to actually train.
flowIdYesThe flow ID to train intents for
localeIdNoSpecific locale to train. If omitted, trains all locales.
timeoutMsNoMaximum time to wait for training to complete (5-300 seconds, default 60)
pollIntervalMsNoHow often to check task status (1-10 seconds, default 2)
Behavior4/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds that training is mutating and async with polling, which provides valuable behavioral context beyond the annotations. It warns about the mutating nature, helping the agent understand 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?

The description is only three sentences, front-loaded with the core purpose. Every sentence adds value: 'Trains the NLU model' (purpose), 'MUTATING: ...' (behavior), 'Use dryRun=true...' (guidance), 'Training is async...' (behavior). No extraneous words.

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 no output schema, the description covers essential aspects: purpose, mutating effect, dry-run recommendation, and async polling. It does not detail the return structure, but the polling behavior is explained. The tool is moderately complex with 6 params, and the description is sufficiently complete for correct invocation.

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 all parameters are documented. The description emphasizes using dryRun for validation, which reinforces the schema's default. However, it does not add new semantic information beyond what the schema already provides, so the baseline score of 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?

The description clearly states the tool trains the NLU model for a Cognigy.AI flow, using the verb 'trains' and specifying 'NLU model' and 'flow'. This distinct purpose sets it apart from sibling tools like 'run_regression' or 'audit_nlu', which have different objectives.

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 advises using dryRun=true (the default) to validate before actual training, which is a clear usage guideline. It does not explicitly list alternatives or when not to use, but the tool is unique among siblings for training, so guidance is adequate.

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/TsvetanG2/cognigy-ai-mcp-management-server'

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