Skip to main content
Glama

Depot MCP by usefulapi

Get a build step's logs

depot_get_build_step_logs
Read-only

Get the log lines (message + timestamp) of one container-build step, identified by its digest from depot_get_build_steps. Depot: build.v1 BuildService/GetBuildStepLogs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
build_idYesBuild id.
page_sizeNoPage size, 1-1000.
page_tokenNoCursor from the previous response's nextPageToken. Omit for the first page.
project_idYesProject id the build belongs to.
step_digestYesThe step's digest, from depot_get_build_steps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

readOnlyHint=true already establishes the safety profile, so the description's added value is the return content: log lines with message and timestamp. That is meaningful for a tool with no output schema, though ordering, truncation, and any rate limits remain undisclosed.

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, front-loaded with the action and return content, followed by provenance and service identifier. No filler; every clause carries information.

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 read-only log retrieval with 100% schema coverage, no output schema, and annotation-declared safety, the description covers the resource, the required digest source, and the shape of returned data. Nothing essential to invoking it correctly is missing.

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 100%, so project_id, build_id, step_digest, page_size, and page_token are all self-documented. The description reinforces the provenance of step_digest but adds no syntax, format, or defaulting detail beyond the schema, which matches the baseline 3.

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?

States a specific verb and resource ('Get the log lines ... of one container-build step'), narrows scope to a single step, and discloses the payload shape (message + timestamp). Naming the container-build step also distinguishes it from the CI-job log sibling depot_ci_get_job_logs.

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?

Gives a clear prerequisite for the key parameter ('identified by its digest from depot_get_build_steps'), telling the agent which sibling to call first. It stops short of explicit when-not-to-use guidance or an alternative route to logs, so it is strong context rather than full routing rules.

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.