Skip to main content
Glama

set_runtime_accelerator

Select an accelerator like T4 or A100 GPU in Google Colab. Applying restarts the runtime, so reconnect afterward to verify.

Instructions

Uses the controlled Colab browser to choose an accelerator such as T4 GPU. Applying may restart/disconnect the runtime; always call open_colab_browser_connection, connect_runtime, then check_gpu afterwards.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
acceleratorNoVisible accelerator option to choose, for example T4 GPU, L4 GPU, A100 GPU, H100 GPU, GPU, TPU, or CPU.T4 GPU
applyNoIf true, press Save/Apply and confirm restart dialogs. If false, only select the option in the dialog.
Behavior4/5

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

With no annotations, the description must disclose side effects. It warns that applying may restart/disconnect the runtime and provides necessary post-conditions (connect, check GPU). This is helpful behavioral context beyond the schema.

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, front-loaded with purpose, followed by behavioral warning and post-conditions. No redundant information; every sentence adds value.

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 2-parameter tool with no output schema, the description covers the core action, side effects, and required follow-up. It is sufficient for the agent to use correctly, though it could briefly mention the 'apply' parameter's effect.

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 coverage is 100% and already describes both parameters (accelerator and apply). The description adds only a general mention of 'such as T4 GPU', not significantly enhancing understanding over the schema.

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 clearly states the tool chooses an accelerator (e.g., T4 GPU) via the Colab browser. It provides a specific verb and resource, distinguishing it from sibling tools like connect_runtime or restart_runtime.

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 implies usage when an accelerator change is needed and prescribes a follow-up sequence (open connection, connect, check GPU). However, it does not explicitly state when not to use or name alternatives, leaving some ambiguity.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/404F0X/better_colab_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server