# get_document_content

Get and process content from a SharePoint document.

Agent View of the PolicyLayer registry record for `get_document_content`. HTML page: https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-document-content

## Facts

- Tool: `get_document_content`
- Server: Sharepoint (`demodorigatsuo/sharepoint-mcp`) — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp.md
- Homepage: https://github.com/DEmodoriGatsuO/sharepoint-mcp
- Risk category: Read (Low risk)
- Registry record: grade D, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

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

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

## Why get_document_content is rated Low

The tool retrieves document content from SharePoint without creating, modifying, deleting, or executing operations. It falls squarely into the Read category (query/fetch semantics). Severity is low because unauthorized document access, while a data privacy concern, does not cause irreversible damage or trigger external operations.

From the tool's own definition: "Tool name 'get_document_content' and description 'Get and process content from a SharePoint document' indicate retrieval of existing data without modification or deletion."

## Use case

AI agents call get_document_content to retrieve information from Sharepoint without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

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

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_document_content": {}
  }
}
```

## Other tools on Sharepoint (17)

- `download_file` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/download-file.md
- `get_document_by_path` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-document-by-path.md
- `get_item_metadata` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-item-metadata.md
- `get_list_items` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-list-items.md
- `get_lists` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-lists.md
- `get_site_info` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-site-info.md
- `list_document_libraries` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/list-document-libraries.md
- `list_folder_contents` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/list-folder-contents.md
- `search_sharepoint` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/search-sharepoint.md
- `create_advanced_document_library` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-advanced-document-library.md
- `create_intelligent_list` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-intelligent-list.md
- `create_list_item` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-list-item.md
- `create_modern_page` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-modern-page.md
- `create_news_post` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-news-post.md
- `create_sharepoint_site` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/create-sharepoint-site.md
- `update_list_item` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/update-list-item.md
- `upload_document` — Write — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/upload-document.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=demodorigatsuo-sharepoint-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/demodorigatsuo-sharepoint-mcp
