Skip to main content
Glama
Knuckles-Team

Repository Manager

Seed From Inventory

rm_remote_workers_seed_from_inventory

Seed remote worker registry from an inventory file, optionally overriding the default inventory.yaml path to configure execution hosts.

Instructions

Seed from inventory (rm_remote_workers). Remote worker registry, immutable source staging, and artifact transport.

Composes RMDD-15's repository_manager.remote_execution package with the RMDD-08 CapacityInventory resource ledger. The optional tunnel-manager dependency is never required to import this tool: recheck/live remote dispatch refuse with a named, cause-preserving error when it is absent instead of raising an ImportError. host_loss_reconcile always refuses today: no live WorkItem-authoritative ResourceScheduler is wired into any repository-manager entrypoint yet, and this tool never substitutes a local in-memory reservation ledger for that authority.

Input Schema

NameRequiredDescriptionDefault
kindNoFor receive_artifact: 'artifact' (default) or 'log'.
pathNoFor seed_from_inventory: override the inventory.yaml path (default ~/.config/agent-connectors/inventory.yaml).
rootNoFor receive_artifact: store root.
actorNoFor recheck: the requesting actor.
fenceNoFor host_loss_reconcile.
labelsNoFor register_worker.
originNoFor stage_source: credential-free Git origin.
reasonNoFor host_loss_reconcile, optional.
attemptNoFor host_loss_reconcile.
commandNoFor dispatch_build: the fixed argv to run on the remote host after staging.
host_idNoTarget host id.
workdirNoFor dispatch_build: path relative to the staged worktree root to run 'command' in (default '.', the worktree root itself).
disk_mibNoFor register_worker.
tree_shaNoFor stage_source: the full 40-hex immutable commit SHA.
cpu_weightNoFor register_worker.
media_typeNoFor receive_artifact, optional.
memory_mibNoFor register_worker.
toolchainsNoFor register_worker.
destinationNoFor verify_source.
parent_rootNoFor stage_source: the worker's authorized parent root.
expected_shaNoFor verify_source.
work_item_idNoFor host_loss_reconcile.
process_slotsNoFor register_worker.
relative_pathNoFor receive_artifact.
repository_idNoFor recheck/stage_source/verify_source.
worktree_nameNoFor stage_source.
content_base64NoFor receive_artifact.
reservation_idNoFor host_loss_reconcile.
declared_digestNoFor receive_artifact, optional.
execute_locallyNoFor stage_source: also run+verify the commands via a local executor.
inventory_aliasNoFor register_worker/recheck: the tunnel-manager inventory alias.
timeout_secondsNoFor stage_source/dispatch_build.
repository_rootsNoFor register_worker: repository id -> authorized absolute worktree root.
required_toolchainNoFor recheck.
source_descriptionNoFor receive_artifact.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.5.1

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already disclose the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false), so the bar here is lower. The description does add real, non-obvious behavioral context: an optional tunnel-manager dependency that degrades to a named, cause-preserving error instead of ImportError, and the fact that host_loss_reconcile is permanently non-functional. That is meaningful, but it covers only a slice of the tool's behavior and says nothing about side effects or authorization for the other operations.

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?

The description is short and free of repetition, but it front-loads implementation trivia ('Composes RMDD-15's repository_manager.remote_execution package with the RMDD-08 CapacityInventory resource ledger') that does not help an agent select or call the tool, while omitting the operation set that would. The prose is reasonably tight but the emphasis is misplaced.

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?

This is a complex 35-parameter, zero-required, multi-operation tool with an output schema, so the description need not explain return values. It does, however, need to explain what operations exist and how to select them, which it never does; the operations are only inferable from parameter descriptions. For a tool of this complexity, that is a substantial omission.

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% and every parameter carries a 'For <operation>:' description, so the schema already does the heavy lifting. The description adds no syntax, format, or defaulting detail beyond what the schema provides (e.g., it does not explain how the operation itself is selected). Baseline 3 is appropriate when coverage is this high.

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 opening line 'Seed from inventory (rm_remote_workers)' mostly restates the name/title, and the follow-on 'Remote worker registry, immutable source staging, and artifact transport' is a topic list rather than a specific verb+resource. It never explains what seeding actually does, nor does it distinguish this tool from the many sibling tools it overlaps (rm_remote_workers_register_worker, rm_remote_workers_stage_source, rm_remote_workers_recheck, rm_remote_workers_receive_artifact, rm_remote_workers_dispatch_build, rm_remote_workers_host_loss_reconcile). An agent cannot tell from the description whether this is a distinct operation or a multiplexed superset.

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?

The description gives some when-not behavior (recheck/live remote dispatch refuse without tunnel-manager; host_loss_reconcile always refuses), which is genuinely useful. However, it gives no guidance on when to pick this tool over the numerous dedicated rm_remote_workers_* siblings, and no explanation of how the agent selects among the operations implied by the 35 'For <op>:' parameters. Context is asserted but selection is left entirely to inference.

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

Deploy Server

Other Tools