Skip to main content
Glama
YanaShuvaieva

WordPress MCP Custom Server

project.files.list.v1

Recursively list files in the project root to inspect WordPress site structure. Adjust path and limit to target specific directories.

Instructions

List files inside WP_PROJECT_ROOT recursively.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNo.
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It fails to mention the 200-item default limit, whether pagination exists, what happens when the path doesn't exist, whether hidden files are included, or what the return structure looks like. For a listing tool covering potentially huge recursive trees, the absence of limit/overflow caveats is a notable gap.

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?

A single sentence, no filler, front-loads the core purpose. Appropriate size for the tool's simple surface area. It earns its place, though a second sentence on limits would strengthen it without bloat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having an output schema, the tool involves directory traversal with a default limit, root-boundary constraints, and a path that defaults to '.'. The description leaves all behavioral nuances to inference. Given zero annotations and zero schema description coverage, the description does not compensate for a recursive listing tool that clearly carries more edge-case behavior than its text conveys.

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%, so both params (path, limit) are undocumented in the schema itself. The description mentions recursion but says nothing about what 'path' means relative to WP_PROJECT_ROOT, what the default '.' resolves to, or the semantics/cap of 'limit'. The description adds essentially zero parameter meaning beyond the raw schema.

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

Purpose3/5

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

The description states it lists files inside WP_PROJECT_ROOT recursively, which is a clear verb+resource+scope statement. However, it doesn't add meaningful differentiation from sibling tools like list_project_files or project.files.read.v1, and the scope 'recursively' is the main distinguishing feature that isn't emphasized relative to alternatives. It's adequate but minimal.

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?

No explicit guidance on when to use this tool vs project.files.read.v1, project.files.write.v1, or the near-duplicate sibling list_project_files. No mention of the root-boundary constraint (files outside WP_PROJECT_ROOT cannot be listed) or the default limit behavior. The 'recursively' scoping is the only implied usage signal.

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/YanaShuvaieva/wp-mcp-custom'

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