Skip to main content
Glama

Probe host and guest readiness

relay_probe
Read-onlyIdempotent

Checks host and guest VM state to decide if a task is interruptive, reports availability of services and targets without installing or starting anything.

Instructions

Read-only host and service facts, used to judge whether a task is interruptive and to pick an image; it reports current owned state on its own, so call it again after context compaction rather than trusting earlier messages. Default scope: "host" reports host permissions and activity, VM service availability, and this session's owned lifecycle state, not guest readiness; unknown is not idle. scope: "guest" (on an already-owned VM) reports whether Node, CuaDriver and each relay_run target (cua, playwright, chrome-devtools) are available, without installing or starting anything, and never claims capture readiness. Relay only interruptive work judged from these facts; non-disruptive or headless work stays with local tools. Continue in order: relay_acquire, relay_stage, relay_run (or a command tool), relay_image/relay_extract, then relay_finish or relay_release, called explicitly before you return.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already mark read-only, idempotent, and non-destructive; the description adds that it reports current owned state and must be re-called after compaction, that guest scope installs or starts nothing, and that it never claims capture readiness. It also clarifies 'unknown is not idle.' These are meaningful behavioral details beyond the annotations.

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?

Every sentence carries distinct information: purpose, state-freshness caveat, host scope semantics, guest scope semantics, usage boundary, and workflow order. It is dense but not wasteful, and it front-loads the read-only purpose and the key re-call behavior.

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 absence of an output schema, the description summarizes what each scope reports and warns about known pitfalls (unknown vs idle, capture readiness). It also embeds the tool in the relay sequence so an agent knows when and in what order to invoke it. Some exact response structure is not specified, but the essential context is present.

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

Parameters5/5

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

Schema coverage is 0% and the schema only lists an enum, but the description thoroughly explains both `scope: "host"` and `scope: "guest"` including what each reports and their caveats. This gives an agent the full semantic meaning of the only parameter, even without additional schema descriptions.

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?

States a specific verb and resource: it probes read-only host/service facts to judge interruptiveness and pick an image. It explicitly distinguishes the two scopes and notes that `host` is not guest readiness, which separates it from a generic probe. The tool's role in the relay workflow is immediately clear.

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

Usage Guidelines5/5

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

Explicitly says when to use it: before interruptive relay work, and after context compaction rather than trusting earlier messages. It names the alternative (local tools for non-disruptive/headless work) and provides the full ordered relay lifecycle. No ambiguity about where this tool fits.

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