Skip to main content
Glama

bulk_edit_metadata

DestructiveIdempotent

Update tags, genres, moods, authors, series, publisher, or language across many books at once. Returns a preview first and writes only when confirmed.

Instructions

Set tags/genres/moods/authors/series/publisher/language on many books at once.

Two-step: without confirm=True this only returns a per-book preview (nothing is written). Show the preview to the user, then call again with identical arguments and confirm=True. merge: True adds tags/genres/moods to existing ones; False replaces them. Authors always replace. Refuses the whole batch if any targeted field is locked on any book.

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": {
      "book_ids": "<book_ids>"
    },
    "name": "bulk_edit_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
mergeNo
moodsNo
genresNo
authorsNo
confirmNo
book_idsYes
languageNo
publisherNo
series_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare destructive/idempotent/readOnly flags; the description adds what the agent actually needs: nothing is written without confirm=True, merge semantics differ per field type (authors always replace), and the batch is rejected wholesale if any targeted field is locked. That is substantial behavior beyond structured data, and it is consistent with destructiveHint=true.

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?

Four short lines, front-loaded with purpose, then the safety-critical two-step flow, then per-field nuance. No filler, and the most dangerous detail (confirm) is placed early.

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?

Output schema exists so return values need no explanation, and the description covers the safety model, merge semantics, and failure mode. The remaining gap is what happens to unlisted fields and whether book_ids must exist or can partially fail.

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 description coverage is 0%, so the description must carry the load, and it does explain merge, confirm, and enumerates the editable field parameters. It stops short of stating whether an omitted field leaves existing values untouched — a critical semantic for a 10-parameter mutation tool.

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?

Names a specific verb ("Set") and the exact resources it mutates (tags/genres/moods/authors/series/publisher/language), plus the scope ("on many books at once"). The bulk scope is stated up front, which is the key differentiator from single-book metadata editing.

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 an explicit operational protocol: call without confirm to preview, show the user, then re-call with identical arguments and confirm=True. That is strong when-to-call sequencing, but there is no explicit statement of when to prefer a single-book edit tool over this one.

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