Skip to main content
Glama

Read bundle file

bundle_get_file
Read-onlyIdempotent

Read complete file bytes as base64 chunks. First read uses current directory/SPA resolution; continue with returned versionId, exact path and nextOffset as offset. Each read rechecks bundle readability and exact version membership.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe file's path; the first read resolves directories and the SPA fallback.
offsetNoWhere the chunk starts: the previous chunk's nextOffset (needs versionId).
bundleIdYesThe bundle: its id, your slug for it, its live URL or its page URL.
versionIdNoThe version a continuation reads: the first chunk's versionId.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, non-destructive, idempotent, and closed-world behavior. The description adds valuable behavioral context beyond annotations: reading in base64 chunks, rechecking bundle readability, and verifying exact version membership on every read.

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

Conciseness4/5

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

The description is front-loaded and compact: it first states the action, then explains first-read and continuation behavior, then notes revalidation. It is appropriately sized for a chunked file-read tool with little wasted text.

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

Completeness4/5

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

The tool has annotations, a full schema description coverage, and an output schema, so the description does not need to explain return values in detail. It supplies the key chunking and continuation semantics an agent needs to call the tool 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 description coverage is 100%, so the schema already documents each parameter. The description still adds useful linkage semantics: the first read resolves directories/SPA fallback, while continuation reads use the returned versionId, exact path, and nextOffset as offset.

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 states a specific verb and resource: read complete file bytes from a bundle as base64 chunks. It is clear what the tool does, though it does not explicitly distinguish itself from similar sibling tools such as artifact_get_content or bundle_get.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains continuation usage by saying to use the returned versionId, exact path, and nextOffset for subsequent reads. However, it does not state when to use this tool instead of alternatives or what prerequisites apply to the first read.

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.