Skip to main content
Glama

NextBooks

get_catalog

Read-onlyIdempotent

Describe the catalogue being served. Use it to learn how many books and authors are held, or to notice that a new import has replaced the data. Returns the counts, the import's name and the checksums of its source files.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
loadedYes
generationNo
browse_rowsYes
books_sha256No
built_at_unixNoa 64-bit integer, carried as a decimal string because it exceeds Number.MAX_SAFE_INTEGER
authors_sha256No
books_acceptedYes
schema_versionYes
authors_acceptedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world, so the safety profile is covered. The description adds real context beyond them: the data can be swapped out by an import, and the response identifies which import via its name and source-file checksums, which explains why a repeat call may show different content.

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?

Three short sentences with the purpose front-loaded, then the triggers, then the payload. Nothing is padded, and the only mild redundancy is restating return fields that the output schema already carries.

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

Completeness5/5

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

For a zero-parameter, read-only metadata tool with an output schema, the description covers purpose, when to call it, and the fact that underlying data can change between calls. Nothing needed to invoke it correctly is missing.

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 the baseline is 4. There is nothing for the description to disambiguate, and it correctly implies the call is argument-free.

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?

"Describe the catalogue being served" names a specific verb and resource, and the second sentence clarifies it is a metadata/summary lookup rather than a book lookup. It does not explicitly separate itself from siblings like count_books, which also reports counts, so there is some residual overlap.

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?

It gives two concrete triggers: learning how many books and authors are held, and detecting that a new import has replaced the data. No exclusions or named alternatives are given, so it is clear context without routing guidance.

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