Skip to main content
Glama

Start a cloud Mac

start_mac
DestructiveIdempotent

Starts a cloud Mac with macOS, Xcode and the iOS Simulator, at $0.90 an hour from prepaid credit, billed per minute; it is usually ready within a minute (get_mac_session with wait_seconds). It is fully enabled for the agent: no administrator prompts, and the login password is in $NOMAC_MAC_PASSWORD; access opts out. ~/drive is kept between sessions, on one Mac at a time (a second Mac gets its own, named in the answer). Answers insufficient_credit when credit is short, and session_limit_reached while one runs, naming it and who started it. The same request_key returns the same Mac.

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": {
      "request_key": "<request_key>"
    },
    "name": "start_mac"
  }
}

Input Schema

NameRequiredDescriptionDefault
reuseNoWith a drive name: return the running Mac that has it, not drive_in_use.
accessNoOptional, over the account's defaults (fully enabled): prompts ask keeps macOS's usual prompts; permissions grants apps privacy permissions at start, also one built later ({"com.example.App": ["camera"]} or "all"); gatekeeper off or on; drive: none or a drive's name (made if new); drive_from: a drive to copy.
limitsNoOptional caps: max_duration_seconds (60 or more, default 2 hours, no longest), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 5 hours 33 minutes, raise the spend cap too (8 hours is $7.20).
parallelNotrue starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare).
public_keyNoOptional SSH public key (ed25519, RSA 2048+ or P-256), for SSH; exec_mac needs none.
request_keyYesIdempotency key you choose (8-128 letters, digits and - _ . :). Repeat a lost call with the same key and arguments; a new key is new work.
queue_secondsNoWait in line up to this many seconds, free, instead of session_limit_reached or drive_in_use; it starts in its turn.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / limits / description
      Previous value: -"Optional caps: max_duration_seconds (60-28800, default 2 hours), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 5 hours 33 minutes, raise the spend cap too (8 hours is $7.20)."New value: +"Optional caps: max_duration_seconds (60 or more, default 2 hours, no longest), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 5 hours 33 minutes, raise the spend cap too (8 hours is $7.20)."
    • changedInput schema / properties / limits / properties / max_duration_seconds / maximum
      Previous value: -28800New value: +315360000
  2. Changed1 schema field changed
    • addedInput schema / properties / queue_seconds
      Added value: +{
      +  "description": "Wait in line up to this many seconds, free, instead of session_limit_reached or drive_in_use; it starts in its turn.",
      +  "maximum": 3600,
      +  "minimum": 300,
      +  "type": "integer"
      +}
  3. Changed5 schema fields changed
    • changedInput schema / properties / access / description
      Previous value: -"Optional, over the account's defaults (fully enabled): prompts ask keeps macOS's usual prompts; permissions grants apps privacy permissions at start, also one built later ({\"com.example.App\": [\"camera\"]} or \"all\"); gatekeeper off or on; drive none starts without ~/drive."New value: +"Optional, over the account's defaults (fully enabled): prompts ask keeps macOS's usual prompts; permissions grants apps privacy permissions at start, also one built later ({\"com.example.App\": [\"camera\"]} or \"all\"); gatekeeper off or on; drive: none or a drive's name (made if new); drive_from: a drive to copy."
    • removedInput schema / properties / access / properties / drive / enum
      Removed value: -[
      -  "account",
      -  "none"
      -]
    • addedInput schema / properties / access / properties / drive_from
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / parallel / description
      Previous value: -"true starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare), without ~/drive while another has it."New value: +"true starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare)."
    • addedInput schema / properties / reuse
      Added value: +{
      +  "description": "With a drive name: return the running Mac that has it, not drive_in_use.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / parallel / description
      Previous value: -"true starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare), without the account's drive."New value: +"true starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare), without ~/drive while another has it."
  5. Changed1 schema field changed
    • changedInput schema / properties / limits / description
      Previous value: -"Optional caps: max_duration_seconds (60-28800, default 2 hours), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 6 hours 15 minutes, raise the spend cap too (8 hours is $6.40)."New value: +"Optional caps: max_duration_seconds (60-28800, default 2 hours), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 5 hours 33 minutes, raise the spend cap too (8 hours is $7.20)."
  6. Changed8 schema fields changed
    • changedInput schema / properties / access / description
      Previous value: -"Optional, over the account's saved defaults. A Mac is fully enabled for the agent by default (no administrator password prompts; privacy prompts and password dialogs answered on the Mac; a screen that never locks). { prompts: \"ask\" } keeps macOS's usual prompts for this session; { permissions: { \"com.example.App\": [\"camera\", \"microphone\"] } } (or \"all\") grants an app privacy permissions at start, also one built later; gatekeeper off or on asks for Gatekeeper's state (get_mac_session's account.gatekeeper says what the Mac has)."New value: +"Optional, over the account's defaults (fully enabled): prompts ask keeps macOS's usual prompts; permissions grants apps privacy permissions at start, also one built later ({\"com.example.App\": [\"camera\"]} or \"all\"); gatekeeper off or on; drive none starts without ~/drive."
    • changedInput schema / properties / access / properties / permissions / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "all"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "enum": [
      -        "camera",
      -        "microphone",
      -        "contacts",
      -        "calendars",
      -        "reminders",
      -        "photos",
      -        "photos-add",
      -        "media-library",
      -        "speech-recognition",
      -        "bluetooth",
      -        "desktop",
      -        "documents",
      -        "downloads",
      -        "removable-volumes",
      -        "network-volumes"
      -      ],
      -      "type": "string"
      -    },
      -    "maxItems": 15,
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "all"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "enum": [
      +        "camera",
      +        "microphone",
      +        "contacts",
      +        "calendars",
      +        "reminders",
      +        "photos",
      +        "photos-add",
      +        "media-library",
      +        "speech-recognition",
      +        "bluetooth",
      +        "desktop",
      +        "documents",
      +        "downloads",
      +        "removable-volumes",
      +        "network-volumes"
      +      ],
      +      "type": "string"
      +    },
      +    "type": "array"
      +  }
      +]
    • removedInput schema / properties / access / properties / permissions / propertyNames / pattern
      Removed value: -"^[A-Za-z0-9][A-Za-z0-9.-]{0,154}$"
    • changedInput schema / properties / limits / description
      Previous value: -"Optional caps for this session: max_duration_seconds (60-28800), spend_cap_microunits (USD × 1,000,000) and idle_timeout_seconds (60-3600). Defaults: 2 hours, $5, 10 minutes idle. The session stops at whichever cap it reaches first: $5 covers 6 hours 15 minutes, so a session longer than that also needs a higher spend cap (8 hours is $6.40)."New value: +"Optional caps: max_duration_seconds (60-28800, default 2 hours), spend_cap_microunits (USD × 1,000,000, default $5) and idle_timeout_seconds (60-3600, default 10 minutes). It stops at the first it reaches: past 6 hours 15 minutes, raise the spend cap too (8 hours is $6.40)."
    • changedInput schema / properties / parallel / description
      Previous value: -"true starts a second Mac beside the account's running one, for an account that has bought credit, while NoMac has a Mac to spare; it runs without the account's drive. Without it, a start while a Mac runs answers session_limit_reached with that Mac's id, so the agent can use that Mac."New value: +"true starts a second Mac beside the running one (for accounts that bought credit, while NoMac has one to spare), without the account's drive."
    • changedInput schema / properties / public_key / description
      Previous value: -"Optional SSH public key (ed25519, RSA 2048+ or P-256) for direct SSH access. Omit when you only use exec_mac."New value: +"Optional SSH public key (ed25519, RSA 2048+ or P-256), for SSH; exec_mac needs none."
    • removedInput schema / properties / public_key / pattern
      Removed value: -"^(ssh-ed25519|ssh-rsa|ecdsa-sha2-nistp256) [A-Za-z0-9+/]+={0,2}(?: [^\\r\\n\\x00]*)?$"
    • changedInput schema / properties / request_key / description
      Previous value: -"Idempotency key you choose: 8-128 letters, digits, dashes, underscores, dots or colons. Retry a lost response with the same key and identical arguments; use a new key for new work."New value: +"Idempotency key you choose (8-128 letters, digits and - _ . :). Repeat a lost call with the same key and arguments; a new key is new work."
  7. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "The JSON response of the NoMac API for this operation",
      -  "properties": {
      -    "error": {
      -      "additionalProperties": {},
      -      "description": "Present only when the call failed",
      -      "properties": {
      -        "code": {
      -          "description": "Stable machine-readable error code, for example insufficient_credit",
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "What went wrong and what to do next",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  8. Changed1 schema field changed
    • addedInput schema / properties / parallel
      Added value: +{
      +  "description": "true starts a second Mac beside the account's running one, for an account that has bought credit, while NoMac has a Mac to spare; it runs without the account's drive. Without it, a start while a Mac runs answers session_limit_reached with that Mac's id, so the agent can use that Mac.",
      +  "type": "boolean"
      +}
  9. Changed1 schema field changed
    • addedInput schema / properties / access / properties / drive
      Added value: +{
      +  "enum": [
      +    "account",
      +    "none"
      +  ],
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • addedInput schema / properties / access
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Optional, over the account's saved defaults. A Mac is fully enabled for the agent by default (no administrator password prompts; privacy prompts and password dialogs answered on the Mac; a screen that never locks). { prompts: \"ask\" } keeps macOS's usual prompts for this session; { permissions: { \"com.example.App\": [\"camera\", \"microphone\"] } } (or \"all\") grants an app privacy permissions at start, also one built later; gatekeeper off or on asks for Gatekeeper's state (get_mac_session's account.gatekeeper says what the Mac has).",
      +  "properties": {
      +    "gatekeeper": {
      +      "enum": [
      +        "off",
      +        "on"
      +      ],
      +      "type": "string"
      +    },
      +    "permissions": {
      +      "additionalProperties": {
      +        "anyOf": [
      +          {
      +            "enum": [
      +              "all"
      +            ],
      +            "type": "string"
      +          },
      +          {
      +            "items": {
      +              "enum": [
      +                "camera",
      +                "microphone",
      +                "contacts",
      +                "calendars",
      +                "reminders",
      +                "photos",
      +                "photos-add",
      +                "media-library",
      +                "speech-recognition",
      +                "bluetooth",
      +                "desktop",
      +                "documents",
      +                "downloads",
      +                "removable-volumes",
      +                "network-volumes"
      +              ],
      +              "type": "string"
      +            },
      +            "maxItems": 15,
      +            "minItems": 1,
      +            "type": "array"
      +          }
      +        ]
      +      },
      +      "propertyNames": {
      +        "pattern": "^[A-Za-z0-9][A-Za-z0-9.-]{0,154}$",
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "prompts": {
      +      "enum": [
      +        "auto",
      +        "ask"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  11. Changed2 schema fields changed
    • changedInput schema / properties / limits / description
      Previous value: -"Optional caps for this session: max_duration_seconds (60-86400), spend_cap_microunits (USD × 1,000,000) and idle_timeout_seconds (60-3600). Defaults: 2 hours, $5, 10 minutes idle."New value: +"Optional caps for this session: max_duration_seconds (60-28800), spend_cap_microunits (USD × 1,000,000) and idle_timeout_seconds (60-3600). Defaults: 2 hours, $5, 10 minutes idle. The session stops at whichever cap it reaches first: $5 covers 6 hours 15 minutes, so a session longer than that also needs a higher spend cap (8 hours is $6.40)."
    • changedInput schema / properties / request_key / description
      Previous value: -"Idempotency key you choose (letters, digits, dash, underscore). Retry a lost response with the same key and identical arguments; use a new key for new work."New value: +"Idempotency key you choose: 8-128 letters, digits, dashes, underscores, dots or colons. Retry a lost response with the same key and identical arguments; use a new key for new work."
  12. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it is non-read-only, destructive and idempotent; the description goes far beyond by disclosing the $0.90/hour prepaid-credit cost billed per minute, ~1 minute readiness, no-admin-prompts behavior, the $NOMAC_MAC_PASSWORD login, drive persistence across sessions on one Mac at a time, and the exact error codes returned. It also restates idempotency concretely via request_key, which is the behavior an agent most needs when a call is lost.

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

Conciseness4/5

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

Core facts (what, price, readiness) are front-loaded and every clause carries information, with no filler. The cost is a long semicolon-chained block that mixes billing, auth, drives and error codes into contiguous clauses, which is dense to parse but not padded.

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

Completeness5/5

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

With no output schema and a nested 7-parameter schema, the description still covers cost, readiness, credentials, persistence semantics, failure modes and what the response names (drive and session owner). That is enough for an agent to call it correctly and to interpret the result without a separate output contract.

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 coverage is 100% and every parameter is already described in the schema, so the description's parameter content is largely restatement. It does add one genuinely new cross-parameter interaction, that the Mac stops at whichever limit is hit first and that raising the duration past 5h33m requires raising the spend cap too (8 hours = $7.20), which earns it slightly above the baseline.

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

Purpose5/5

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

Opens with a specific verb+resource ('Starts a cloud Mac') and immediately enumerates the concrete environment (macOS, Xcode, iOS Simulator) plus cost, so the agent knows exactly what this creates. It also distinguishes itself from siblings by directing waiting behavior to get_mac_session rather than implying it is a status tool.

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

Usage Guidelines4/5

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

Gives real selection signals: use get_mac_session with wait_seconds to wait, queue_seconds instead of accepting session_limit_reached or drive_in_use, reuse to attach to an existing drive, parallel for a second Mac. It never states a blanket 'do not use this for X', so a 4 rather than a 5, but the alternative routing is unusually explicit for a creation tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources