Skip to main content
Glama

tascan_get_build_file

Read-onlyIdempotent

Read one file from a stored build bundle by build_ref and path (protocol v0.2 build_artifacts) — the exact bytes the executor produced, not a working-tree read. Returns up to 12000 chars per call with offset/limit paging (next_offset when truncated), plus the file's sha256 and byte length. Binary or over-cap files return no content (the sha256 still binds them). Read tier; this is what the independent reviewer reads. The header lines (path, build, sha256, chars a-b of total) are the record a reviewer's read is bound to; read every chunk until the range covers the whole file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRepo-relative path exactly as listed by tascan_get_build.
limitNoCharacters to return (1-12000, default 12000).
offsetNoCharacter offset to start from (default 0).
build_refYessha256:<64 hex> (or the bare 64 hex).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the readOnly/idempotent annotations: per-call character cap, offset/limit paging with next_offset, sha256 and byte-length return values, truncation behavior for binary/over-cap files, and the binding semantics of header lines. An agent knows exactly what will happen on repeated or partial reads.

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?

Dense but purposeful: the first clause names the operation, the middle explains limits and output, and the final sentence gives operational guidance for paging and record-binding. No filler; every sentence adds information needed to call or interpret the tool correctly.

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?

Even without an output schema, the description covers the return payload, paging mechanics, sha256/byte-length metadata, binary/over-cap edge cases, and the reviewer-binding semantics. An agent has enough contextual detail to invoke the tool and handle partial or empty results 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 useful semantic context by framing limit/offset as paging over characters, explaining that truncated reads return next_offset, and emphasizing that path must refer to the exact build-listed artifact. This goes slightly beyond the bare 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?

States a specific action ('Read one file'), a precise resource ('stored build bundle'), and the selection keys ('by build_ref and path'). It also differentiates itself from a working-tree read and from the related tool tascan_get_build, so an agent can tell exactly what this tool is for.

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 clear context: this is the read tier for exact executor-produced build artifacts and is what the independent reviewer reads. It implicitly excludes working-tree reads and other list-style build tools, though it does not spell out a formal when-to-use vs. when-not-to-use against each alternative.

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.