Skip to main content
Glama

Upload file to Dropbox

upload_dropbox_file
Destructive

Downloads a file from a public https link (50 MB max) and saves it inside the matter's Dropbox folder. Does not overwrite. A first call returns a preview; a second call with confirm true and that preview_id applies the change. Sign-in required.

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": {
      "matter_id": "<matter_id>",
      "path": "<path>",
      "source_url": "<source_url>"
    },
    "name": "upload_dropbox_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDestination file, relative to the matter folder, including the file name.
confirmNofalse or omitted returns a preview; true applies the change identified by preview_id.
matter_idYesMatter identifier from find_matter or list_open_matters.
preview_idNopreview_id is the id returned by this tool's preview call. Required when confirm is true.
source_urlYesPublic https:// link to download the file from. 50 MB max.
idempotency_keyNoOptional. A retry with the same key returns the first result without a second write. Defaults to preview_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / confirm / description
      Previous value: -"Must be omitted or false on the first call — that only previews. Never invent a preview_id. After the person agrees, call again with confirm: true AND the preview_id this server returned."New value: +"false or omitted returns a preview; true applies the change identified by preview_id."
    • changedInput schema / properties / idempotency_key / description
      Previous value: -"Optional. A retry with the same key returns the first result instead of writing again. Defaults to preview_id."New value: +"Optional. A retry with the same key returns the first result without a second write. Defaults to preview_id."
    • changedInput schema / properties / preview_id / description
      Previous value: -"Exactly the preview_id this server returned on a prior call for these arguments. Required with confirm: true. Never generate or reuse one from another tool or conversation."New value: +"preview_id is the id returned by this tool's preview call. Required when confirm is true."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and idempotentHint=false; the description adds real context beyond them: the 50 MB download cap, the no-overwrite behavior, the mandatory preview before the second confirm call, and that sign-in is required. It does not restate the idempotency-key retry semantics, which would have closed the last gap.

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?

Four short sentences, front-loaded with what the tool does and immediately followed by the size cap, the no-overwrite rule and the confirm workflow. Nothing is padding and nothing essential is buried.

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 destructive, open-world six-parameter write tool this covers the crucial behavioral facts: auth requirement, size cap, non-overwrite, and the two-call confirmation pattern. It stops slightly short on what the preview contains or which errors to expect, but with 100% schema coverage, that omission is minor.

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 confirm, preview_id, path, source_url and idempotency_key are all already documented in the schema. The description echoes the preview/confirm relationship and the 50 MB limit but adds no new syntax, format or constraint beyond what the schema states, making the baseline 3 appropriate.

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 (downloads) plus resource (file from a public https link) and destination (the matter's Dropbox folder), with a hard limit of 50 MB. It is clearly distinguishable from read/list siblings, though it never contrasts itself with create_dropbox_file_request, which sounds like a related write path.

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 two-step preview-then-confirm flow is spelled out, which implicitly tells the agent how to use the tool, and 'Does not overwrite' and 'Sign-in required' set constraints. However there is no explicit when-to-use versus create_dropbox_file_request or guidance on failure cases, so usage is only implied.

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.

Resources