Skip to main content
Glama

colab_session_get_url

Retrieve the browser URL for a specific Colab session by display name, with an optional frontend host, so you can open or share the session directly.

Instructions

Get the browser URL for a Colab session.

Args: session: Session display name host: Optional Colab frontend host (default: https://colab.research.google.com)

Returns: Full Colab browser URL for the session

Raises: ToolError: SESSION_NOT_FOUND, AUTH_EXPIRED, QUOTA_EXCEEDED, CLI_ERROR

Input Schema

NameRequiredDescriptionDefault
hostNo
sessionYes

Output Schema

NameRequiredDescriptionDefault
urlYesFull Colab browser URL for the session

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does add real value by enumerating the failure modes (SESSION_NOT_FOUND, AUTH_EXPIRED, QUOTA_EXCEEDED, CLI_ERROR) and stating the return value. However, it doesn't say whether the call has any side effects, what auth is required beyond the AUTH_EXPIRED hint, or whether URL retrieval triggers session start.

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?

Front-loaded with the purpose, then cleanly structured Args/Returns/Raises sections. The lines are short and each contributes; slightly verbose in the repeated 'Colab' qualifiers but nothing is wasted.

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?

An output schema exists, so return-value detail is not strictly required, yet the description confirms it returns a full browser URL and also documents error codes. Missing only invocation context such as preconditions and side-effect behavior, which keeps it short of a 5.

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%, so the description must compensate, and it does: it explains that 'session' is a display name and that 'host' is an optional frontend host with a documented default URL (the schema only shows default null). This is meaningful semantics beyond the bare 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?

States a specific verb and resource: fetch the browser URL for a Colab session. This clearly distinguishes it from sibling session tools like colab_session_get (session details) and colab_session_list, though it does not explicitly name those siblings in an exclusion statement.

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

Usage Guidelines2/5

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

The description never says when to use this vs colab_session_get or the other session tools, nor does it state prerequisites (e.g., that the session must already exist). The agent must infer usage from the verb alone.

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