Skip to main content
Glama

Get machine pool

pools_get
Read-onlyIdempotent

Retrieves a machine pool's configuration and current usage, including provider, default machine settings, CPU, memory, machine-count limits, and idle deletion policy.

Instructions

Returns one machine pool's configuration and current usage: provider, default machine settings, CPU, memory, and machine-count limits, and idle deletion policy.

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": {
      "orgID": "<orgID>",
      "poolID": "<poolID>"
    },
    "name": "pools_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
poolIDYesMachine pool ID (mpo_...).

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
usageNoCurrent quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint.
org_idYes
metadataYes
providerYes
created_atYes
updated_atYes
default_cwdYes
descriptionYes
max_total_cpuYes
management_kindYes
max_machine_cpuYes
min_machine_cpuYes
provider_configYes
max_total_machinesYes
default_machine_cpuYes
default_machine_envYesDefault environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.
max_total_memory_mbYes
max_machine_memory_mbYes
min_machine_memory_mbYes
provider_auth_secret_idNo
default_machine_memory_mbYes
delete_after_idle_minutesYesIdle minutes before deleting a machine from this pool, or null when the pool default is unset.
default_machine_secret_envYesDefault secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.
runtime_protection_enabledYesWhether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.
default_machine_provider_optionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "MachinePoolID": {
      +      "description": "Machine pool ID (mpo_...).",
      +      "pattern": "^mpo_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "MachinePoolUsage": {
      +      "properties": {
      +        "cpu": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "machines": {
      +          "format": "int32",
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "memory_mb": {
      +          "format": "int64",
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "machines",
      +        "cpu",
      +        "memory_mb"
      +      ],
      +      "type": "object"
      +    },
      +    "ManagementKind": {
      +      "description": "Lifecycle owner. Tenant-managed resources can be changed through tenant APIs. Cluster-managed resources are installed and lifecycle-managed by the control plane; individual APIs may explicitly expose tenant-editable settings.",
      +      "enum": [
      +        "tenant",
      +        "cluster"
      +      ],
      +      "type": "string"
      +    },
      +    "Metadata": {
      +      "additionalProperties": {
      +        "maxLength": 512,
      +        "type": "string"
      +      },
      +      "description": "Arbitrary key-value labels stored with the resource.",
      +      "maxProperties": 16,
      +      "propertyNames": {
      +        "maxLength": 64,
      +        "minLength": 1
      +      },
      +      "type": "object"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "SecretID": {
      +      "description": "Secret ID (sec_...).",
      +      "pattern": "^sec_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    }
      +  },
      +  "properties": {
      +    "created_at": {
      +      "$ref": "#/$defs/Timestamp"
      +    },
      +    "default_cwd": {
      +      "type": "string"
      +    },
      +    "default_machine_cpu": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 1,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "default_machine_env": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "description": "Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch.",
      +      "type": "object"
      +    },
      +    "default_machine_memory_mb": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 1,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "default_machine_provider_options": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "default_machine_secret_env": {
      +      "additionalProperties": {
      +        "$ref": "#/$defs/SecretID"
      +      },
      +      "description": "Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied.",
      +      "type": "object"
      +    },
      +    "delete_after_idle_minutes": {
      +      "description": "Idle minutes before deleting a machine from this pool, or null when the pool default is unset.",
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 5,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "description": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "$ref": "#/$defs/MachinePoolID"
      +    },
      +    "management_kind": {
      +      "$ref": "#/$defs/ManagementKind"
      +    },
      +    "max_machine_cpu": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 1,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "max_machine_memory_mb": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 1,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "max_total_cpu": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "max_total_machines": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "max_total_memory_mb": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "metadata": {
      +      "$ref": "#/$defs/Metadata"
      +    },
      +    "min_machine_cpu": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "min_machine_memory_mb": {
      +      "format": "int32",
      +      "maximum": 2147483647,
      +      "minimum": 0,
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "name": {
      +      "$ref": "#/$defs/ResourceName"
      +    },
      +    "org_id": {
      +      "$ref": "#/$defs/OrganizationID"
      +    },
      +    "provider": {
      +      "type": "string"
      +    },
      +    "provider_auth_secret_id": {
      +      "$ref": "#/$defs/SecretID"
      +    },
      +    "provider_config": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "runtime_protection_enabled": {
      +      "description": "Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive.",
      +      "type": "boolean"
      +    },
      +    "updated_at": {
      +      "$ref": "#/$defs/Timestamp"
      +    },
      +    "usage": {
      +      "$ref": "#/$defs/MachinePoolUsage",
      +      "description": "Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint."
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "org_id",
      +    "name",
      +    "management_kind",
      +    "description",
      +    "provider",
      +    "default_machine_cpu",
      +    "default_machine_memory_mb",
      +    "default_machine_env",
      +    "default_machine_secret_env",
      +    "default_machine_provider_options",
      +    "default_cwd",
      +    "provider_config",
      +    "runtime_protection_enabled",
      +    "max_total_machines",
      +    "max_total_cpu",
      +    "max_total_memory_mb",
      +    "min_machine_cpu",
      +    "min_machine_memory_mb",
      +    "max_machine_cpu",
      +    "max_machine_memory_mb",
      +    "delete_after_idle_minutes",
      +    "metadata",
      +    "created_at",
      +    "updated_at"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changedv0.1.1
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / poolID / description
      Added value: +"Machine pool ID (mpo_...)."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description's added value is telling the agent what data comes back (config plus live usage), though it says nothing about not-found or permission-failure behavior.

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?

A single well-formed sentence that leads with the action and resource before listing contents. No filler, no redundancy.

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

Completeness4/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, and both parameters are fully described. Combined with complete annotations, the definition gives an agent everything needed to invoke the tool correctly; only error/not-found expectations are absent.

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% with both orgID and poolID documented including their patterns, so the schema carries parameter meaning. The description adds no additional semantics about how the pool is resolved or scoped beyond the schema baseline.

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: 'Returns one machine pool's configuration and current usage', then enumerates the contents (provider, machine settings, CPU/memory limits, idle deletion policy). The word 'one' plus the poolID requirement implicitly separates it from the list-style sibling pools_list, but no sibling is named explicitly.

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?

There is no when-to-use statement, no exclusion, and no mention of prerequisites or what to do when the pool does not exist. The only usage signal is the implicit 'fetch a single pool by ID' framing.

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