# search_tags

Search Gelbooru tags by name, pattern, or ID.

Agent View of the PolicyLayer registry record for `search_tags`. HTML page: https://policylayer.com/tools/citronlegacy-gelbooru-mcp/search-tags

## Facts

- Tool: `search_tags`
- Server: Gelbooru MCP (`citronlegacy/gelbooru-mcp`) — https://policylayer.com/tools/citronlegacy-gelbooru-mcp.md
- Homepage: https://github.com/citronlegacy/gelbooru-mcp
- Risk category: Read (Low risk)
- Registry record: grade C, 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": "search_tags",
    "arguments": {}
  }
}
```

## Why search_tags is rated Low

This tool retrieves tag information from Gelbooru without side effects. It does not create, modify, delete, or execute any operations. Even in the context of an adult image database, searching for tags is a safe read operation that presents minimal risk of misuse by an AI agent.

From the tool's own definition: "Tool description states 'Search Gelbooru tags by name, pattern, or ID' — a pure query/retrieval operation with no modification, deletion, or execution capabilities."

## Use case

AI agents call search_tags to retrieve information from Gelbooru MCP 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 Gelbooru MCP:

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

## Other tools on Gelbooru MCP (6)

- `build_prompt` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/build-prompt.md
- `get_character_tags` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/get-character-tags.md
- `get_comments` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/get-comments.md
- `get_deleted_posts` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/get-deleted-posts.md
- `search_posts` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/search-posts.md
- `search_users` — Read — https://policylayer.com/tools/citronlegacy-gelbooru-mcp/search-users.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=citronlegacy-gelbooru-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/citronlegacy-gelbooru-mcp
