Skip to main content
Glama

list_knowledge

Read-only

Retrieve characters, locations, or events from a book by ID to access structured story entities for analysis and consistency checks.

Instructions

List characters, locations, or events in a book

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>",
      "type": "<type>"
    },
    "name": "list_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes
bookIdYesBook ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered structurally. The description adds no behavior beyond that — nothing about whether results are paginated, whether only names or full entity records are returned, or how much data can come back.

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?

A single, front-loaded sentence with no wasted words. It is arguably over-terse for the information an agent needs, but nothing in it is redundant or padded.

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

Completeness2/5

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

With two required parameters, no output schema, and an open-world read, the description should say what the returned list contains and whether it is bounded. It covers only what the tool lists, leaving the shape and size of results entirely unspecified.

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 50%: bookId has a terse 'Book ID' description and type carries an enum. The description's enumeration 'characters, locations, or events' merely restates that enum and adds no format or meaning beyond the schema, so the 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 gives a specific verb (List) and the exact resource set (characters, locations, or events in a book), matching the enum in the schema. An agent can tell it is a scoped enumeration tool, though it never names how it differs from siblings like search_knowledge or list_entity_candidates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance. The description implies you use it to enumerate entities of a given type in a book, but gives no condition for choosing it over search_knowledge, which is the obvious alternative for looking up entities.

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