Skip to main content
Glama

list_registered_files

Lists open registered files in a space’s index with location, purpose, expiry, and status; filter due_only to find files past keep_until that still need a decision.

Instructions

List files registered in the file index of this space: where each lives (machine, path, worktree, branch), why, until when, and its status. Default: open files (active and kept). due_only=true lists files past keep_until that still need a decision.

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_registered_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoopen (default: active and kept), all, active, kept, removed or missing.
due_onlyNotrue: only files past keep_until that still need a decision.
this_computerNotrue: only files registered on this computer.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1-alpha.2

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full load and does disclose that this is a read-only index listing with a lifecycle model (keep_until deadlines, status states, pending decisions). It omits details an agent might want, such as ordering, pagination, or permission scoping to 'this space', keeping 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.

Conciseness5/5

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

Two sentences, front-loaded with the core action and scope, then the default behavior and the single non-default mode. No filler or redundancy.

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 three-parameter, no-annotation, no-output-schema read tool, the description covers purpose, default behavior, returned fields, and the main alternate mode. Remaining gaps (ordering, pagination, whether 'this space' implies auth scoping) are minor.

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

Parameters3/5

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

Schema coverage is 100%, so all three parameters are already documented in the schema, including the status enum values and the due_only meaning. The description largely restates those meanings ('due_only=true lists files past keep_until that still need a decision') without adding syntax or edge-case guidance, so baseline 3 applies.

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?

States a specific verb and resource ('List files registered in the file index of this space') and enumerates the returned fields (machine, path, worktree, branch, reason, keep_until, status). This clearly distinguishes it from a plain file listing, though it does not name the sibling `list_files` or explain the difference explicitly.

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?

Gives clear operating context: the default mode (open = active and kept) and the alternate due_only mode for files past keep_until needing a decision. It does not address when to prefer this over sibling tools like `list_files` or `precheck_file`, so it stops short of explicit alternative routing.

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