Skip to main content
Glama
mailbox-org-mcp
by getrdone

Upload to Drive

mailbox_drive_upload

Upload a local file to a mailbox.org Drive folder; block overwriting existing files unless overwrite=true.

Instructions

Upload a local file to a mailbox.org Drive folder. Refuses to overwrite unless overwrite=true.

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": {
      "local_path": "<local_path>"
    },
    "name": "mailbox_drive_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
folderNo
overwriteNo
local_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this is an external write. The description adds one genuinely important behavioral fact – it refuses to overwrite unless overwrite=true – which prevents a silent failure. However, it says nothing about whether a missing folder is created, how the stored file is named when 'name' is omitted, or any size/auth constraints.

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?

Two short sentences with no filler: the action and destination come first, and the risk-relevant overwrite constraint is front-loaded second. Nothing is redundant or buriable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write tool with four parameters, no output schema and no annotation-level detail, the definition covers the action and the overwrite rule but not the fallback behaviors an agent needs (folder auto-creation, name defaulting, error shape). Adequate to start a call, incomplete for predicting its result.

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 0%, so the description must carry parameter meaning, and it does explain two of four: local_path (a file on the local filesystem) and overwrite (the gate on replacing an existing file). It leaves 'folder' (default empty – root? must exist?) and 'name' (defaulting to the local basename?) completely unexplained, which is the main semantic gap for a mutation call.

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?

The description gives a specific verb and resource ('Upload a local file to a mailbox.org Drive folder'), which is clearly distinct from the download, list and manage siblings. It does not explicitly contrast itself with those siblings, but the verb alone makes the selection unambiguous.

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?

There is no explicit when-to-use guidance or set of alternatives, but the overwrite clause implies the decision point an agent must resolve before calling (set overwrite=true or accept a refusal). Use for creating new Drive content versus retrieving existing content is only implied.

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