Skip to main content
Glama

list

Browse indexed documents, collections, databases, or registrations before ingesting to avoid duplicate indexing. Filter documents by collection for a focused catalog.

Instructions

Use to see what's already indexed before ingesting it again.

Args: kind: What to list — "documents", "collections", "databases", or "registrations". collection: Optional collection filter (only for kind="documents").

Returns: A formatted catalog of the selected kind, optionally collection-filtered. Input refusals, daemon errors, and unexpected failures return Error: ... text. Connection failures include recovery guidance.

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

Input Schema

NameRequiredDescriptionDefault
kindYes
collectionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does real work: it discloses the return shape (a formatted catalog), a tiered error model (input refusals, daemon errors, unexpected failures return 'Error: ...' text), and that connection failures include recovery guidance. It never explicitly states the operation is read-only or whether results are paginated, which keeps it below a 5.

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 use-case sentence is front-loaded, followed by tight Args/Returns blocks; every line carries information. The docstring-style headers are slightly mechanical, but no sentence is wasted.

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 two-parameter read tool, the description covers purpose, both parameters' semantics, and failure modes. An output schema exists so return values need not be spelled out, and the brief Returns note is harmless context. Missing only read-only framing and any mention of the collection default.

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 0% and the schema's kind property has no enum, so the description's enumeration of valid kind values is essential rather than redundant. It also explains that collection is an optional filter scoped to kind="documents". It does not mention the empty-string default or what an invalid kind triggers, leaving a minor gap.

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 pins down the purpose as 'see what's already indexed', and the Args section enumerates the four listable kinds (documents, collections, databases, registrations), which is far more specific than the bare name 'list'. It does not distinguish itself from near-siblings such as find, show, or status, so it falls short of a 5.

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

Usage Guidelines4/5

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

It gives an explicit trigger condition: use before ingesting to avoid re-ingesting already-indexed content. It also states the applicability constraint for the collection filter (only for kind="documents"). There are no exclusions or named alternative tools, so it is clear but not fully routing.

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