Skip to main content
Glama

Open console viewing

relay_console_open

Open a console view for an owned lease only after explicit user request. Provide console_id, attempt_id, reason, and expected output to start viewing on the service host. Never automatic.

Instructions

Open console viewing for the owned lease, only following an explicit user request to watch. Requires console_id and attempt_id from relay_console_resolve, userRequested: true, reason (intent) and expected (what the human should expect to see); it opens on the declared service host, never a remote client, and is never triggered automatically by relay_acquire's vnc option. See relay_console_resolve for what a ready status does and does not prove. A failed or uncertain open keeps the attempt: resolve or cancel it rather than opening again with a new attempt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonYesIntent of this execution. Retained as evidence, never identity, authorization or a retry key.
expectedYes
attempt_idYes
console_idYes
userRequestedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.5.1

TDQS

A5/5.0
Behavior5/5

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

Annotations only indicate it is not read-only, not idempotent, not destructive, and not open-world. The description goes far beyond this by disclosing that it opens on the declared service host, never a remote client, and is never triggered automatically. It also reveals that a failed or uncertain open keeps the attempt, which is critical behavioral context for the agent to handle retries correctly.

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 dense paragraph that front-loads the core purpose and then adds necessary constraints and cross-references. Every sentence carries essential information—no filler. It is structured logically: purpose, prerequisites, behavioral constraints, and failure handling.

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?

For a tool with 5 required parameters, no output schema, and only false annotations, the description covers all essential aspects: what it does, when to use it, where it operates, what it requires, and how to handle failures. It appropriately defers to relay_console_resolve for deeper status semantics, and nothing critical for correct invocation is missing.

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 only 20% (only 'reason' has a description). The description compensates fully by explaining that console_id and attempt_id come from relay_console_resolve, that userRequested must be true (which it enforces as const), that reason captures intent, and that expected is what the human should expect to see. This gives the agent the semantic meaning needed to construct valid calls.

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?

The description opens with a specific verb and resource: 'Open console viewing for the owned lease', and immediately constrains it to explicit user requests. It distinguishes itself from siblings by referencing relay_console_resolve and relay_acquire, clarifying it is never automatically triggered by relay_acquire's vnc option. The purpose is unambiguous and clearly differentiated.

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?

The description provides explicit when-to-use guidance: only after an explicit user request to watch. It also gives what-not-to-do: never triggered automatically by relay_acquire's vnc option. It instructs that a failed or uncertain open should be resolved or canceled rather than re-opened, effectively routing the agent to the correct alternative actions (relay_console_resolve/relay_console_cancel).

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