Skip to main content
Glama

List machine pools

pools_list
Read-onlyIdempotent

List machine pools for an organization using server-side name filtering, sorting, and cursor pagination to page through results and locate the pools you need.

Instructions

List machine pools with server-side filtering, sorting, and cursor pagination.

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>"
    },
    "name": "pools_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoCase-insensitive glob over the list's logical name. `*` matches zero or more characters, `?` matches one character, and `\` escapes a wildcard.
sortNoField to sort by; prefix with - for descending order. Defaults to -created_at (newest first).
limitNoMaximum number of items to return in one page.
orgIDYesOrganization ID (org_...).
cursorNoOpaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Output Schema

NameRequiredDescriptionDefault
dataYes
next_cursorYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.10
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order for named resources that expose created and modified timestamps."New value: +"Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "MachinePool": {
      +      "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"
      +    },
      +    "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": {
      +    "data": {
      +      "items": {
      +        "$ref": "#/$defs/MachinePool"
      +      },
      +      "type": "array"
      +    },
      +    "next_cursor": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "data",
      +    "next_cursor"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds useful behavioral context by noting server-side filtering, sorting, and cursor pagination, but it does not cover auth requirements, rate limits, or response shape.

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 a single front-loaded sentence with no wasted words. It efficiently conveys the core operation and its main behavioral traits.

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?

Given the rich annotations, full schema coverage, and presence of an output schema, the description is nearly complete for a list tool. It could mention the required orgID scope, but the schema already covers that.

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 five parameters in detail. The description mentions filtering, sorting, and pagination at a high level but adds no syntax or format details beyond what the schema provides.

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?

The description states a specific verb and resource: "List machine pools." It is clear what the tool does, but it does not distinguish this tool from siblings such as pools_get or grant_pools_list.

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 no explicit guidance on when to use this tool versus alternatives. It implies listing, but does not state when-not to use it or name a sibling for comparison.

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