# ai_analyze_directory_images

Analyze all images in a directory

Agent View of the PolicyLayer registry record for `ai_analyze_directory_images`. HTML page: https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/ai-analyze-directory-images

## Facts

- Tool: `ai_analyze_directory_images`
- Server: Enhanced Image Analysis MCP Server (`2squirrelsai/local-mcp-image-analysis-server`) — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server.md
- Homepage: https://github.com/2squirrelsai/local-mcp-image-analysis-server
- Risk category: Read (Low risk)
- Registry record: grade A, 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": "ai_analyze_directory_images",
    "arguments": {}
  }
}
```

## Why ai_analyze_directory_images is rated Low

This tool performs image analysis and metadata extraction on existing files without creating, modifying, deleting, or executing arbitrary operations. It reads image data to extract information (EXIF, color analysis, content understanding) and returns results. No side effects or irreversible actions occur.

From the tool's own definition: "Tool name 'ai_analyze_directory_images' and description 'Analyze all images in a directory' indicate retrieval and analysis of image data without modification or deletion."

## Use case

AI agents call ai_analyze_directory_images to retrieve information from Enhanced Image Analysis MCP Server 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 Enhanced Image Analysis MCP Server:

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

## Other tools on Enhanced Image Analysis MCP Server (6)

- `async_tool` — Other — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/async-tool.md
- `my_tool` — Other — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/my-tool.md
- `ai_analyze_single_image` — Read — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/ai-analyze-single-image.md
- `extract_comprehensive_metadata` — Read — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/extract-comprehensive-metadata.md
- `tool_with_context` — Read — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/tool-with-context.md
- `organize_images_by_content` — Write — https://policylayer.com/tools/2squirrelsai-local-mcp-image-analysis-server/organize-images-by-content.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=2squirrelsai-local-mcp-image-analysis-server · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/2squirrelsai-local-mcp-image-analysis-server
