Skip to main content
Glama

Get the machine

GetMachine
Read-onlyIdempotent

Start here: the machine (resources, the person's domain, backups, SSH), every project with its problems and URL, deleted projects with snapshots, GitHub repositories to create projects from, and the workspace it serves. Figures are the latest sample; disk sizes and the day's traffic lag a few minutes. Several workspaces and no workspace: FAILED_PRECONDITION + WorkspaceChoice, which lists them.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "GetMachine"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceNoThe workspace: its id or name (ListWorkspaces). Omit when the account has one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties
      Added value: +{
      +  "workspace": {
      +    "description": "The workspace: its id or name (ListWorkspaces). Omit when the account has one.",
      +    "type": "string"
      +  }
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

With readOnlyHint/idempotentHint already covering the safety profile, the description adds real behavioral context: figures are the latest sample, disk sizes and daily traffic lag a few minutes, and the multi-workspace precondition failure is spelled out with the exact error and remediation payload. It does not describe response shape or size, but the freshness caveat and error semantics are substantive additions.

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?

Dense and front-loaded: 'Start here' plus the content enumeration come first, with the staleness caveat and the error path following. The parenthetical lists are compact, though the first sentence runs long and packs several distinct payloads into one clause chain.

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?

No output schema exists, so the description carries the burden of describing the return value, and it does so by enumerating payload sections, plus freshness caveats and the precondition error case. What remains unstated is return structure/format and whether results are paginated, which are minor for an overview tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single `workspace` parameter is well documented there, so the baseline is 3. The description goes beyond the schema by explaining the consequence of omitting `workspace` when several workspaces exist, which is behavior an agent cannot infer from the schema alone.

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 enumerates exactly what the tool returns: machine resources, domain, backups, SSH, projects with problems and URLs, deleted projects with snapshots, GitHub repos, and the serving workspace. 'Start here' signals it is the entry-point overview tool, distinguishing it from narrower siblings like GetProject or ListWorkspaces. It lacks a crisp verb ('Get/return the machine overview'), but the resource scope is unmistakable.

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?

'Start here' is an explicit recommendation to call this first, and the description ends with a concrete failure path: multiple workspaces without `workspace` yields FAILED_PRECONDITION plus WorkspaceChoice, which tells the agent how to recover. It does not explicitly say when to prefer GetProject or QueryHttpTraffic instead, so there is no full alternative routing.

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