Skip to main content
Glama

colab_log

Fetch the last entries in a Google Colab session's history, filtered by event type, or list sessions that have logs when no session is specified.

Instructions

Last lines entries of a session's history (event_type e.g. execution, file_operation). Without a session, lists sessions that have logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linesNo
sessionNo
event_typeNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose one non-obvious behavior (session omitted -> lists sessions with logs) and hints at event categories, but says nothing about ordering of entries, retention, or whether the call is side-effect free, which matters for a log-reading tool with no annotation coverage.

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 short sentences, zero filler, and the primary behavior is front-loaded before the fallback case. The parenthetical on event_type adds meaning rather than padding.

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-shape explanation is not needed, and all three parameters receive some semantic treatment. The remaining gap is sibling differentiation versus colab_job_logs and the full event_type vocabulary.

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 description coverage is 0%, so the description must compensate, and it largely does: `lines` = count of last entries, `session` = which session (with fallback semantics when null), and `event_type` is illustrated with concrete values (execution, file_operation). Only the exhaustive set of event_type values is left unstated.

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 resource (a session's history/log entries) and scope (last `lines` entries), with a parenthetical clarifying what `event_type` values look like. It is clear what the tool returns, though it does not explicitly distinguish itself from the sibling colab_job_logs (job logs) beyond the word 'session'.

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 one piece of routing guidance given is behavioral: omitting `session` switches to listing sessions that have logs. That is useful, but there is no statement of when to prefer this over colab_job_logs or other log-adjacent siblings, nor any prerequisites.

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