Skip to main content
Glama

The emotional arc of a classic novel, its shape, and the novels whose arcs move most alike

novel_mood_arc
Read-onlyIdempotent

For 'what is the emotional arc of X', 'does X end happier or sadder than it begins', 'where does X turn', 'which novels feel like X as they go'. Sentiment of the full Gutenberg text of 339 classic novels (1678-1928), scored in 100 parts and smoothed: start, end, the change and its rank among all 339, the shape by thirds (Rise, Fall, Rise–fall, Fall–rise), where the sharpest turn falls, the arc every 10%, and the 5 novels whose arcs correlate most closely. Fuzzy-matches the title; if the novel is not in the corpus it says so and lists the closest titles.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>"
    },
    "name": "novel_mood_arc"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesThe novel's title, e.g. 'Moby-Dick', 'Pride and Prejudice'
authorNoOptional author, to pick between similar titles
full_arcNotrue = also return all 100 points of the smoothed arc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond readOnly/idempotent/closed-world annotations, the description discloses the corpus (339 novels, 1678-1928), the scoring method (100 parts, smoothed), the exact outputs produced, and a failure mode: it reports when a novel is absent and lists the closest titles. That is meaningful behavioral context the annotations do not carry, though return formatting and precision caveats are not discussed.

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?

Front-loaded with the intent phrases an agent would match against, then a dense enumeration of outputs and the fuzzy-match caveat. The middle sentence is a long run-on list, but nearly every clause carries information and there is no filler.

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 by enumerating start, end, change, rank, thirds-shape, sharpest turn, decile arc, and top-5 correlates. Combined with the not-found handling, an agent can call this correctly; only the precise response structure and field naming remain unspecified.

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?

Schema coverage is 100%, so the baseline would be 3. The description earns above that by explaining that the title parameter fuzzy-matches and degrades gracefully to nearby titles, which the schema does not say, and by clarifying that the default output is the arc every 10% while full_arc extends it to all 100 points.

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

Purpose5/5

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

The description opens with the exact user questions it answers ('what is the emotional arc of X', 'where does X turn') and then names the concrete artifact: sentiment of the full Gutenberg text of 339 novels, scored in 100 parts. That is a specific verb-plus-resource, and the emphasis on arc shape, turning point, and correlated novels distinguishes it from generic recommendation or genre siblings.

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 implied through quoted phrasings rather than stated routing rules. Notably, 'does X end happier or sadder than it begins' overlaps with the sibling does_book_have_a_happy_ending, and 'which novels feel like X' overlaps with books_like, but the description never says which tool to prefer in those cases. An agent gets a clear sense of when it fits but must infer the boundaries.

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.