Skip to main content
Glama

sync_user_collections

Read-onlyIdempotent

Fetch all paginated Bangumi user collections across five subject types with status statistics, optional favorites, and filtering.

Instructions

Fetch all paginated collections across all 5 subject types (book/anime/music/game/real) with status statistics.

Read-only in MCP (no local filesystem writes; use bangumi-cli sync -o FILE for local JSON export).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sync_user_collections"
  }
}

Input Schema

NameRequiredDescriptionDefault
refreshNo
usernameNo
include_itemsNo
subject_typesNo
include_favoritesNo
max_items_returnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true. The description adds real value on top by explicitly resolving the 'sync' misnomer — clarifying that no local filesystem writes occur in MCP and redirecting export needs to the CLI. It stops short of disclosing pagination depth, refresh/caching behavior, or rate limits for a call that fans out over five subject types.

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?

Two short sentences with the scope statement front-loaded and no filler. The read-only note in parentheses is slightly appended rather than structured, but every clause earns its place.

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?

With six optional parameters, no output schema, and no parameter descriptions in the schema, the definition should say more about how refresh and max_items_returned affect the result and what the returned statistics look like. It adequately covers purpose and safety, but a caller can still misconfigure the call.

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% across six parameters, so the description carries the full explanatory burden. It only touches subject_types (by listing the five valid subject types) and says 'all paginated' without explaining refresh, username, include_items, include_favorites, or max_items_returned (default 100, max 500). Most parameters remain opaque.

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?

States a concrete verb and resource: fetch all paginated collections across the five subject types (book/anime/music/game/real) with status statistics. That is specific enough to act on, but it does not differentiate itself from siblings such as get_user_collections, check_user_collections, or get_user_subject_collection, so the agent cannot route between them from this text alone.

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 usage context (full sync across all subject types) and gives one exclusion — don't use it for local JSON export, use `bangumi-cli sync -o FILE` instead. However, it never says when to prefer this over the closely named sibling collection tools, which is where the ambiguity actually matters.

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