Skip to main content
Glama
diblaze

bokio-mcp

bokio_download_upload

Read-only

Downloads an uploaded Bokio file to a specified save path and returns the written path plus byte count, so you can retrieve file contents without overwriting existing files.

Instructions

Download an uploaded file's content to savePath. Returns the written path and byte count; bokio_get_upload returns its metadata.

Input Schema

NameRequiredDescriptionDefault
savePathYesFile path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name.
uploadIdYesId from bokio_list_uploads; an unknown id returns a not-found error.
companyIdNoBokio company id. Defaults to BOKIO_COMPANY_ID if omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • addedInput schema / properties / savePath / description
      Added value: +"File path inside BOKIO_DOWNLOAD_DIR, else the working directory; an existing file is never overwritten, so pick a new name."
    • addedInput schema / properties / uploadId / description
      Added value: +"Id from bokio_list_uploads; an unknown id returns a not-found error."
  2. Addedv0.4.0

TDQS

A4.3/5.0
Behavior4/5

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

With readOnlyHint=true and openWorldHint=true already declared, the description adds useful behavior by stating it writes to savePath and returns the written path and byte count. This is valuable because there is no output schema. It does not restate the schema's no-overwrite behavior, but the annotations already establish safety.

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?

The description is two compact sentences with no redundant text. The main action and destination are front-loaded, followed by return behavior and sibling differentiation.

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?

For a simple read-only download tool with fully described parameters and annotations covering safety, the description supplies the missing return-value context. It is complete enough for an agent to select and invoke the tool correctly.

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 description coverage is 100%, so uploadId, savePath, and companyId are already fully documented in the schema. The description mentions savePath implicitly as the destination but does not add syntax or meaning beyond the schema. Baseline 3 is appropriate.

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?

The description states a specific verb and resource: downloading an uploaded file's content to savePath. It also explicitly distinguishes the tool from bokio_get_upload by saying that sibling returns metadata. An agent can tell exactly what this tool does and how it differs from the metadata tool.

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?

The description clearly indicates this tool is for retrieving file content and names bokio_get_upload as the metadata alternative. It does not explicitly cover when not to use it or mention other download siblings, but the primary usage decision is clear.

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