Skip to main content
Glama

The genre a novel's own prose places it in (or an author's novels)

genre_of_book
Read-onlyIdempotent

For 'what genre is X by its prose', 'which genre does X belong to', 'what genres did Y write in'. Genres recovered from the words alone across 345 pre-1929 novels: the cluster's name, size, span, distinctive words and held-out library label, the novels nearest in time in the same cluster, and when the genre's name caught on where a name clock exists. Pass a title, or an author for all their novels.

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

Input Schema

NameRequiredDescriptionDefault
titleNoA novel's title, e.g. 'Dracula'
authorNoAn author: alone for all their novels, or with title to disambiguate

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (read-only, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds meaningful provenance: the 345-novel pre-1929 corpus, cluster size/span/distinctive words, a held-out library label, temporally nearest neighbours, and a naming clock. The main gap is silent behaviour when both optional parameters are omitted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loading the example queries is good, but the middle clause becomes a dense enumeration of return fields and ends with the opaque phrase 'where a name clock exists', which an agent cannot act on. It is informative but not tight.

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 largely does so by naming each component of the cluster record. It stops short of covering the zero-argument case and failure behaviour for an unrecognised title, which matters given both parameters are optional.

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% and both parameters are already documented, including the author-alone-vs-author-plus-title distinction. The closing sentence restates the either/or mode, which is mild reinforcement rather than new meaning, so baseline 3 applies.

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 states a concrete query: recover a novel's genre from its prose, or all genres an author wrote in, over a corpus of 345 pre-1929 novels. It is clear what the tool returns, but it never distinguishes itself from siblings like genre_history or what_genres_are_there, which sound adjacent enough that an agent must guess.

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?

Usage is conveyed indirectly through quoted example questions ('what genre is X by its prose', 'which genre does X belong to', 'what genres did Y write in'), which implies when to reach for it. There is no explicit exclusion or pointer to a competing tool, and no guidance on what happens if the call is made with no arguments at all.

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.