Skip to main content
Glama

instance_connect

Generate a one-time JupyterLab access link or SSH command to connect to an AMD Radeon Cloud GPU Notebook instance.

Instructions

获取连接方式。mode=jupyter:打印一次性 JupyterLab 链接(⚠️ 短时效、敏感, 勿写入日志/公开分享);mode=ssh:打印 SSH 命令。远程/托管模式下链接文本可直接使用。

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": "instance_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNojupyter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it warns that the JupyterLab link is one-time, short-lived and sensitive, and tells the agent not to log or share it. It also notes the remote/managed-mode link is directly usable. What's missing is whether the link expires or is invalidated by reuse, and whether auth is required.

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?

It is short and front-loaded: the purpose comes first, followed by one clause per mode and a note on remote/managed behavior. Every sentence adds information, and the warning sits next to the jupyter branch where it belongs.

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?

For a simple one-parameter read tool with no output schema, the description says what each mode prints and flags the sensitivity of the jupyter output. The handling caveat is covered. Minor gaps remain: link lifetime behavior and whether repeated calls invalidate previous links are not stated, but they don't block a correct call.

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 0% and the only parameter, mode, has no enum, so the description must define them. It documents both accepted values, jupyter and ssh, along with each one's effect. It doesn't state that jupyter is the default, which the schema supplies as default: jupyter, so it doesn't fully compensate.

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 first sentence names a specific action and resource: get the connection method for an instance. The mode branches make clear that it returns connection artifacts (JupyterLab link or SSH command) rather than running anything. It doesn't name a sibling to contrast with, so it falls short of a 5.

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

Usage Guidelines3/5

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

The description explains the two modes and what each outputs, which implies when to pick each one. It gives no explicit guidance on when to use this instead of related tools like instance_exec, instance_status, or instance_logs, so the agent must infer the boundary.

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