Skip to main content
Glama

list_lore_pages

Read-onlyIdempotent

List pages in a Lore grouped by template and optionally filter by template name to browse content by page type.

Instructions

List a Lore's pages grouped by template.

Args:
    lore: Lore file name, partial name or path.
    template: optional template-name filter (partial, case/accent-insensitive).

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": {
      "lore": "<lore>"
    },
    "name": "list_lore_pages"
  }
}

Input Schema

NameRequiredDescriptionDefault
loreYes
templateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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. The description adds one real behavioral fact beyond that — results come back grouped by template — but says nothing about what happens when the lore file is missing or ambiguous, or about ordering/paging.

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?

The core sentence is front-loaded and wastes nothing; the Args block is compact and each line adds information rather than merely echoing the parameter names. The docstring-style formatting is slightly verbose for such a small surface but not padded.

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?

This is a two-parameter read tool with an output schema and full annotations, so the description need not explain return values or safety. Purpose, scope, and both parameters' matching semantics are covered; only the selection guidance against sibling tools is absent.

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 description coverage is 0%, so the description carries the full burden, and it does meaningful work: lore accepts a file name, partial name, or path, and template is an optional partial match that is case- and accent-insensitive. That matching semantics is not derivable from the schema, though error/ambiguity behavior for the lore argument remains unstated.

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 states a specific verb and resource ("List a Lore's pages") and adds a distinguishing output trait ("grouped by template"), which separates it from read_lore_page and list_lore_templates. It stops short of explicitly naming which sibling to use instead in a given situation.

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 or when-not-to-use guidance at all; the only additional text is an Args block restating parameter meanings. An agent must infer from the name and siblings that this is the bulk-listing tool versus read_lore_page for a single page.

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