Skip to main content
Glama

List lore entities

list_lore_entities
Read-onlyIdempotent

List a campaign's lore entities (NPCs, locations, items, factions). Optionally filter by entity_type.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "list_lore_entities"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax items to return (1-50).
cursorNoOpaque pagination cursor from a previous response.
campaign_idYesThe campaign whose lore to list.
entity_typeNoOptional filter, e.g. 'character', 'location', 'item'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered without the description. The description adds only the scope of the enumeration (campaign-wide, typed entity kinds); it says nothing about default ordering, page size behavior, or what happens with an invalid cursor, but those gaps are minor for a safe read against rich annotations.

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?

Two tight sentences with the resource and scope front-loaded and the optional filter second; nothing is wasted. It is arguably a touch thin rather than bloated, so it scores high on structure but not maximal on substance.

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?

For a simple four-parameter, non-destructive list endpoint with full schema coverage, complete annotations and no output schema, the definition supplies what an agent needs to call it correctly. The remaining omission, differentiation from search_lore, is the only meaningful gap.

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%, so all four parameters including limit, cursor and entity_type are already documented in the schema, establishing the baseline of 3. The description restates the entity_type filter with type examples that slightly conflict with the schema's 'character' wording ("NPCs") rather than adding new meaning such as accepted filter values or casing.

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 ("List a campaign's lore entities") and enumerates the concrete subtypes it covers (NPCs, locations, items, factions). It is clear on its own but never distinguishes itself from the sibling search_lore, which could plausibly return the same data.

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 only implied: the entity_type filter is presented as optional and the subtype examples hint at when to narrow results. There is no explicit when-to-use guidance, no statement of when to prefer search_lore or get_lore_entity instead, and no prerequisite/permission notes.

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.

Resources