Skip to main content
Glama
Scofield81

Ubuntu Control MCP

by Scofield81

host_add

Idempotent

Add a new remote host to the configuration and save it to the config file. Specify SSH details and reference environment variable names for passwords, avoiding plaintext credentials.

Instructions

Uj tavoli gep hozzaadasa a konfiguraciohoz es mentese a config fajlba.

A jelszot NEM ide adod meg: a 'password_env' / 'sudo_password_env' mezobe egy kornyezeti valtozo NEVET irsz, amit a szerver kornyezeteben beallitasz.

Args: params (HostAddInput): name, hostname, username, port, key_path, password_env, sudo_password_env, description.

Returns: str: Megerosites + a mentett (titok nelkuli) rekord.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

The description adds behavioral context beyond annotations: it persists data to a config file, returns a secret-free record, and explains the environment-variable password mechanism. Annotations already cover idempotency and non-destructiveness, so no contradiction exists.

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 concise and well-structured: a short purpose statement, a key warning about passwords, a compact argument list, and a return value description. Every section adds value and is front-loaded with the most important usage constraint.

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?

For a persistent configuration mutation with one nested parameter object, the description covers purpose, persistence, secret handling, and return type. The output schema is present, and annotations cover idempotency and destructiveness. Nothing essential is missing for correct invocation.

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 for the top-level parameter is 0%, but the description compensates by enumerating all fields in HostAddInput. It adds critical semantic meaning, especially that password_env and sudo_password_env should contain environment variable names, not passwords. The individual property descriptions in the schema provide additional detail.

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 states a specific verb and resource: adding a new remote host to the configuration and saving it to the config file. This clearly distinguishes host_add from sibling tools like host_remove, host_list, host_test, and host_run, which serve different purposes.

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 clearly indicates when to use the tool: when adding a new remote machine to the config. It also gives important usage guidance about not putting the actual password in password_env/sudo_password_env, only the name of an environment variable. It does not explicitly discuss alternatives or exclusions, but the context is clear.

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