Skip to main content
Glama

list_shelves

Read-only

Retrieve the shelves visible to the bot user with ID, name, book count, and public status so you can inspect library organization and choose shelves for further actions.

Instructions

Regular shelves visible to the bot user (id, name, bookCount, public).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_shelves"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds one piece of real context beyond that — results are scoped to what the bot user can see — but it says nothing about ordering, pagination, or whether inactive shelves are included, and the returned-field list duplicates the output schema.

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 with no padding; the scope constraint leads and the field list trails in a parenthetical. It is terse to the point of being a fragment rather than a sentence, but nothing 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?

With no parameters, an output schema, and annotations covering safety, the description only needed to pin down scope and semantics. It does the former but leaves "Regular" undefined and doesn't state whether results are filtered or ordered, which is the one open question an agent would have here.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline of 4 applies. The schema is an empty object and the description correctly implies no arguments are needed.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment identifies the resource (shelves) and the scope (visible to the bot user) and enumerates the returned fields, but it is a noun phrase with no verb and the qualifier "Regular" is never defined. It doesn't distinguish this from siblings such as create_shelf or assign_shelves, so the agent must infer that this is the read path from the name alone.

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 when-to-use or when-not-to-use guidance and no alternative named. The agent gets no explicit signal that this is the enumeration call to make before assign_shelves or create_shelf, nor what the boundary is between "regular" shelves and whatever other shelf kinds exist.

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