Skip to main content
Glama

list_facets

Read-only

Retrieve existing facet values such as authors, genres, tags, moods, series, publishers, languages and shelves so you can reuse correct spellings and avoid near-duplicate metadata.

Instructions

Existing values per facet (authors, genres, tags, moods, series, publishers, languages, shelves...).

Use this to reuse existing tag/genre spellings instead of inventing near-duplicates.

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_facets"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 and the description correctly implies a pure read. It adds the canonicalization intent, which is useful context beyond the annotations. It does not disclose how the facets are scoped (whole library vs. filtered) or what the query argument does behaviorally.

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?

Two short sentences, the resource definition first and the usage rationale second. No filler, no restatement of the name, and the actionable guidance is not buried.

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?

An output schema exists, so return values need not be spelled out, and the read-only annotations cover safety. However, for a tool whose only input is an unexplained `query`, the description leaves an agent guessing at invocation semantics, which is the main completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single `query` parameter, so the description carries the burden of explaining it and does not — a reader cannot tell whether it filters facets by prefix, by book, or by facet type. The facet list in the description hints at scope but says nothing about how `query` interacts with it. With one undocumented parameter this is a clear gap.

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 concrete resource with an enumerating parenthetical: existing values for authors, genres, tags, moods, series, publishers, languages, shelves. An agent can tell this returns facet vocabularies rather than books or shelves. It lacks an explicit verb (list/return) but the resource scope is unmistakable.

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 a clear positive trigger: use it to reuse existing tag/genre spellings instead of inventing near-duplicates. That ties the tool to a real workflow decision. It does not name an alternative or state when not to call it, so it stops short of full routing guidance.

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