Skip to main content
Glama

list_relations

Read-only

List entity-to-entity semantic relations in a book to map how characters, places, and other world entities connect.

Instructions

List semantic relations (entity-to-entity relationships) 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>"
    },
    "name": "list_relations"
  }
}

Input Schema

NameRequiredDescriptionDefault
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. The description adds essentially no behavior beyond that: it does not say whether results are paginated, whether relations include direction/type/labels, or what scope 'in a book' imposes beyond the single required ID.

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?

One short sentence with the resource front-loaded and zero filler. It is efficiently sized for a simple list operation, though the parenthetical could have been spent on guidance instead of a definition.

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

Completeness3/5

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

For a single-parameter read tool with no output schema, the description is minimally adequate: an agent knows what it lists and what to pass. It omits return shape (direction, relation type, paging) that would matter when deciding between this and list_entity_facts.

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 description coverage is 100% for the single bookId parameter, so the schema carries the parameter documentation burden. The phrase 'in a book' merely restates the bookId scoping already visible in the schema, adding no new semantics.

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?

Names a specific verb (List) and resource (semantic relations), and the parenthetical 'entity-to-entity relationships' disambiguates the ambiguous term 'relations'. It does not, however, distinguish itself from nearby siblings like list_entity_facts or list_knowledge, leaving the agent to infer the boundary.

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 when-to-use guidance, no statement of prerequisites, and no pointer to an alternative tool for related but distinct data. The agent must guess whether this or list_entity_facts is the right call for relationship data.

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