Skip to main content
Glama

set_person_collection

Collect a person or studio for the authenticated Bangumi user by person ID; uncollecting is currently unavailable upstream.

Instructions

Collect (favorite) a person/studio for the authenticated user (POST /v0/persons/{person_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": {
      "person_id": "<person_id>"
    },
    "name": "set_person_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectNo
person_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly false, destructive false, openWorld true); the description adds real context beyond them: the auth token requirement, the endpoint, and the fact that the reverse operation fails with a specific upstream error code. The only unexplained wrinkle is that destructiveHint=false while 'uncollect' would normally be the destructive half — the note that it is disabled resolves that.

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, front-loaded with the action, then the precondition and the caveat. No filler; the endpoint in parentheses is a useful 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 two-parameter toggle-style write tool with no output schema, the description covers action, auth, and the failing path. It does not say what a successful response looks like, but with annotations already declaring the operation type that gap is minor.

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 must carry the semantics, and it does explain the important one: collect=False means uncollect and is unavailable. person_id is left implicit but is unambiguous from the resource and endpoint path.

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 specific verb ('Collect (favorite)') and resource ('a person/studio') for the authenticated user, plus the underlying endpoint. The resource noun itself separates it from set_character_collection and set_index_collection, though no sibling is named explicitly.

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?

Gives a clear precondition (requires BANGUMI_ACCESS_TOKEN) and an explicit when-not-to: uncollecting via collect=False is disabled upstream and returns UNSUPPORTED_UPSTREAM. It stops short of pointing at any alternative tool, but the exclusion is concrete and actionable.

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