Skip to main content
Glama

update_index

Edit a Bangumi Index's title and/or description by index ID; requires BANGUMI_ACCESS_TOKEN for authenticated updates.

Instructions

Edit a Bangumi Index's title and/or description (PUT /v0/indices/{index_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>"
    },
    "name": "update_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNo
index_idYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 description's main addition is the BANGUMI_ACCESS_TOKEN requirement and the exact endpoint. It does not disclose whether the caller must own the index, whether unspecified fields are left untouched, or what happens on a permission failure.

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 front-loaded sentence naming the action, the edited fields, and the endpoint, followed by the auth prerequisite. Nothing is redundant.

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 simple three-parameter mutation with annotations covering the safety profile and no output schema, the definition covers what is edited, the endpoint, and the auth requirement. Remaining gaps are ownership/permission rules and partial-update behavior, which are minor for this complexity.

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 names title and description and implies index_id via the path template. However, it gives no format, length, or null-handling semantics for the nullable title/description fields, so it only partially compensates.

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?

Names a specific verb ('Edit') and resource ('a Bangumi Index's title and/or description'), and the PUT endpoint confirms the exact scope. It is distinguishable from subject-level siblings like update_index_subject, though it does not name those siblings explicitly.

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 implied by the resource and the 'and/or' phrasing, which tells the agent either field may be supplied. There is no explicit when-to-use/when-not guidance and no comparison to alternatives such as create_index or update_index_subject.

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