Skip to main content
Glama

get_job_log

Read-onlyIdempotent

Read a bounded tail of generation job diagnostics with Hugging Face tokens redacted to troubleshoot job failures without exposing secrets.

Instructions

Read a bounded tail of generation diagnostics with Hugging Face tokens redacted.

Input Schema

NameRequiredDescriptionDefault
linesNo
job_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare this as safe, read-only, and idempotent. The description adds useful behavioral context beyond annotations: the log is a bounded tail and Hugging Face tokens are redacted, which matters for secret exposure.

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 a single front-loaded sentence with no waste. It communicates the core operation, scope, and redaction behavior efficiently.

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

Completeness3/5

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

The output schema and annotations cover much of the return and safety context, and the description confirms redaction and bounded output. However, it omits when to use the tool versus siblings and does not explain parameter behavior, leaving gaps for a two-parameter diagnostic tool.

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 should compensate but does not. It only hints at the line limit through 'bounded tail' and never explains the required job_id parameter or the lines parameter's default and maximum.

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 gives a specific verb and resource: read a bounded tail of generation diagnostics. It clearly identifies this as log retrieval rather than job metadata, though it does not explicitly differentiate from siblings such as get_job or list_job_outputs.

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?

It does not state when to use this tool, when not to use it, or which sibling tool is the alternative. An agent can infer it is for diagnostics, but there is no explicit routing guidance.

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