Skip to main content
Glama

set_character_collection

Collect or favorite a Bangumi character for the authenticated user, enabling personal character collection management. Requires a BANGUMI_ACCESS_TOKEN.

Instructions

Collect (favorite) a character for the authenticated user (POST /v0/characters/{character_id}/collect).

Requires BANGUMI_ACCESS_TOKEN. Note: uncollecting (collect=False) is currently disabled in upstream bangumi/server and returns UNSUPPORTED_UPSTREAM.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "character_id": "<character_id>"
    },
    "name": "set_character_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectNo
character_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, openWorldHint=true. The description adds value beyond them by disclosing the auth requirement (BANGUMI_ACCESS_TOKEN) and a concrete failure mode (UNSUPPORTED_UPSTREAM on uncollect). It stops short of saying whether the call is idempotent or what a repeated collect does, which is the remaining behavioral gap.

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?

Three short sentences, front-loaded with purpose, followed by the auth prerequisite and the caveat. Nothing redundant; the endpoint reference is compact and adds precision rather than noise.

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 2-parameter mutation with no output schema, the description covers purpose, auth, and the disabled branch, which is most of what an agent needs. The only omission is what a successful call returns or confirms, which would round it out.

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 0%, so the description carries the burden. It explains the non-obvious meaning of collect=True (favorite) and, crucially, that the False branch is non-functional. character_id semantics are left to the schema's type/minimum, which is adequate given the endpoint template spelled out in the description.

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?

States a specific verb (collect/favorite) and resource (a character) for the authenticated user, and even names the upstream endpoint POST /v0/characters/{character_id}/collect. The resource noun 'character' cleanly separates it from set_person_collection and set_index_collection without the agent needing to open schemas.

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

Usage Guidelines5/5

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

Gives both the when (favoriting a character as the current user) and an explicit when-not: collect=False is disabled upstream and returns UNSUPPORTED_UPSTREAM. An agent reading this cannot accidentally call the broken path without warning.

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