Skip to main content
Glama

list_files

Retrieve file paths from a mindin vault, optionally filtered by prefix, without metadata or file contents. Use for quick inventory; use search for context questions.

Instructions

CHEAP — paths only, no metadata and no bodies. search answers context questions better.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaultNo
prefixNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.15.2
    • addedInput schema / properties / vault
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Vault"
      +}
  2. First observedv0.2.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral load. It does disclose two valuable traits beyond structured data: the cheap cost profile and the fact that no metadata or file bodies are returned. It says nothing about read-only guarantees, result limits/pagination, or permissions, which matters for a listing tool with an output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short clauses with zero filler, and the cost/output constraint is front-loaded ahead of the alternative-tool pointer. Nothing could be cut without losing meaning.

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?

The output shape is partly covered by the description and fully by the output schema, so return values are fine. However, for a tool whose two parameters are entirely undocumented, the description leaves real gaps about vault scoping and prefix filtering.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and neither parameter is documented in the schema. The description also never mentions `vault` (which vault to list) or `prefix` (path filtering semantics), leaving the agent to infer behavior from the names alone.

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 the resource and the exact output contract ("paths only, no metadata and no bodies"), which combined with the name makes the operation unambiguous. It also distinguishes itself from the `search` sibling explicitly, though it never uses a literal verb like "lists files".

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?

"CHEAP" plus "search answers context questions better" gives a clear routing rule: reach for this when you only need paths and cost matters, and use `search` for content/context questions. There are no explicit exclusions beyond that and no prerequisites stated (e.g. vault scope).

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