# upload_file

Upload a local file to Google Drive.

Agent View of the PolicyLayer registry record for `upload_file`. HTML page: https://policylayer.com/tools/ztgluis-google-mcp/upload-file

## Facts

- Tool: `upload_file`
- Server: Google (`ztgluis/google-mcp`) — https://policylayer.com/tools/ztgluis-google-mcp.md
- Homepage: https://github.com/ztgluis/google-mcp
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "upload_file",
    "arguments": {}
  }
}
```

## Why upload_file is rated Medium

An AI agent can call upload_file faster than any human can review: one bad instruction and it creates or modifies resources in Google by the hundred, each call as confident as the last.

## Use case

AI agents use upload_file to create or update resources in Google, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Google environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Google:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "upload_file": {
      "limits": [
        {
          "counter": "upload_file_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Google (63)

- `delete_comment` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-comment.md
- `delete_doc_tab` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-doc-tab.md
- `delete_footer` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-footer.md
- `delete_header` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-header.md
- `delete_named_range` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-named-range.md
- `delete_permission` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-permission.md
- `delete_positioned_object` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-positioned-object.md
- `delete_reply` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/delete-reply.md
- `trash_file` — Destructive — https://policylayer.com/tools/ztgluis-google-mcp/trash-file.md
- `about` — Read — https://policylayer.com/tools/ztgluis-google-mcp/about.md
- `download_file` — Read — https://policylayer.com/tools/ztgluis-google-mcp/download-file.md
- `export_doc` — Read — https://policylayer.com/tools/ztgluis-google-mcp/export-doc.md
- `get_file_metadata` — Read — https://policylayer.com/tools/ztgluis-google-mcp/get-file-metadata.md
- `get_revision` — Read — https://policylayer.com/tools/ztgluis-google-mcp/get-revision.md
- `list_comments` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-comments.md
- `list_doc_tabs` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-doc-tabs.md
- `list_folder` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-folder.md
- `list_named_ranges` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-named-ranges.md
- `list_permissions` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-permissions.md
- `list_replies` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-replies.md
- `list_revisions` — Read — https://policylayer.com/tools/ztgluis-google-mcp/list-revisions.md
- `read_doc` — Read — https://policylayer.com/tools/ztgluis-google-mcp/read-doc.md
- `read_doc_structure` — Read — https://policylayer.com/tools/ztgluis-google-mcp/read-doc-structure.md
- `search_drive` — Read — https://policylayer.com/tools/ztgluis-google-mcp/search-drive.md
- `add_comment` — Write — https://policylayer.com/tools/ztgluis-google-mcp/add-comment.md
- `add_doc_tab` — Write — https://policylayer.com/tools/ztgluis-google-mcp/add-doc-tab.md
- `copy_doc` — Write — https://policylayer.com/tools/ztgluis-google-mcp/copy-doc.md
- `copy_file` — Write — https://policylayer.com/tools/ztgluis-google-mcp/copy-file.md
- `create_doc` — Write — https://policylayer.com/tools/ztgluis-google-mcp/create-doc.md
- `create_doc_from_markdown` — Write — https://policylayer.com/tools/ztgluis-google-mcp/create-doc-from-markdown.md
- …and 33 more: https://policylayer.com/tools/ztgluis-google-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=ztgluis-google-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/ztgluis-google-mcp
