Skip to main content
Glama

build_get_bundle

Read-only

Returns the current (or a given version's) published bundle: the file list and a signed download_url, or one file's content with file=. Inputs: project_uuid, optional version_uuid, file, offset, max_bytes. A file= answer carries the file's byte count and sha256, so a cut or empty read can be detected; files over ~20KB are read in pages (offset, max_bytes=20000, then next_offset until more is false). A change to an existing app starts from these files: re-authoring from scratch drops the hand-written ui/app.js and every earlier fix.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_uuid": "<project_uuid>"
    },
    "name": "build_get_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNoOptional app-root-relative path (e.g. 'ui/app.js') to return that single file's content inline (~120KB cap, truncated with a note).
offsetNoOptional, with file=: byte offset to read from (start at 0, then pass the returned next_offset).
max_bytesNoOptional, with file=: page size in bytes (4096-122880). Pages end on a line or character boundary, so a page can be a little shorter.
project_uuidYesProject UUID (from build_list_projects or build_create_project).
version_uuidNoDefault: latest published version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / max_bytes
      Added value: +{
      +  "description": "Optional, with file=: page size in bytes (4096-122880). Pages end on a line or character boundary, so a page can be a little shorter.",
      +  "maximum": 122880,
      +  "minimum": 4096,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "description": "Optional, with file=: byte offset to read from (start at 0, then pass the returned next_offset).",
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / project_uuid / description
      Added value: +"Project UUID (from build_list_projects or build_create_project)."
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish readOnly and non-destructive, yet the description adds substantial behavior: the ~120KB inline cap with truncation note, ~20KB paging with offset/max_bytes, the returned next_offset and 'more' flag, and per-file byte count plus sha256 so cut or empty reads are detectable. That is exactly the operational context an agent cannot infer from annotations.

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?

Front-loaded with what is returned, then inputs, then the file= semantics and paging recipe, then the motivating use case. Dense but nearly every clause carries information; the paging parenthetical is slightly compressed into one long sentence.

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?

With no output schema, the description carries return-value burden and does so: bundle manifest with signed URL, single-file content, sha256 and byte count, truncation behavior, and paging protocol. For a 5-param read tool this is complete enough to call 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 would be 3, but the description adds genuine meaning: recommended max_bytes=20000 pagination size, the next_offset continuation protocol, and that next_offset/more are returned values not present in the schema. It supplies the read loop an agent needs rather than restating field docs.

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 (returns) and resource (published bundle) and distinguishes its two modes: the file list with a signed download_url, versus a single file's content when file= is supplied. An agent can tell what it gets without opening the schema.

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 explicit guidance that changes to an existing app should start from these files, and warns that re-authoring from scratch loses hand-written ui/app.js and prior fixes. It stops short of naming a sibling tool as the alternative for staging or other bundle operations, but the when-to-use context is clear.

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.