Skip to main content
Glama

Create shelf

create_shelf

Create a shelf to group books in BookStack, optionally adding specific books to organize your wiki.

Instructions

Create a shelf (a group of books), optionally with books on it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
tagsNoTags as {name, value}. When updating, this replaces all existing tags.
book_idsNoBooks to put on the shelf, in order
descriptionNoShort plain-text description

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden, and it discloses almost nothing: no permission requirements, no uniqueness/duplicate handling for the name, no side effects, and no mention of what creation returns. The parenthetical defining a shelf adds conceptual clarity but not behavioral context.

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?

A single short sentence that front-loads the action and resource, with zero filler. It is efficient, though arguably terse to the point of under-specification rather than optimally structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no annotations and no output schema, the description is too thin: it omits return values, error/duplicate behavior, and any creation constraints. The richer schema details (tag replacement, ordering) partially compensate but the description itself leaves meaningful gaps.

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 75%, so most parameters (tags, book_ids, description) are already documented in the schema, including the ordering and tag-replacement semantics. The description only loosely echoes book_ids with 'optionally with books on it' and adds nothing about name, tags, or description beyond what the schema states.

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 and resource ('Create a shelf') and clarifies the domain concept with a parenthetical ('a group of books'), plus notes the optional book attachment. This distinguishes it from sibling create_* tools (create_page, create_book, create_chapter) by resource, though it does not explicitly contrast with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus alternatives (e.g., update, create_book) and no stated prerequisites or preconditions. The only hint is the phrase 'optionally with books on it', which implies the book_ids path but is not framed as usage guidance.

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