Skip to main content
Glama
Semantic Rails MCP Server

Semantic Rails MCP Server

Official

list_project_files

Read-onlyIdempotent

Lists files in a Semantic Rails project directory to inspect project contents, with paging and an optional full report.

Instructions

List files inside a Semantic Rails project directory.

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": {
      "project_path": "<project_path>"
    },
    "name": "list_project_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
full_reportNotrue: every item, unpaged
project_pathYes
expected_revisionNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.3.4
    • addedInput schema / properties / expected_revision
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
    • addedInput schema / properties / full_report
      Added value: +{
      +  "default": false,
      +  "description": "true: every item, unpaged",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 100,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / offset
      Added value: +{
      +  "default": 0,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed3 schema fields changedv0.3.1
    • removedInput schema / properties / project_path / title
      Removed value: -"Project Path"
    • removedInput schema / title
      Removed value: -"list_project_filesArguments"
    • removedOutput schema / title
      Removed value: -"list_project_filesDictOutput"
  3. First observedv0.2.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered by structured data. The description adds nothing beyond that: it says nothing about pagination defaults, ordering, or what happens when a project path does not exist. With annotations present the bar is lower, but the description still contributes no behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

A single short sentence with no wasted words, which is fine for a trivial listing tool. It is under-specified rather than verbose, so brevity earns it only a middle score.

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?

An output schema exists so return values need not be explained, but four of five parameters are undocumented in both schema and description, and an agent gets no signal about revision checking or large-project paging. For a five-parameter tool with 20% schema coverage the description is too thin.

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 only 20% — only 'full_report' is documented, and 'project_path' (the sole required parameter) and 'expected_revision' are bare strings. The description mentions a project directory but does not explain the expected_revision concurrency semantics, paging interaction with limit/offset, or precedence of full_report, so it fails to compensate for the coverage gap.

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 sentence names a specific verb and resource ('List files') scoped to a 'Semantic Rails project directory', which is clearer than the bare name. However it does nothing to distinguish this tool from sibling 'read_project_file' or the 'write_project_files' counterpart, so an agent must infer the boundary.

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?

There is no guidance on when to use this versus reading a single file or listing tables; no preconditions, no mention of whether the project must exist or be set up. Usage is only implied by the tool name.

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