Skip to main content
Glama
itential

Itential MCP Server

Official
by itential

run_command_template

Execute command templates on target devices and evaluate output against defined rules for pre-post procedure steps.

Instructions

Execute a command template against specified devices with rule evaluation.

Command Templates are run-time templates that actively pass commands to a list of specified devices during their runtime. After all responses are collected, the output set is evaluated against a set of defined rules. These executed templates are typically used as Pre and Post steps, which are usually separated by a procedure (router upgrade, service migration, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name of the command template to run
devicesYesThe list of devices to run the command template against
projectNoProject that contains the command template

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesCommand template name that was executed
all_pass_flagYesWhether all rules must pass for success (True=all must pass, False=any can pass)
command_resultsYesList of results for each command/device combination
Behavior3/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It explains the operational flow (pass commands, collect responses, evaluate rules), which is useful, but does not disclose potential side effects, permissions required, or failure behavior. It is not misleading but leaves room for interpretation.

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?

The description is reasonably concise, leading with a one-sentence summary followed by a brief explanation of the template concept and typical usage. The two paragraphs are informative without excessive verbosity, though the second paragraph could be tightened.

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?

The tool has moderate complexity (multi-device command execution with rule evaluation) and an output schema exists, so return values don't need explanation. The description gives enough context about the purpose and usage to be workable, but does not cover prerequisites or failure scenarios, which reduces completeness slightly.

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 input schema covers all three parameters with descriptions, giving 100% coverage, so the baseline is 3. The tool description does not add new semantic detail about individual parameters beyond reinforcing the purpose of devices and the template name; it is sufficient but not enhanced.

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 opens with a clear, specific verb and resource ('Execute a command template against specified devices with rule evaluation'), and goes on to explain that these templates are run-time templates that pass commands to devices and evaluate responses against rules. This distinguishes it from sibling tools like run_command and render_template by emphasizing the multi-device and rule-evaluation aspects.

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 states that executed templates are 'typically used as Pre and Post steps' separated by procedures like router upgrades or service migrations, giving concrete usage context. It does not explicitly mention alternative tools or when not to use this tool, but the context is clear enough for an agent to decide.

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/itential/itential-mcp'

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