Skip to main content
Glama

Read my shelves

get_shelves
Read-onlyIdempotent

Their shelves of their own (board games, perfumes, concerts, wine: anything the library's kinds don't cover). Without arguments: every shelf with its count. With shelf: that shelf's settings (status words, fields) and its entries. With entry_id (or title): one entry in full, with its notes, fields, picture and logged sessions.

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": "get_shelves"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrder of a shelf's entries (default: their own order)
shelfNoA shelf's name (case-insensitive)
titleNoOne entry by its title, instead of entry_id
entry_idNoOne entry's id, for that entry in full
shelf_idNoA shelf's id, instead of the name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely new behavioral detail: shelf settings come back as status words and fields, and an entry returns notes, fields, picture, and logged sessions. It does not mention pagination limits for large shelves or behavior when a shelf name doesn't resolve, which are the remaining gaps.

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?

Four compact clauses, each mapped to a call mode, with no filler sentences. The one inefficiency is the parenthetical list of shelf kinds, which spends lead-position space on examples rather than the core mode contract.

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?

With no output schema, the description carries the burden of describing returns, and it does so per mode (counts per shelf, settings plus entries, full entry with notes and sessions). For a five-parameter, all-optional reader it is nearly complete; missing are error cases for unresolvable shelf names and any indication of how large a shelf's entry list can be.

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 coverage is 100%, so each parameter is already documented individually, and this sets the baseline at 3. The description adds only partial value beyond that: it clarifies the interaction between shelf and entry_id/title (narrowing from shelf to one entry) but says nothing about the sort parameter, which the schema covers on its own.

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?

The description names the resource precisely (custom shelves that hold kinds the main library doesn't cover, with concrete examples like board games, perfumes, concerts, wine) and enumerates three distinct modes of operation. It is distinguishable from neighbors like get_list or search_library, though the opening phrase 'Their shelves of their own' is elliptical and slightly obscures the verb.

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?

The three 'Without arguments / With shelf / With entry_id' clauses effectively give argument-driven usage guidance, so an agent can infer which call shape to use. However, nothing states when to prefer this tool over siblings such as get_list, show_item, get_details, or search_library when hunting for a single entry, and no prerequisites or exclusions are mentioned.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources