Skip to main content
Glama

list_project_files

List files in a Godot project directory, with optional filtering by file extension and subdirectory. Supports pagination with cursor and limit.

Instructions

List project files, optionally filtered by extension

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum files returned per page. Default: 1000
cursorNoZero-based cursor from a previous response. Default: 0
extensionsNoOptional file extensions to filter by (e.g., [".gd", ".tscn"]). Include the dot.
projectPathYesGodot project path
subdirectoryNoOptional subdirectory to search in (e.g., "scripts/player")
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the basic operation without mentioning pagination (cursor/limit), sorting, error handling, or response format. The schema hints at pagination, but the description fails to address this explicitly.

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?

The description is a single, clear sentence with no redundancy. It is appropriately concise for a straightforward listing tool.

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?

Given 5 parameters, no output schema, and no annotations, the description is adequate but lacks details on return values and behavioral context like pagination. It is minimally complete for a simple list function.

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 description coverage is 100%, so the baseline is 3. The description adds 'optionally filtered by extension' which reinforces the 'extensions' parameter, but does not provide new insights beyond the schema's existing parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'List' and resource 'project files', clearly indicating the tool's function. It mentions optional filtering by extension, which distinguishes it from sibling tools like 'list_projects' (which lists projects) and 'read_file' (which reads a specific file).

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?

The description does not explicitly guide when to use this tool versus alternatives like 'list_projects' or 'read_file'. While the context of siblings implies differentiation, there is no direct advice on when to choose this tool over others.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/beremaran/godot-agent-loop'

If you have feedback or need assistance with the MCP directory API, please join our Discord server