Skip to main content
Glama
go0le

pixiv-mcp

by go0le

Pixiv 插画搜索

pixiv_search

Searches Pixiv illustrations by character or tags, downloads original images, and returns local file paths with metadata while filtering AI-generated, blacklisted, and disallowed R-18 content.

Instructions

按角色名/标签搜索 Pixiv 高质量插画,下载原图到本地并返回文件路径与元数据。多个标签是 AND(全部要在作品标签或标题里命中)。自动过滤:同作品互斥角色蹭标签、AI 生成(aiType=2)、动图、黑名单(BL/猎奇/福瑞/抽象整活等,请求里含黑名单词会被整次拒绝)。灰名单(R-18 及特定玩法)默认避开,只有 r18 / allow_gray 明确放行时才放行且必须真有。R-18 只认 Pixiv 官方 xRestrict。按 1 年半衰期收藏数排序,同一 session 不重复出图;同一 session 有冷却(默认 15 秒)。中文角色名有内置映射;不在映射里的词建议调用方先翻成 Pixiv 常用日文标签再传入(如 水手服→セーラー服)。给用户展示时在每张图下附上 caption(🎨 画师:xxx)。

Input Schema

NameRequiredDescriptionDefault
r18No用户明确要求 R-18 时为 true(需要登录凭据)
tagsYes标签数组,或空格分隔字符串。例: ["信浓","泳装"] 或 "信濃(アズールレーン) 水着"
countNo张数 1-3,默认 1
sessionNo会话键:去重历史与冷却按此隔离,默认 "default"
allow_grayNo显式放行的灰名单类别(默认全部避开)。只有用户明确点名时才传。放行的类别作品必须真的具备;其余灰名单仍拒绝。可选: r18(官方 R-18) / oral(口交) / creampie(中出) / paizuri(乳交) / footjob(足交) / ahegao(阿黑颜) / sex(性交)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so thoroughly: it discloses blacklist rejection of the entire request, automatic filters (mutual-exclusive character tags, aiType=2, animations), gray-list default avoidance, R-18 limited to official xRestrict, 1.5-year half-life favorite sorting, session-level deduplication, and a 15-second cooldown. It also states that files are written to local disk and metadata is returned, which is exactly the beyond-schema behavior an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense paragraph, but the core purpose is front-loaded in the first sentence and subsequent clauses are rules rather than filler. The closing caption/display instruction is presentation guidance rather than invocation semantics, which slightly dilutes focus, but nearly every sentence earns its place given the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter tool with no output schema and no annotations, the description covers filtering behavior, ordering, session semantics, rate limits, credential requirements for r18, and what is returned (local paths plus metadata, with caption format). An agent has everything needed to call it correctly and set user expectations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: multiple tags are AND-ed against tags or titles, session isolates dedup history and cooldown, and allow_gray categories must genuinely be present or the item is rejected. It also warns that unmapped Chinese names should be converted to Pixiv-style Japanese tags, which the schema does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence states a specific verb + resource + full outcome chain: search Pixiv illustrations by character/tag, download originals locally, return file paths and metadata. The scope (character/tag-driven search plus download) is distinct enough that an agent can tell it is the discovery+fetch tool rather than a detail or raw-download tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives concrete when-to-use rules for the risky options: allow_gray only when the user explicitly names a category, r18 only on explicit request, gray-list items must genuinely be present, and it advises pre-translating tags not in the built-in mapping. It stops short of explicitly contrasting with pixiv_download or pixiv_illust_detail, so sibling routing is left implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools