Skip to main content
Glama
MCP Visual
by Mauricioo67

List project files

list_project_files

Lists a project's source and configuration files from a given path, with pagination, enabling MCP agents to inspect .NET/Visual Studio project contents.

Instructions

Lists the source and configuration files of a project.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectPath": "<projectPath>"
    },
    "name": "list_project_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return (default 500)
offsetNoItems to skip before the first result
projectPathYesProject path relative to the workspace root, e.g. src/Api/Api.csproj

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.2

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost none. It never says whether listing is recursive, how results are ordered, whether ignored directories (.git, node_modules) are excluded, or what happens on an invalid projectPath. Only the verb "Lists" implicitly signals a read-only operation.

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 front-loaded sentence with zero wasted words. It is efficient, though its brevity is achieved by omitting detail rather than by tight editing of richer content.

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?

An output schema exists, so return values need not be explained, and the three parameters are fully documented. What remains missing is behavioral context that no structured field covers: recursion depth, ordering, and ignore rules. For a simple read-only listing tool this is adequate but thin.

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%, with limit, offset, and projectPath all documented including a path example, so the baseline is 3. The description adds no additional meaning about pagination semantics (default 500, how offset interacts with ordering) beyond the schema.

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: "Lists the source and configuration files of a project." An agent can tell it enumerates files rather than projects or solutions. However, it does nothing to distinguish itself from siblings like search_text or read_file beyond the word "Lists."

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 guidance on when to choose this over search_text for finding files, or over list_projects/list_solutions for a higher-level inventory. There are no prerequisites, no exclusions, and no mention of what it does not cover (e.g. non-source assets).

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