Skip to main content
Glama

set_index_collection

Collect or uncollect a Bangumi Index for the authenticated user, managing bookmarked indices and personal curation.

Instructions

Collect (bookmark) or uncollect a Bangumi Index for the authenticated user. Requires BANGUMI_ACCESS_TOKEN.

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": {
      "index_id": "<index_id>"
    },
    "name": "set_index_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
collectNo
index_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the write-without-deletion profile is known. The description adds a genuinely useful prerequisite (BANGUMI_ACCESS_TOKEN), but says nothing about idempotency, what happens when the index is already collected, or whether uncollecting is reversible.

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 action front-loaded and the auth requirement following; no filler. It is terse to the point of omitting the index_id meaning, but nothing present is wasted.

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?

For a two-parameter mutation with annotations and no output schema, the definition covers the action and auth requirement but leaves the identifier parameter and post-call behavior unexplained. Adequate to call correctly in the happy path, thin for edge cases.

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 0%, so the description carries the burden. It does explain the collect boolean as the collect/uncollect switch, but index_id is never described (presumably a Bangumi Index ID), leaving one of two parameters undocumented in both schema and prose.

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 pair of verbs (collect/uncollect) against a named resource (Bangumi Index) scoped to the authenticated user. The resource name implicitly separates it from set_character_collection and set_person_collection, but the description never explicitly contrasts them.

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 toggle intent is implied by "Collect (bookmark) or uncollect," and the auth prerequisite is stated, but there is no explicit guidance on when to call this versus add_index_subject, upsert_collection, or the sibling set_*_collection tools, nor any when-not conditions.

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