Skip to main content
Glama

list_files

Lists all .taskpaper files in the configured directory so you can find TaskPaper documents for reading, searching, or modifying.

Instructions

List all .taskpaper files in the configured directory

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

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/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 behavioral burden and it does disclose three real traits: results are extension-filtered to .taskpaper, scoped to a configured directory, and read-only by implication of "list". It says nothing about recursion into subdirectories, result ordering, or whether an empty list versus an unconfigured directory is distinguishable.

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?

One short sentence, front-loaded with the verb and resource, with the scoping qualifiers trailing. No filler, no restatement of the tool name beyond what is needed to define scope.

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?

For a zero-argument list tool this is close to sufficient, but with no output schema and no annotations the description is the only place an agent could learn what comes back (file paths? names only? relative or absolute?) and it omits that. Adequate, not complete.

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?

The tool takes zero parameters and the schema is a bare object, so there is no parameter meaning to add; baseline 4 applies. The directory being "configured" rather than passed is the one useful hint the description supplies.

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?

"List all .taskpaper files" gives a specific verb plus a precisely scoped resource, and the file-extension filter separates it from the task/project/tag siblings (list_tasks, list_projects, list_tags) by name. It stops short of explicitly naming a sibling it is not, so it lands at 4 rather than 5.

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?

The description states what the tool does but never says when to pick it over read_file or search, nor any precondition such as a directory needing to be configured first. An agent must infer the when-to-use case entirely from the verb "list".

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