Skip to main content
Glama

Stage a file chunk (Large-PR Room)

workspace_put

Append file chunks to a server-side File Workspace so large files can be uploaded across multiple calls; reuse the returned workspace ID, then push all chunks once.

Instructions

Append one chunk of a file into the server-side File Workspace. Use this to push files too big to emit in one response: call it repeatedly with small chunks of the same file (and other files), then call workspace_push once. Omit workspace_id on the very first chunk to get a fresh id back, then reuse that id for every chunk and every file in the push.

Input Schema

NameRequiredDescriptionDefault
seqNoOptional explicit chunk order. Defaults to append order.
pathYesRepo-relative file path this chunk belongs to.
contentYesOne chunk of the file's UTF-8 content.
workspace_idNoOmit on the first chunk to receive a fresh id; reuse it for all chunks and files in one push.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description must carry the safety profile and it mostly does: it is a server-side staged write, additive by default (append order), and explicitly deferred until workspace_push. It does not state whether chunks can be overwritten/deleted, whether staging has size or lifetime limits, or whether an abandoned workspace is garbage-collected.

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?

Two densely packed sentences that front-load the action and then the multi-call usage pattern. Tight and waste-free, though the second sentence embeds three separate rules (chunk repeatedly, push once, id lifecycle) in one breath.

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?

For a 4-param mutation tool with no annotations and no output schema, the description covers the essential lifecycle: chunk repeatedly, then push once, and how the id propagates. What is missing is error/limit behavior (chunk size bounds, what happens on out-of-order seq) that an agent would need to call it robustly.

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% and every parameter already carries a description, so the baseline is 3. The description reinforces the workspace_id lifecycle (omit to get a fresh id, reuse for every chunk and file) but adds no syntax or format detail beyond the schema for seq, path, or content.

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 (append) and resource (one chunk of a file into the server-side File Workspace), and positions itself in a named workflow alongside workspace_push. An agent can tell it apart from its siblings workspace_push and workspace_list without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('files too big to emit in one response'), the exact repetition pattern ('call it repeatedly with small chunks ... then call workspace_push once'), and the ordering rule for workspace_id. Nothing about when/when-not to use it is left to inference.

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

Deploy Server

Other Tools