Skip to main content
Glama

Figment Mac hosting

Get the state of a Mac

figment_get_mac
Read-onlyIdempotent

State of one Mac: provisioning, ready, stopping, stopped, ended_before_setup, deleted or failed, with cost so far. Poll no more than once every 30 seconds.

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": {
      "mac_id": "<mac_id>"
    },
    "name": "figment_get_mac"
  }
}

Input Schema

NameRequiredDescriptionDefault
mac_idYesThe Mac id from figment_start_mac.
api_keyNoThe api_key from figment_create_account. Leave out if the MCP connection sends an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered; the description adds genuinely new behavior by enumerating the returned state values, noting cost-so-far is included, and imposing a 30-second polling floor. The rate limit in particular is a behavioral constraint an agent could otherwise violate. It omits auth expectations, though the schema covers the api_key fallback.

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?

Two sentences, both earning their place: the first defines the payload, the second states the operational constraint. The state enumeration is front-loaded and the polling rule is placed where it will be read before invocation.

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?

With no output schema and only two parameters, the description usefully substitutes for return documentation by listing the state values and mentioning cost so far. Minor gaps remain: it does not say how long provisioning typically takes or what an agent should do on a failed/deleted state, both of which matter for a poll-based tool.

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 both parameters carry their own descriptions, including the provenance of mac_id and the Authorization-header alternative for api_key. The description adds no additional meaning about either parameter, so the baseline of 3 applies.

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 ("State of one Mac") and enumerates the full set of possible lifecycle states, which makes the retrieval purpose unambiguous. It does not, however, distinguish itself from the closely named sibling figment_get_mac_access, so an agent still has to infer which read tool it wants.

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?

Provides concrete usage context by constraining polling cadence ("Poll no more than once every 30 seconds"), which is the main operational decision for a status tool. It stops short of naming alternatives or exclusions, e.g. when to use figment_get_mac_access or figment_get_account instead.

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.