Skip to main content
Glama

remove_index_subject

Destructive

Delete a subject from a Bangumi Index using its index and subject IDs to curate or clean up index entries; requires a Bangumi access token.

Instructions

Remove a subject from a Bangumi Index (DELETE /v0/indices/{index_id}/subjects/{subject_id}). 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>",
      "subject_id": "<subject_id>"
    },
    "name": "remove_index_subject"
  }
}

Input Schema

NameRequiredDescriptionDefault
index_idYes
subject_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing the required BANGUMI_ACCESS_TOKEN, but says nothing about reversibility, whether removal requires index ownership, or what happens if the subject is not in the index.

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?

One sentence plus the endpoint in parentheses and the auth requirement — every element earns its place and the action is front-loaded.

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 destructive mutation with no output schema, the definition covers action, target, route, and auth. The remaining gap is behavioral detail on failure modes and permission requirements, which is minor given the annotations already declare destructiveness.

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 must carry the load; it does partially by mapping the two path parameters onto the DELETE route ({index_id}/subjects/{subject_id}). It adds no further semantics such as types (integers), minimum values, or behavior for invalid IDs, which the schema supplies only structurally.

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 definition names a specific verb and resource ("Remove a subject from a Bangumi Index") and pairs it with the exact API route, so the agent can separate it from add_index_subject and update_index_subject without inspecting any schema.

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?

Usage is only implied by the verb "Remove"; there is no explicit statement of when to reach for this tool versus add_index_subject or update_index_subject, and no prerequisites beyond the auth note. The presence of nearby sibling tools makes an explicit alternative hint genuinely useful here.

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