# rename_file

Rename a file.

Agent View of the PolicyLayer registry record for `rename_file`. HTML page: https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/rename-file

## Facts

- Tool: `rename_file`
- Server: Mcp Google Docs (`dev-ithitchhiker/mcp-google-docs`) — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs.md
- Homepage: https://github.com/dev-ithitchhiker/mcp-google-docs
- 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": "rename_file",
    "arguments": {}
  }
}
```

## Why rename_file is rated Medium

Renaming a file is a write operation that modifies file metadata. It is reversible (can be renamed back) and has no destructive or irreversible consequences. Severity is medium because an agent could rename critical files to misleading names, causing operational confusion, but the change itself is not permanent or data-destructive.

From the tool's own definition: "The tool description states it 'Rename a file.' Renaming is a reversible modification operation that changes metadata without destroying data."

## Use case

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

## Recommended policy (PolicyLayer)

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

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

## Other tools on Mcp Google Docs (54)

- `delete_columns` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-columns.md
- `delete_document` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-document.md
- `delete_presentation` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-presentation.md
- `delete_rows` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-rows.md
- `delete_slide_element` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-slide-element.md
- `delete_table_column` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-table-column.md
- `delete_table_row` — Destructive — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/delete-table-row.md
- `get_document_details` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/get-document-details.md
- `get_presentation_details` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/get-presentation-details.md
- `get_sheet_data` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/get-sheet-data.md
- `list_files` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/list-files.md
- `list_sheets` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/list-sheets.md
- `search_slide_elements` — Read — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/search-slide-elements.md
- `add_columns` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-columns.md
- `add_image_to_slide` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-image-to-slide.md
- `add_line_to_slide` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-line-to-slide.md
- `add_rows` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-rows.md
- `add_shape_to_slide` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-shape-to-slide.md
- `add_sheet` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-sheet.md
- `add_slide_notes` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-slide-notes.md
- `add_slide_to_presentation` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/add-slide-to-presentation.md
- `batch_update_cells` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/batch-update-cells.md
- `copy_file` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/copy-file.md
- `create_chart` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-chart.md
- `create_document` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-document.md
- `create_presentation` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-presentation.md
- `create_spreadsheet` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-spreadsheet.md
- `create_spreadsheet_from_existing` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-spreadsheet-from-existing.md
- `create_spreadsheet_from_template` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-spreadsheet-from-template.md
- `create_table_in_document` — Write — https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs/create-table-in-document.md
- …and 24 more: https://policylayer.com/tools/dev-ithitchhiker-mcp-google-docs.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=dev-ithitchhiker-mcp-google-docs · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/dev-ithitchhiker-mcp-google-docs
