Skip to main content
Glama

get_job_logs

Retrieve GPU job logs with configurable tail, offset, text search, and error-only filtering to pinpoint execution failures.

Instructions

Bounded logs; offset counts backwards from the end of the available log window.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tailNo
job_idYes
offsetNo
searchNo
error_onlyNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It does add a non-obvious behavioral trait: logs are bounded, and offset counts backwards from the end of the available log window. However, it does not explain limits, filter behavior, output format, or failure modes, so coverage is partial.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is very short and front-loads the bounded-logs constraint, which is efficient. However, it is so terse that it borders on under-specification for a tool with five parameters and no other documentation, so it is adequate but not exemplary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, no annotations, and five parameters, yet the description does not mention the required job_id, the meaning of tail, search, error_only, log content, or return behavior. 'Bounded logs' is a useful hint but far from sufficient for an agent to invoke this tool correctly in varied situations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 for the five parameters. It only clarifies the semantics of offset; job_id, tail, search, and error_only are left without any added meaning. Since the schema provides only titles and types, this is a significant gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description says 'Bounded logs' and refers to a log window, so an agent can infer this tool deals with logs, but it never explicitly states the action of retrieving/getting logs for a job. It also does not differentiate itself from siblings such as get_job or list_jobs; an agent must rely on the tool name to understand the primary purpose.

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?

No guidance is provided for when to use this tool versus get_job, list_jobs, or fetch_artifact. The phrase 'Bounded logs' hints at scoping but does not explain when this tool is appropriate, what alternatives exist, or what conditions should route an agent to another sibling.

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

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/HarrisonYangKuang/agent-gpu-pool'

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