Skip to main content
Glama

Environments Attach Machine

environments_attach_machine
Destructive

Add a machine to a costing environment so calculations in it can plan on it: one of your machines, a machine-library entry, or a new machine defined inline, with optional rate and capability overrides.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
env_idYes
valid_toNoISO date (YYYY-MM-DD) the membership ends; defaults to the machine's own valid_to.
is_enabledNoWhether the machine is active in the environment's fleet on attach.
machine_idNoIdentifier of an existing machine to attach; mutually exclusive with new_machine.
valid_fromNoISO date (YYYY-MM-DD) the membership starts; defaults to the machine's own valid_from.
new_machineNoInline definition of a new machine to create and attach; mutually exclusive with machine_id.
name_overrideNoOptional name for the instantiated machine; defaults to the library entry's name.
fleet_priorityNoOrders machines within the environment; lower values are tried first.
library_entry_idNoInstantiate a machine from this shared/tenant library entry; mutually exclusive with machine_id / new_machine.
capability_overridesNoSparse per-environment capability overrides merged over the library defaults.
hourly_rate_override_eurNoOptional flat machine-hour rate; defaults to the library entry's nominal rate.
rate_operator_eur_per_h_overrideNoOperator wage already contained in hourly_rate_override_eur, in EUR per hour. Only meaningful with a rate override; without one the library entry's own declaration is inherited along with its rate. 0 means the rate is machine-only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources