Skip to main content
Glama

compute_logs

Read-onlyIdempotent

stdout and stderr lines of a job from offset; returns the next offset.

Input Schema

NameRequiredDescriptionDefault
job_idYes
offsetNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / job_id / properties
      Removed value: -null
    • removedInput schema / properties / offset / properties
      Removed value: -null
  2. Changed2 schema fields changed
    • addedInput schema / properties / job_id / properties
      Added value: +null
    • addedInput schema / properties / offset / properties
      Added value: +null
  3. Added

TDQS

B3.3/5.0
Behavior3/5

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

The annotations already establish read-only, idempotent, non-destructive behavior. The description adds useful pagination context by stating it returns the next offset, but it does not explain log ordering, termination behavior, or rate/authorization constraints.

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?

A single compact sentence states the resource, offset behavior, and return value with no wasted wording. It is front-loaded and easy to scan.

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?

For a two-parameter read-only tool with rich annotations, the description covers the core retrieval and pagination model. However, with no output schema, it should say more about the returned log line structure and how the next offset behaves at the end of logs.

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

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning. It implies job_id identifies the job and offset is the starting point, and it explains the return of a next offset for continuation, but it omits format, default, and termination details.

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 clearly identifies the resource and scope: stdout/stderr lines for a specific job, starting from an offset. It distinguishes itself from compute_status/compute_check by being about log retrieval, though it does not explicitly name a sibling alternative.

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 implies pagination via 'from offset' but gives no explicit guidance on when to use this tool versus compute_status, compute_check, or other compute siblings. There are no exclusions or situational cues.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources