Skip to main content
Glama

vyos_configure_task_scheduler

Configures a VyOS scheduled task in one commit by bundling an executable with either an interval or crontab specification, avoiding validation errors from split changes.

Instructions

Configure a scheduled task in one commit.

VyOS validators require the executable together with either interval OR crontab-spec in the same commit, so this tool bundles them.

Args: name: Task name. executable_path: Path to the executable to run. interval: Run interval, e.g. "1h" or "30m" (mutually exclusive with crontab_spec). crontab_spec: Crontab specification (mutually exclusive with interval). arguments: Optional arguments passed to the executable. save: Persist after commit (default False).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "<name>",
      "executable_path": "<executable_path>"
    },
    "name": "vyos_configure_task_scheduler"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
saveNo
intervalNo
argumentsNo
crontab_specNo
executable_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does explain the atomic-commit rationale and that save persists after commit (default False), which is genuinely useful. It omits key mutation behavior: whether reusing an existing task name overwrites or errors, and what happens on commit failure.

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?

Front-loaded with the action and the reason for the bundling, then a compact Args block with one line per parameter. Every sentence carries information; nothing is padding.

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?

For a six-parameter mutation tool with no annotations, this covers the essential ground: parameter meaning, exclusivity rules, persistence flag, and the validator constraint driving the design. An output schema exists so return values need no explanation; the remaining gap is overwrite/error semantics on the task name.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: all six parameters get a line, including format examples for interval ("1h", "30m"), the mutual exclusion of interval/crontab_spec, and the default for save. It falls short of giving a crontab_spec example or explaining whether name is a unique key.

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?

States a specific verb and resource ("Configure a scheduled task") plus a distinctive scope detail: it happens "in one commit." The second sentence explains why the tool exists as a bundler, which separates it from the generic vyos_configure_batch sibling, though it never names an alternative explicitly.

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?

Gives a real usage constraint that the schema does not encode: interval and crontab_spec are mutually exclusive, and the VyOS validator requires one of them in the same commit as the executable. It does not cover when to pick this over vyos_configure_batch for multiple tasks, or what happens if neither interval nor crontab_spec is supplied.

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