# list_folder_contents

A read tool on the Sharepoint MCP server.

Agent View of the PolicyLayer registry record for `list_folder_contents`. HTML page: https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/list-folder-contents

## Facts

- Tool: `list_folder_contents`
- 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": "list_folder_contents",
    "arguments": {}
  }
}
```

## Why list_folder_contents is rated Low

The tool name clearly indicates listing/querying operation (retrieve directory contents). Even without explicit description, 'list' in this context means enumerate/retrieve, not modify or delete. Consistent with sibling tools like 'get_document_by_path' and 'get_document_content' which are read operations. No capability to create, modify, or delete data is evident.

From the tool's own definition: "Tool name 'list_folder_contents' indicates retrieval/enumeration of folder contents. No description provided, but naming convention and context within a SharePoint document management server strongly suggest this is a query operation with no side effects."

## Use case

AI agents call list_folder_contents 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": {
    "list_folder_contents": {}
  }
}
```

## 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_document_content` — Read — https://policylayer.com/tools/demodorigatsuo-sharepoint-mcp/get-document-content.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
- `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
