Skip to main content
Glama

mcp-ps-store

MCP 服务器,用于暴露 PlayStation Network 账户自身的游戏历史——游戏时长、奖杯进度、购买的库——以便 AI 助手能够基于真实数据而非猜测推荐游戏。

俄语版本:README.ru.md。

关于

PSN 没有公开的 API。该服务器与 PlayStation 手机应用使用的内部 API 通信,使用从浏览器会话获取的 NPSSO cookie 进行身份验证。每次请求都是只读操作;不会向账户写入任何内容。

结构采用分层架构:API 层(MCP 工具)、核心层(服务、存储库、DTO)、依赖注入容器和基础设施层。

核心技术

  • 语言: Python 3.11+

  • 协议: Model Context Protocol (mcp)

  • HTTP 客户端: httpx(异步)

  • DI 容器: dependency-injector

  • 设置: pydantic-settings

  • 依赖管理: Poetry

  • 测试: Pytest、pytest-asyncio

Related MCP server: WG-Console-MCP-server

公开的工具

工具

用途

psn_taste_profile

主要工具:一份摘要——按小时数排列的热门游戏、最爱的系列、游戏风格习惯(平均游戏时长、深度游戏占比、白金率)、接近 100% 完成的游戏、玩了一小时就放弃的游戏、以及从未启动过的购买内容。推荐相关问题可由此入手。

psn_library

可筛选的游戏列表:按标题搜索、按游戏时长/上次游玩/奖杯进度排序、按平台、游戏时长、日期和进度筛选。

psn_game_trophies

一款游戏的所有奖杯:是否获得、获得日期、稀有度、拥有该奖杯的玩家比例。

psn_owned_games

已购买或通过 PS Plus 领取的游戏,含已知的游戏时长——避免推荐已拥有的游戏。

psn_recently_played

最近游玩过的游戏。

psn_profile

在线 ID、PS Plus 状态、奖杯等级、生涯总奖杯数。

psn_refresh

清除响应缓存(PSN 响应会被缓存 10 分钟)。

另外还有一个 recommend_games 提示词——一个现成的"构建我的个人资料并推荐游戏"场景,可接受"短时游戏"或"双人合作"等可选引导。

快速开始

需要 Python 3.11+。

1. 安装

使用 Poetry:

poetry install

或使用普通虚拟环境:

python3.11 -m venv .venv && .venv/bin/pip install -e .

2. 登录 PSN

  1. 在浏览器中登录 https://www.playstation.com。

  2. 打开 https://ca.account.sony.com/api/v1/ssocookie —— 会返回 {"npsso":"..."}。

  3. 复制 64 位字符的 npsso 值,然后运行:

poetry run psn-login PASTE_NPSSO_HERE

令牌会以 0600 权限保存到 ~/.mcp-ps-store/tokens.json。

关于会话有效期。 访问令牌有效期为 1 小时,刷新令牌仅 10 天,但 NPSSO 本身有效期约 2 个月。因此 NPSSO 会与令牌一同存储,当刷新令牌过期时服务器会自动重新验证。实际上一次 psn-login 大约可使用 60 天。

3. 验证是否正常

poetry run psn-doctor

它会输出账户名称、可见游戏数量以及按游戏时长排序的前五款游戏。

连接客户端

Claude Code

claude mcp add ps-store -- /path/to/mcp-ps-store/.venv/bin/python -m app.main

Claude Desktop

在 claude_desktop_config.json 中:

{
  "mcpServers": {
    "ps-store": {
      "command": "/path/to/mcp-ps-store/.venv/bin/python",
      "args": ["-m", "app.main"],
      "cwd": "/path/to/mcp-ps-store"
    }
  }
}

Codex CLI

Codex 通过 stdio 与本地 MCP 服务器通信,因此使用方法相同。可以运行 codex mcp add,或者将其添加到 ~/.codex/config.toml:

[mcp_servers.ps-store]
command = "/path/to/mcp-ps-store/.venv/bin/python"
args = ["-m", "app.main"]
cwd = "/path/to/mcp-ps-store"

在 Codex 会话中使用 /mcp 进行验证。

ChatGPT

ChatGPT 无法启动本地进程。自定义连接器需在开发者模式(设置 → 应用 → 高级)中添加,且必须是支持 SSE 或 Streamable HTTP 的公共 HTTPS 端点。因此需要将服务器切换为 HTTP 传输并发布:

PSN_MCP_TRANSPORT=streamable-http PSN_MCP_PORT=8000 poetry run mcp-ps-store

然后通过 HTTPS 暴露 http://127.0.0.1:8000/mcp —— 使用 OpenAI 的 Secure MCP Tunnel,或 cloudflared / ngrok 等隧道工具 —— 并将生成的 URL 添加为自定义连接器。

这会将你的 PSN 历史暴露给所有找到该 URL 的人。 服务器本身没有身份验证,因此请为隧道设置认证,仅在需要时保持运行,如果本地客户端可用,请优先使用 Codex CLI。

配置

所有设置均从环境变量或 .env 文件中读取(参见 .env.example)。

变量

默认值

含义

PSN_NPSSO

—

NPSSO cookie。psn-login 的替代方案:如果设置,服务器将自行登录。

PSN_TOKENS_PATH

~/.mcp-ps-store/tokens.json

令牌缓存路径。

PSN_CACHE_TTL

600

PSN 响应复用时长,单位秒。

PSN_STORE_LOCALE

en-us

store.playstation.com 链接中使用的区域设置。

PSN_REQUEST_TIMEOUT

30

PSN 请求的 HTTP 超时时间,单位秒。

PSN_MCP_TRANSPORT

stdio

stdio、streamable-http 或 sse。

PSN_MCP_HOST

127.0.0.1

HTTP 传输的绑定地址。

PSN_MCP_PORT

8000

HTTP 传输的端口。

局限性

  • 游戏时长仅存在于 PS4 / PS5 / PC 版本。 PSN 对 PS3 和 Vita 游戏仅报告奖杯信息,因此这些游戏会显示 hours: null。

  • 此处不包含 PS Store 目录。 商店完全在客户端侧,其 GraphQL API 仅接受每次部署时索尼都会更换哈希值的持久化查询——保持其正常工作不切实际。推荐候选游戏来自模型自身的游戏知识,而 psn_owned_games 可防止推荐已购买的内容。

  • 已购买的库 通过 PSN 的私有 GraphQL API 获取。如果索尼更改查询方式,该工具将停止工作;其他所有功能仍正常运行,摘要中会添加 backlog_unavailable 注释。

  • 游戏时长和奖杯通过标题关联,因此当重制版与原版共享奖杯集时,两者可能合并。版本、平台后缀和罗马数字会被有意标准化——Alan Wake II 和 Alan Wake 2 被视为同一款游戏。

  • 该 API 是非官方的:索尼随时可能更改。

项目结构

.
├── app/
│   ├── api/              # MCP layer: tools, prompts, serialisers, tool errors
│   │   ├── games/
│   │   ├── profile/
│   │   └── taste/
│   ├── core/             # Business logic: services, repositories, DTOs
│   │   ├── auth/         # NPSSO -> tokens, refresh, re-login
│   │   ├── games/        # Library, playtime/trophy merge, name normalisation
│   │   ├── profile/      # Account profile and trophy summary
│   │   └── taste/        # Taste digest aggregation
│   ├── di/               # DI containers and providers
│   ├── infra/adapters/   # HTTP client, token storage, TTL cache
│   ├── cli.py            # psn-login, psn-doctor
│   └── main.py           # MCP server entry point
├── settings/             # pydantic-settings configuration
├── tests/
│   ├── core/             # Merge and aggregation tests
│   └── factories/        # Builders for test data
└── pyproject.toml

开发

poetry run pytest        # unit tests; no network and no account needed
poetry run psn-doctor    # live check against the signed-in account

Available Tools

7 tools
psn_game_trophiesTrophy detail for one gameA
Read-only

Full trophy list for a single game with earned status, earn dates and rarity. Pass a title (fuzzy match against the account's games) or an exact np_communication_id. Useful for 'what's left to platinum' and for judging how deeply the user engaged with a game.

ParametersJSON Schema
NameRequiredDescriptionDefault
gameNoGame title, matched against the account's library.
limitNo
statusNoWhich trophies to return.all
include_hiddenNo
np_service_nameNoRequired only with a raw np_communication_id.
np_communication_idNoExact trophy set id, e.g. NPWR21434_00.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the read-only/open-world safety profile, and the description adds useful behavioral detail such as fuzzy matching and needing np_service_name only with a raw ID. However, it calls the result 'Full' while the schema defaults limit to 150, and it doesn't disclose hidden-trophy behavior or what happens when no identifier is passed.

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

Conciseness5/5

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

Two sentences deliver output, input modes, and use cases with no filler. The most decision-relevant information appears first.

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

Completeness3/5

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

It is strong for a read-only tool with output schema present, but several invocation details are left implicit: 0 required parameters means both identifiers can be omitted, yet no fallback behavior is described, and the default limit of 150 qualifies the 'Full' claim. Those gaps matter for correct invocation.

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

Parameters3/5

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

Schema description coverage is moderate (67%), and the description contributes beyond schema by explaining the game-vs-np_communication_id choice and fuzzy matching. It does not add meaning for limit, status, or include_hidden, but those are partially covered by schema defaults and titles.

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 description names a specific resource (full trophy list for a single game) and the data it returns (earned status, earn dates, rarity), which clearly separates it from sibling tools focused on libraries and profiles. The verb 'Pass' and the title make the operation obvious.

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 states two concrete input routes (fuzzy title match or exact np_communication_id) and gives use cases ('what's left to platinum', engagement depth). It does not explicitly name sibling alternatives or when-not conditions, but the context makes the intended selection clear.

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

psn_libraryPSN game libraryA
Read-only

Filtered, sorted list of games on the account, joining playtime with trophy progress. Use it to answer questions like 'what did I play most in 2024', 'what have I nearly finished', 'what did I drop quickly'. Store page: https://store.playstation.com//concept/.

ParametersJSON Schema
NameRequiredDescriptionDefault
sortNoOrdering of the result.hours
limitNo
offsetNo
searchNoCase-insensitive substring match on the title.
platformNoKeep only one platform.all
max_hoursNo
min_hoursNo
played_sinceNoISO date; keep games last played on or after it.
only_platinumNo
played_beforeNoISO date; keep games last played before it.
max_trophy_progressNo
min_trophy_progressNo
include_trophy_countsNoAdd per-grade trophy counts to every row.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description is consistent with them (no contradiction). The description adds one useful behavioral detail — the store page URL pattern — but does not disclose edge behaviors such as how unplayed games sort, whether filters combine, or the meaning of 'recently_played' for never-played titles. With annotations covering the safety profile, the added value is modest.

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?

The description is a tight two-sentence structure that is front-loaded with the purpose, followed by illustrative examples and a practical store-page URL. Every element earns its place with no filler. Minor deduction for the trailing URL being lower-priority context for tool selection, but it adds real operational value.

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

Completeness3/5

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

Given the tool's complexity (13 parameters) and six siblings, the description covers the core purpose and gives usable examples, and the output schema covers return values. But it omits sibling differentiation and edge-case behavior entirely. It is sufficient for a basic call but leaves an agent to guess at how this tool relates to the other five library tools.

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

Parameters3/5

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

Schema description coverage is only 46%, so the description must compensate. It partially does: 'joining playtime with trophy progress' maps to the playtime filters (min/max_hours, played_since/before) and trophy filters (min/max_trophy_progress, only_platinum), and the examples imply date-range and sort usage. But it never explains the undocumented params (limit, offset, only_platinum) in any detail, and param names carry much of the burden. Adequate but not thorough compensation.

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 states a specific verb and resource — 'Filtered, sorted list of games on the account, joining playtime with trophy progress' — which distinguishes it from likely siblings like psn_owned_games (just ownership) and psn_recently_played (just recency). The example questions reinforce the combined playtime+trophy scope.

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

Usage Guidelines3/5

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

The three example questions ('what did I play most in 2024', 'what have I nearly finished', 'what did I drop quickly') give strong implicit context for when to use this tool. However, with six siblings available, it never names alternatives or states when NOT to use this tool (e.g., when psn_owned_games or psn_recently_played would suffice), leaving the selection decision partially to inference.

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

psn_owned_gamesPurchased PSN libraryA
Read-only

Games the account has bought or claimed (including PS Plus monthly claims), with hours played where known. Check this before recommending anything so you do not suggest a game the user already owns, and to surface unplayed purchases.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
searchNo
platformNoall
unplayed_onlyNoKeep only games with no recorded playtime.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint=true, the safety profile is already established by annotations. The description adds useful behavioral context beyond that: the inventory includes PS Plus claims, playtime data is only present 'where known', and the tool is meant to surface unplayed purchases. No contradiction with the annotations is present.

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

Conciseness5/5

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

The description is two tight sentences with no filler. The first sentence front-loads the data scope, and the second sentence explains when and why to use the tool, earning every word.

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

Completeness3/5

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

The description covers the core use case well and an output schema exists, so return-value details are not needed. However, with five parameters and only 20% schema coverage, the descriptions do not fully explain how to leverage search, platform filtering, or pagination. It also does not contrast with psn_library, which may be a close sibling, leaving some contextual ambiguity.

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

Parameters2/5

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

Schema description coverage is only 20%, so the description needed to compensate for limit, offset, search, and platform, but it does not explain any of those. Only 'unplayed purchases' loosely maps to the unplayed_only parameter. The parameter names are somewhat self-explanatory, which keeps this above a 1.

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

Purpose4/5

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

The description clearly specifies the resource: games the account has bought or claimed, including PS Plus monthly claims, with hours played where known. It also states the practical purpose: avoid recommending owned games and surface unplayed purchases. It stops short of explicitly distinguishing itself from the sibling psn_library, so it is not a full 5.

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?

The description gives an explicit trigger: 'Check this before recommending anything' and explains why, preventing duplicate game suggestions and highlighting unplayed purchases. It does not name sibling alternatives or state when not to use it, but the guidance is clear enough for an agent to know when to call it.

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

psn_profilePSN account profileB
Read-only

Online ID, PS Plus status, trophy level and lifetime trophy counts.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already communicate readOnlyHint=true and openWorldHint=true, so the description is not burdened with stating that this is a safe read operation. It adds a little context by enumerating the returned profile fields, but it does not disclose any additional behavioral traits such as authentication needs, staleness, or relationship to refresh operations. No contradiction with annotations exists.

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?

The description is a single compact phrase with no filler and front-loads the core identity of the tool. It is appropriately terse for a zero-parameter read-only tool, though it reads as a fragment rather than a complete, well-formed sentence.

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

Completeness4/5

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

Given the low complexity — no parameters, simple read-only behavior, and an output schema present — the description is mostly sufficient by listing the main profile fields. It could be more complete by explicitly stating that this is the authenticated user's account profile and by clarifying how it differs from psn_taste_profile, but these are minor gaps.

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?

The tool has zero parameters and fully covered schema documentation, so the baseline for this dimension is 4. The description has no parameter semantics to add because there are no inputs to explain.

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

Purpose4/5

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

The description clearly identifies the resource — a PSN account profile — and lists the concrete data fields it exposes (Online ID, PS Plus status, trophy level, lifetime trophy counts). It lacks an explicit verb like 'returns' or 'gets,' and it does not directly distinguish itself from sibling psn_taste_profile, so it stops short of a 5.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus psn_taste_profile, psn_library, psn_refresh, or psn_recently_played. The intended use is only implicit from the name and fields; there are no exclusions, alternatives, or context conditions.

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

psn_recently_playedRecently playedB
Read-only

The account's most recently launched games, newest first.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds useful context about account scope and sort order, but it does not disclose behavior such as how the limit parameter applies or what happens if the account has no recent activity. This is acceptable but not rich.

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

Conciseness5/5

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

The description is a single, concise sentence that front-loads the core purpose and ordering information. Every word contributes meaning, and there is no redundant or filler content.

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

Completeness4/5

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

For a simple read-only listing tool with one optional parameter and an output schema, the description is nearly complete. It states the resource, account scope, and sort order. The only notable omission is any mention of the limit parameter, though the schema fully documents it with defaults and constraints.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to compensate by explaining the 'limit' parameter. It does not mention the limit at all. The parameter name and constraints (default 20, min 1, max 50) are somewhat self-explanatory, but the description itself adds no parameter-level meaning.

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

Purpose4/5

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

The description clearly identifies the resource: the account's most recently launched games, and even specifies ordering ('newest first'). It does not use an explicit verb like 'list' or 'retrieve', but the meaning is unambiguous. It also distinguishes itself from sibling tools by the recency filter.

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

Usage Guidelines3/5

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

The description implies the tool should be used when the agent needs the account's recently played or launched games. However, it does not explicitly state when to use this tool versus alternatives like psn_library or psn_owned_games, nor does it provide any exclusion criteria.

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

psn_refreshRefresh PSN cacheA
Idempotent

Drops the cached PSN responses so the next call re-reads live data. Use after the user has just played something.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.5/5.0
Behavior4/5

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

The description explicitly discloses that the tool invalidates cached data and that subsequent calls will re-read from live sources, which goes beyond the annotations (readOnlyHint=false, idempotentHint=true). This gives the agent a clear mental model of the mutation and its deferred effect.

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

Conciseness5/5

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

The description is compact: one sentence explains the operation and its effect, and a second sentence gives the usage trigger. Every word earns its place with no redundancy.

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 parameterless cache-refresh tool with an output schema and clear annotations, the description explains both what happens and when to call it. No important behavioral or usage detail is missing.

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?

The tool has zero parameters, and the schema fully covers this with an empty properties object. The description adds no parameter details, but none are needed; the baseline for a parameterless tool is appropriate here.

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 description clearly states the action ('Drops the cached PSN responses'), the resource (PSN cache), and the intended outcome ('the next call re-reads live data'). This distinguishes it from all sibling read tools such as psn_library or psn_profile.

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?

The phrase 'Use after the user has just played something' gives a concrete trigger condition for when to invoke the tool. It does not name exclusions or alternatives, but for a cache-refresh tool this clear contextual cue is sufficient.

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

psn_taste_profilePSN taste profileA
Read-only

One-shot digest of the account's gaming taste: totals, playtime habits, top games by hours, favourite franchises, platinums, games close to completion, games bounced off after a short try, and unplayed purchases. Start here for any recommendation request.

ParametersJSON Schema
NameRequiredDescriptionDefault
topNoHow many top-by-hours games to include.
include_backlogNoInclude purchased-but-never-played games.

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.3/5.0
Behavior4/5

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

The description adds behavioral context beyond the readOnlyHint annotation by specifying that this is a one-shot, consolidated digest covering multiple dimensions of the account's gaming history. It does not detail potential rate limits or freshness caveats, but the read-only nature is already covered by annotations and the description does not contradict them.

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

Conciseness5/5

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

The description is two sentences with no filler, front-loading the core purpose and then giving a direct usage directive. Every phrase contributes either to scope, content, or routing.

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?

Given the output schema, readOnlyHint annotation, and clear parameter schema, the description covers account scope, content scope, and intended usage. Nothing essential is missing for an agent to decide to call this tool and understand what it will receive.

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

Parameters3/5

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

The input schema has 100% description coverage for both parameters, so the baseline is 3. The description loosely reinforces 'top games by hours' for the top parameter and 'unplayed purchases' for include_backlog, but it adds no new semantic detail beyond what the schema already provides.

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 description opens with 'One-shot digest of the account's gaming taste' and lists concrete content areas like totals, playtime habits, top games, franchises, and platinums. This clearly distinguishes it from sibling tools such as psn_profile, psn_owned_games, and psn_library by framing it as a consolidated taste summary rather than a single-purpose lookup.

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?

The closing instruction, 'Start here for any recommendation request,' gives explicit routing guidance for when to use this tool. It does not enumerate when-not-to-use conditions or name alternative siblings, but the primary usage context is clear and actionable.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 7 tool updatesv0.1.0
    • First observedpsn_game_trophies
    • First observedpsn_library
    • First observedpsn_owned_games
    • First observedpsn_profile
    • First observedpsn_recently_played
    • First observedpsn_refresh
    • First observedpsn_taste_profile

TDQS

A3.7/5.0

Scored across 7 tools

Disambiguation3/5

Most tools are distinct, but psn_taste_profile, psn_library, and psn_owned_games overlap in what they surface: playtime habits, nearly-finished games, dropped games, and unplayed purchases are all claimed by more than one tool. The descriptions somewhat clarify their intents (digest vs. queryable list vs. ownership check), but an agent could easily pick the wrong one for a given user question.

Naming Consistency4/5

All tools share a consistent psn_ prefix and snake_case convention, which makes them recognizable as a family. The primary deviation is that psn_refresh is verb-first while the rest are noun phrases (psn_library, psn_profile, psn_owned_games), but the overall pattern is still predictable.

Tool Count5/5

Seven tools is a well-scoped set for a PSN account insights server. Each tool covers a meaningful slice of the domain—profile, library, owned games, recent activity, trophies, taste digest, and cache refresh—without feeling padded or redundant at the count level.

Completeness4/5

The core domain of account-level PSN data is well covered: profile, catalog, ownership, recency, trophies, and an aggregate taste digest are all present. Minor gaps exist, such as no direct store/game-details lookup or cross-game trophy comparison, but the set supports the stated recommendation and account-insight workflows without major dead ends.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers