Skip to main content
Glama

get_book_context

Read-only

Retrieve full book context in one call, including metadata, chapters, characters, locations, and events, to review before writing or editing.

Instructions

Get full book context in one call: metadata, chapter list, characters, locations, and events. Use this before writing or editing.

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": {
      "bookId": "<bookId>"
    },
    "name": "get_book_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookIdYesBook ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety and variability are covered structurally. The description adds the key behavioral fact that this is an aggregation returning five datasets in a single call, but says nothing about payload size, latency, or whether chapters are summaries or full text — relevant for a call whose whole selling point is breadth.

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 sentences, no filler, with the payload inventory and the usage trigger both front-loaded. Every clause carries information an agent would otherwise have to guess.

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 return content and it does so by enumerating the five sections. What is missing is scale guidance — roughly how large the response is and whether it should be re-fetched per turn — which matters for an open-world aggregation tool.

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?

There is a single required parameter with 100% schema description coverage, so the schema does the work. The description adds no meaning beyond the schema — no note on where a bookId comes from or what happens if it is invalid — so the baseline of 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?

States a specific verb and resource ('Get full book context') and enumerates the five payload sections (metadata, chapter list, characters, locations, events), so the agent knows exactly what comes back. It implicitly separates itself from the sibling 'get_book' via 'full ... in one call', but never names that sibling or makes the contrast explicit.

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?

'Use this before writing or editing' gives a concrete trigger condition tied to a workflow phase, which is genuinely useful for an agent deciding what to load first. However, it offers no exclusions and does not mention cheaper alternatives like get_book or get_chapter for narrow lookups.

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