Skip to main content
Glama
vlhommeau
by vlhommeau

Get job log

get_job_log
Read-only

Retrieve a Travis job's plain-text log with ANSI codes removed. Get trailing lines by default, or filter specific lines with a case-insensitive regex and context.

Instructions

Plain-text log of one Travis job, ANSI codes stripped. Returns the last lines by default; use grep to extract matching lines with context instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
grepNoCase-insensitive regex; returns matching lines with 3 lines of context
job_idYesTravis job ID, from get_build_jobs
tail_linesNoNumber of trailing lines to return

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds useful behavioral context: output is plain text, ANSI codes are stripped, only trailing lines are returned by default, and grep returns matching lines with context.

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 two sentences with no waste, and the primary return format is stated immediately. The grep guidance follows naturally and every clause earns its place.

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 simple read-only log retrieval tool with fully documented parameters, the description covers the output format, the default tail behavior, and how to use grep. Nothing essential is missing for an agent to call the tool correctly.

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 100%, so the baseline is 3. The description adds value by explaining that grep extracts matching lines with context and that the default behavior is to return trailing lines, both of which go beyond the raw schema definitions.

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 states a specific verb and resource: retrieving the plain-text log of one Travis job. It also adds meaningful detail by noting ANSI codes are strippedhe, and the singular job scope distinguishes it from build-level siblings like list_builds and get_build_jobs.

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

Usage Guidelines4/5

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

The description clearly indicates how to use the tool: it returns the last lines by default highlights the grep parameter for extracting matching lines with context. It does not explicitly address when to choose this tool over sibling tools, but the 'one Travis job' scoping makes the primary use case clear.

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

Deploy Server

Other Tools