Skip to main content
Glama

vyos_configure_user

Create or update a VyOS login user in a single commit, setting passwords, SSH public keys, privilege levels, and optional persistence after commit.

Instructions

Create or update a login user in one commit.

Args: username: Login name. plaintext_password: Optional plaintext password (VyOS hashes it on commit). public_keys: Map of key identifier -> {"type": "ssh-ed25519"|"ssh-rsa"|..., "key": ""}. level: Optional privilege level, e.g. "admin" or "operator". 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": {
      "username": "<username>"
    },
    "name": "vyos_configure_user"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
levelNo
usernameYes
public_keysNo
plaintext_passwordNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose two useful behaviors: VyOS hashes the plaintext password on commit, and 'save' persists after commit. It leaves important mutation semantics unstated, notably whether omitting an optional field on update clears it, what happens if the user already exists, and whether removal is possible (a sibling vyos_delete likely covers that).

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?

Front-loaded one-line purpose followed by a per-parameter list, with no filler sentences. The docstring 'Args:' framing is a little verbose compared with inline parameter notes but every line carries information.

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

Completeness3/5

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

For a mutation tool with zero annotations the description covers structure well, and the presence of an output schema removes the need to document return values. It is still incomplete on commit/confirm workflow and on update-vs-create edge cases, which matter most for an upsert against a network device.

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 Args block does the heavy lifting and mostly succeeds: it explains password hashing, spells out the nested public_keys shape (identifier -> {type, key}) that the schema's generic additionalProperties leaves opaque, and gives example privilege levels. Remaining gaps are the valid value set for 'level' and whether username identifies an existing user or renames one.

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: 'Create or update a login user in one commit.' The upsert framing ('create or update') and the login-user scope separate it from configuration siblings such as vyos_configure_ssh, though it does not explicitly say how it relates to those siblings.

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

Usage Guidelines3/5

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

Usage is only implied: 'in one commit' plus the 'save' parameter suggests this is a self-committing upsert, but the description never states prerequisites (does a separate commit/confirm step follow?), nor when to prefer this over vyos_configure_batch or vyos_configure_ssh. An agent can guess the workflow but is not told it.

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