Skip to main content
Glama

List a list's items

list_items
Read-onlyIdempotent

A page of a list's items. Data is left out unless includeData (or path) is set. filters use the list's filtering indexes (get_list shows them), by pathName: string indexes match anywhere in the value, or the whole value (ignoring case) with eq: (e.g. "eq:music"), number indexes take lt:, lte:, gt:, gte: (e.g. "gte:10"), date indexes take before: and after: (e.g. "before:2026-01-01"). order takes createdAt, updatedAt, alias, readonly, activated, or a sorting index's pathName. An index that is still building fails with INDEX_BUILDING. 1 request, plus 1 the first time a list's data is read in a session, to find its guard indexes (unless get_list was called).

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": {
      "list": "<list>"
    },
    "name": "list_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
listYesThe list: its id or pathName
pageNoThe page, from 1
pathNoA JSONPath (e.g. $.name) selecting part of each item's data; implies includeData
aliasNoOnly items whose alias value contains this
limitNoResults per page (1-100)
orderNocreatedAt, updatedAt, alias, readonly, activated, or a sorting index's pathName
taggedNoOnly those with these tags: every element must match (AND), and an element can list alternatives separated by commas (OR), e.g. ["game", "draft,review"]
filtersNoFilter values by filtering index pathName, e.g. { "score": "gte:100", "due": "before:2026-01-01", "status": "eq:open" }
readonlyNo
activatedNo
directionNoThe order direction
identityIdNoOnly items owned by this identity
includeDataNoInclude each item's data
includeGuardedNoOnly when this server acts as an identity: include guarded values in the items that identity owns

Output Schema

NameRequiredDescriptionDefault
dataYes
pageYes
limitYes
pagesYes
totalYes
returnedNo
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / filters / description
      Previous value: -"Filter values by filtering index pathName, e.g. { \"score\": \"gte:100\", \"due\": \"before:2026-01-01\" }"New value: +"Filter values by filtering index pathName, e.g. { \"score\": \"gte:100\", \"due\": \"before:2026-01-01\", \"status\": \"eq:open\" }"
  2. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond readOnly/idempotent annotations, it discloses that item data is omitted by default, that path implies includeData, the exact filter syntax per index type, an INDEX_BUILDING failure mode, and a session-level extra request for guard indexes. That is substantial behavioral and cost context not present in 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?

It is front-loaded and information-dense with no filler, but the single long paragraph packs multiple syntax rules together and could be easier to scan with light structuring.

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 14-parameter read tool with an output schema, it covers the main behavioral gaps: data inclusion, filtering, ordering, failure mode, and request cost. It appropriately relies on the schema for secondary parameters and on the output schema for return values.

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 coverage is high at 86%, so the schema carries most parameter documentation; the description still adds meaningful semantics for filters, order values, path's implication for includeData, and default data omission. Some parameters such as tagged, identityId, and includeGuarded are left to the schema.

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 opens with the resource and scope ('A page of a list's items'), making the operation clear, and it explains data omission. It does not explicitly contrast with search_items, so it stops short of full sibling differentiation.

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?

It gives useful context for filtering, ordering and INDEX_BUILDING, and points to get_list for indexes, but it never states when to choose list_items over search_items or other siblings, nor any when-not conditions.

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