Skip to main content
Glama

upload_documents

Put files from your computer into a project's Documents drop zone as takeoff sources (plans, specs, plan images) or record-only attachments, with paths validated and large sources sent in chunks.

Instructions

Put files from THIS computer into a project (the Documents drop zone). kind 'source' (default) = plans, specs, addenda (PDF, PNG/JPG plan images, one .zip planset): they feed the canvas and takeoffs. kind 'attachment' = ITB, bid form, proposal — kept for the record, never read. Every path is checked before the first byte moves; large sources go up in chunks. Re-sending a file is harmless; a same-named source with new content is recorded as a revision.

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_id": "<project_id>",
      "paths": "<paths>"
    },
    "name": "upload_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
roleNoattachment tag, e.g. itb, bid-form
pathsYesfiles on this computer (absolute, or ~/…)
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.23

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and openWorldHint=false; the description adds substantial behavior beyond that — all paths are validated before the first byte moves, large sources upload in chunks, re-sending is harmless (idempotent), and a same-named source with new content becomes a revision rather than an overwrite. These are exactly the side-effect and safety facts an agent needs before invoking a write tool.

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?

Four tightly packed sentences, front-loaded with the action and destination, then mode semantics, then behavior. The telegraphic 'kind ... = ...' phrasing is efficient rather than wasteful, though the density makes it slightly harder to skim than a cleanly bulleted form.

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 write tool with no output schema and four parameters, it covers the essentials: mode selection, path validation, chunking for large files, idempotency, and revision semantics. Gaps remain around size limits, failure behavior when validation rejects a path, and what the call returns, but none of these block correct invocation.

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 50%, and the description compensates well for the gap: 'kind' is fully defined with its default and the concrete file types each value accepts, and 'role' is given meaning through the ITB/bid-form/proposal example. Only 'project_id' is left unexplained, though little explanation is genuinely needed.

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?

States a specific verb and resource ('Put files from THIS computer into a project') and pins the destination ('the Documents drop zone'). The emphasis on 'THIS computer' implicitly separates it from the server-side attachment/library tools in the sibling set, but no sibling is named explicitly.

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 routing guidance between the two modes: 'source' for plans/specs/addenda that feed canvas and takeoffs, 'attachment' for ITB/bid form/proposal kept for the record. That tells the agent which kind to pick for a given file. It stops short of stating when to prefer this tool over the alternative attachment-adding tools.

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