Skip to main content
Glama

Mesh Bootstrap

tm_inventory_mesh_bootstrap

Bootstrap mesh inventory by running bulk commands or file operations across YAML host groups, with optional single-host targeting and preview scope resolution.

Instructions

Mesh bootstrap (tm_inventory). Bulk inventory operations against YAML host groups.

Input Schema

NameRequiredDescriptionDefault
cfgNoLocal SSH config path (copy_ssh_config).
cmdNoShell command (run_command).
keyNoShared key path (configure_key_auth)./app/.ssh/id_ed25519
hostNorun_command only. Optional single-host alias to target instead of the whole 'group' fan-out — the safe way to reach ONE inventory host (e.g. 'gb10') without running against 'homelab'. Resolved and authorized through the same alias store tm_remote/tm_hosts use, so the two are one source of truth: an unknown or unauthorized alias is rejected outright, never silently skipped. Takes precedence over 'group' when set.
groupNoTarget group.all
lpathNoLocal file path (send_file).
rpathNoRemote file path (send_file/receive_file).
key_pfxNoPrefix for new keys (rotate_key)./root/.ssh/id_
previewNorun_command only. If true, resolve the exact target host(s) for 'host'/'group' and return them in 'resolved_hosts' WITHOUT running 'cmd' — lets a caller verify scope before executing for real (no surprise fan-out). The real (non-preview) response also always includes 'resolved_hosts' for the same reason.
rmt_cfgNoRemote config path (copy_ssh_config)./root/.ssh/config
timeoutNoCommand timeout in seconds.
key_typeNoKey type: rsa or ed25519.ed25519
parallelNoRun parallel.
inventoryNoYAML inventory path (default: $XDG_CONFIG_HOME/agent-connectors/inventory.yaml)./root/.config/agent-connectors/inventory.yml
max_threadsNoMax threads.
lpath_prefixNoLocal dir prefix (receive_file).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv3.3.1

TDQS

C2.3/5.0
Behavior2/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, so the description still needs to explain what actually mutates. It does not: nothing indicates that setting 'key_pfx' creates new keypairs (rotate_key), that 'cfg'/'rmt_cfg' rewrite remote SSH config, or that 'preview' is the only safe dry-run. The schema carries this information, not the description.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler and no buried content, so it is efficient in form. But 'appropriately sized' is not met: a 16-parameter, six-mode dispatch tool compressed to one sentence of noun phrase leaves the reader less informed than the name plus schema alone.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but the description still omits the operation-selection logic, the fan-out scope, and the fact that multiple behaviors live behind one entry point. For a zero-required-parameter tool where the caller must set the right combination to get a given operation, that is a material gap.

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 description coverage is 100%, so the schema already documents all 16 parameters, including host precedence, preview semantics, and resolved_hosts. The description adds no parameter meaning at all – not even which parameter selects which operation – so it sits at the baseline for fully documented schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Bulk inventory operations against YAML host groups', which is a vague restatement of the name rather than a specific verb+resource. The tool actually dispatches six distinct operations (run_command, send_file, receive_file, copy_ssh_config, rotate_key, configure_key_auth), but none of them are named, so an agent cannot tell what this does apart from tm_inventory_run_command or tm_inventory_send_file.

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

Usage Guidelines2/5

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

No when-to-use, when-not-to-use, or alternative is mentioned, even though the sibling list contains single-operation counterparts for every capability this tool bundles. The only implicit hint is the word 'bulk', which hints at fan-out scope but does not give the agent any rule for choosing this tool over a sibling.

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