Skip to main content
Glama

Filesystem MCP

Let your AI assistant work with your files, safely.

Read, search, edit, and patch files in the folders you choose. Secret files stay hidden, and risky changes wait for your OK.

npm version CI License: MIT GitHub stars HOL Trust

Install in VS Code Install in VS Code Insiders Install in Visual Studio Install in Cursor Install in Claude Desktop

filesystem-mcp MCP server – quality and maintenance score on Glama

The example web client lists a folder with .env hidden, the server refuses to open .env, then asks before overwriting README.md and keeps the file when told to skip

What is this?

Model Context Protocol (MCP) is how AI apps such as Claude, GitHub Copilot in VS Code, and Cursor connect to tools. Filesystem MCP is an MCP server: a small program that runs on your computer and gives the AI 14 tools for working with files. You choose which folders it can use, and everything outside them is off limits.

Once it is connected, you can ask things like:

  • "Find every TODO in this repo and group them by file."

  • "Rename getUser to fetchUser in all .ts files. Show me the diff first."

  • "What changed between config.dev.json and config.prod.json?"

  • "Read the last 50 lines of server.log and explain the error."

  • "Move the old screenshots into archive/2025/."

Related MCP server: Filesys

Why Filesystem MCP?

  • It is safe by default. The AI can use only the folders you allow, and .env files, private keys, and cloud credentials are blocked. The server asks you before the AI deletes a non-empty folder, opens a folder you did not allow, or writes over a file with create or move. Only create and copies can skip that question, by passing overwrite: true. Edits made with edit, patch, and replace_text apply without asking, but the AI can show you the diff first with dryRun. If the AI should never change anything, --read-only removes every tool that writes.

  • Search and editing are made for code. The AI can search inside files like grep, with a regex engine (RE2) that cannot hang, and by default the server skips .gitignored files and folders like node_modules. Edits are exact-match replacements that return an error when the text does not match, and you can preview them as a diff first.

  • It saves the AI's context. The AI can read many files in one call or only the lines it needs, and it can check a file's size and token estimate before reading it.

  • It works with any MCP client, over stdio or HTTP, on macOS, Linux, and Windows. You can install it with npx, Docker, or a one-click Claude Desktop extension, or build your own client on it.

  • It is private. It runs on your machine, has no telemetry, and makes no network calls.

Compared with the reference server

How this server differs from the official @modelcontextprotocol/server-filesystem, checked against its README on 2026-11-02:

Capability

Filesystem MCP

Reference server

Search inside files

search_text: literal text or RE2 regex

None; search_files matches names only

Secret files

.env, keys, and credentials blocked by default

Not blocked

Overwriting a file

create asks you first (unless overwrite: true)

write_file overwrites without asking

Delete files

delete; asks before deleting a non-empty folder

None

.gitignore

Respected by listing and search tools

Not supported

Read-only mode

--read-only removes every tool that writes

Docker ro mounts only

Per-folder read-only

--read-only-root guards chosen folders

Docker ro mounts only

Apply a unified diff

patch

None

Compare two files

diff

None

Replace across many files

replace_text over a folder or glob

None

Watch files

Subscribe to a file and get change notifications

None

Transport

stdio, or Streamable HTTP with --port

stdio

Quick start

NOTE

You need Node.js 24 or later. Check withnode --version.

  1. Add the server to your AI app. Pick yours below.

  2. Replace /path/to/project with the folder the AI may use. You can list several folders.

  3. Restart the app and ask: "Which folders can you access?"

TIP

VS Code currently shares the folders you have open with the server, so the one-click VS Code install works without a path. In other apps, or over HTTP, put the folder inargs. If the AI says it has no folders, that is the fix.

Click Install in VS Code above, or add this to .vscode/mcp.json:

{
  "servers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@j0hanz/filesystem-mcp@latest", "/path/to/project"]
    }
  }
}

Or from a terminal:

code --add-mcp '{"name":"filesystem","command":"npx","args":["-y","@j0hanz/filesystem-mcp@latest","/path/to/project"]}'

Click Install in Cursor above, then add your folder to args. Or add this to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for all projects:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@j0hanz/filesystem-mcp@latest", "/path/to/project"]
    }
  }
}

For a one-click install, download filesystem-mcp.mcpb, open it with Claude Desktop, and pick the folders to allow. Claude Desktop's built-in Node.js runs it. The extension's settings also let you turn on read-only mode and block more files.

To set it up by hand, add this to claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@j0hanz/filesystem-mcp@latest", "/path/to/project"]
    }
  }
}
claude mcp add filesystem -- npx -y @j0hanz/filesystem-mcp@latest /path/to/project

Or install the plugin, which points the server at your current project:

/plugin marketplace add j0hanz/j0hanz-marketplace
/plugin install filesystem-mcp@j0hanz-marketplace

Add this to .vs\mcp.json in your solution folder, or %USERPROFILE%\.mcp.json for all solutions:

{
  "servers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@j0hanz/filesystem-mcp@latest", "C:/path/to/project"]
    }
  }
}

The filesystem-mcp plugin sets the server up for your current project:

Client

Install

Copilot CLI

copilot plugin marketplace add j0hanz/j0hanz-marketplace, then copilot plugin install filesystem-mcp@j0hanz-marketplace

Antigravity CLI

git clone https://github.com/j0hanz/j0hanz-marketplace, then agy plugin install ./j0hanz-marketplace/plugins/filesystem-mcp

The container can only see the folders you mount. This setup blocks writes twice, with the :ro mount and with the --read-only flag.

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-v",
        "/path/to/project:/workspace:ro",
        "ghcr.io/j0hanz/filesystem-mcp:latest",
        "--read-only",
        "/workspace"
      ]
    }
  }
}

Drop :ro and --read-only to let the AI make changes. VS Code and Visual Studio use "servers" instead of "mcpServers". See Running in Docker for more.

Windsurf, Cline, and most other clients use the same mcpServers JSON as Claude Desktop above. In any client, the server is:

  • command: npx

  • args: -y, @j0hanz/filesystem-mcp@latest, then one or more folders

You can also install it globally and run filesystem-mcp /path/to/project:

npm install -g @j0hanz/filesystem-mcp

Tools

Tool

What it does

list_roots

Shows the folders the server may use.

list

Lists a folder as a tree, like ls or tree.

find_files

Finds files by name or glob, such as **/*.test.ts.

search_text

Searches inside files for text or a regex, like grep, with optional context lines.

stat

Gets size, dates, type, permissions, and a token estimate without reading the file.

read

Reads text files whole or by lines, head, or tail. Images and audio come back as media; others with binary.

diff

Compares two files and returns a unified diff.

create ✎

Writes new files, appends, or makes empty folders. Asks before replacing a file, unless overwrite: true.

edit ✎

Replaces exact text in files. All edits to a file apply, or none do. dryRun shows the diff first.

patch ✎

Applies a unified diff to a file. All hunks apply, or none do.

replace_text ✎

Finds and replaces text or a regex across many files. dryRun shows what would change.

move ✎

Moves, renames, or copies files and folders. Asks before overwriting, unless a copy passes overwrite: true.

delete ✎

Deletes files and folders. Asks before deleting a non-empty folder.

undo ✎

Reverts recent changes by undo id or the last N calls, for 30 minutes while the server runs. Skips files changed since.

✎ changes files. --read-only removes these tools. To refuse changes under one folder while the rest stay writable, pass --read-only-root <dir> (repeatable, or FS_READ_ONLY_DIRS): those tools still exist, but a call that writes, moves, or deletes under the folder fails with Read-only root: ..., while listing, searching, and reading keep working.

Search and listing tools skip hidden files, .gitignored files, and folders like node_modules, dist, and .git unless the AI asks for them.

Configuration

Most people only need the folder argument. These options cover the common cases:

Option

What it does

--read-only

Removes every tool that changes files.

--read-only-root <dir>

Refuses writes, moves, and deletes under this folder, which stays readable. Repeatable.

--deny '<pattern>'

Blocks more files, for example --deny 'private/**' or --deny '*.sqlite'.

--allow '<pattern>'

Unblocks one built-in secret pattern, for example --allow '.env.example'.

--allow-cwd

Also allows the folder the server was started from.

--max-file-size <n>

Largest file read will load, in bytes. Default 10 MiB.

--port <n>

Serves over HTTP at http://127.0.0.1:<n>/mcp instead of stdio.

--print-config

Prints the settings the server would use, then exits.

Flags go in args after the package name, for example ["-y", "@j0hanz/filesystem-mcp@latest", "--read-only", "/path/to/project"].

The full configuration reference covers every flag and environment variable, the complete secret-file list, limits, HTTP setup with API keys, Docker, and troubleshooting.

Security

Protection

How it works

Folder sandbox

The server resolves every path, including symlinks, and the resolved path must stay inside an allowed folder.

Secret files

.env, *.pem, *.key, SSH keys, .npmrc, cloud credentials, and more are blocked and hidden from listings.

You stay in charge

The server asks you before the AI deletes a non-empty folder, gets access to a new folder, or writes over a file with create or move. Only create and copies skip that question, when the AI passes overwrite: true. In-place edits (edit, patch, replace_text) do not ask, but dryRun previews them. A client that cannot ask gets an error instead.

Off-limits folders

Neither the AI nor the client can ever add your home folder itself, system folders, or ~/.ssh, ~/.aws, and similar folders.

Safe writes

New content goes to a temporary file that is then renamed into place, so a crash never leaves a half-written file. Writes keep the file's permissions.

No regex hangs

RE2 runs in linear time, so no search pattern can freeze the server.

HTTP

The server listens only on localhost by default. Any other address requires an API key.

Container

The Docker image runs as a non-root user.

If you find a vulnerability, please report it privately. SECURITY.md explains how.

Build your own client

You can also call Filesystem MCP from your own code: an agent, an editor plugin, a web app, a CI job, or a script. The same rules apply as for an AI app, so your code cannot reach outside the allowed folders or read secret files.

import { Client } from '@modelcontextprotocol/client';
import { StdioClientTransport } from '@modelcontextprotocol/client/stdio';

const dir = '/path/to/project';
const client = new Client(
  { name: 'my-app', version: '1.0.0' },
  { capabilities: { elicitation: { form: {} } }, versionNegotiation: { mode: 'auto' } },
);
client.setRequestHandler('elicitation/create', async () => ({ action: 'decline' }));
await client.connect(
  new StdioClientTransport({
    command: 'npx',
    args: ['-y', '@j0hanz/filesystem-mcp', dir],
    cwd: dir,
  }),
);

const result = await client.callTool({ name: 'search_text', arguments: { searchPattern: 'TODO' } });
const { matches } = (result.structuredContent ?? result._meta) as { matches: unknown[] };
console.log(matches);
await client.close(); // stops the server process; without it the script never exits

The basics:

  • Where the data is. The text block is written for a model. The same data as JSON is in _meta for tools that write their own text (list, search_text, edit, ...) and in structuredContent for stat, create, and list_roots. read is the exception: the file's text is only in the text block, and _meta holds metadata about it.

  • Paths. A relative path resolves against the server's working directory when that is inside a root, and against the root otherwise. With several roots, it must exist under exactly one of them. Absolute paths are never ambiguous. Search results are printed relative to the root, so a result can be passed straight back. A name that differs from the one on disk only in Unicode form (NFC or NFD) or in its space characters (U+00A0, U+202F) finds that entry.

  • Confirmations. Overwrites, recursive deletes, and paths outside the roots are questions for the user. Declare the elicitation capability and answer them in a handler, or, on the 2026-07-28 protocol, take them as data (input_required) and answer later.

  • Protocol versions. The server speaks the 2025 protocol and 2026-07-28, over stdio and Streamable HTTP. Over HTTP, 2025-era clients get no confirmations or change notifications.

  • Resources. Read and subscribe to any file as filesystem-mcp://file/{+path}; internal://instructions and the get-help prompt hold the server's guide for models.

The client guide has the details, tested with the TypeScript and Python SDKs, and examples/ has six runnable clients:

Example

What it is

fsq

Any tool from your shell, over stdio or HTTP; --json for scripts

browser

A local web UI where the server's questions appear in the page

tail

tail -f through file subscriptions, locally or on a remote server

gatekeeper

A coding agent that shows each change's diff and waits for your y/N

hooks

Runs a task through a model whenever the workspace changes

python

A TODO report for a workspace, with the Python SDK

Privacy policy

Filesystem MCP runs entirely on your machine. This policy covers the npm package, the Docker image, and the .mcpb desktop extension.

  • Data collection: none. The server has no telemetry, analytics, or crash reporting, and makes no outbound network requests.

  • Use and storage: the server reads and writes files only inside the folders you allow, and only when your MCP client calls a tool. Tool results go to that client and nowhere else. Short-lived result caches and the undo history (saved file contents) live in memory and disappear when the server exits.

  • Third-party sharing: none by this server. Your MCP client may send tool results to its model provider under that client's own privacy policy.

  • Retention: the server keeps nothing after the process exits. Diagnostic logs go to stderr on your machine; your MCP client may save them in its own log files.

  • Contact: open an issue at https://github.com/j0hanz/filesystem-mcp/issues, or report security problems privately through GitHub Security Advisories.

Contributing

Bug reports, ideas, and pull requests are welcome. Start with CONTRIBUTING.md. It covers setup, running the server from source, and the checks a pull request needs.

If Filesystem MCP is useful to you, a star on GitHub helps other people find it.

Contributors

License

MIT

Available Tools

14 tools
createCreate FilesA
Destructive

Write whole text files (create new ones, overwrite, or append) or make empty directories. Missing parent directories are created. edit or patch changes part of an existing file.

NameRequiredDescriptionDefault
filesNoList of files to create (max 100); each entry requires path and content; combined content is capped at the file-size limit
directoriesNoEmpty directories to create, like mkdir -p; one that already exists is left as it is

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the safety profile is covered. The description adds genuinely useful behavior beyond that: missing parent directories are created automatically, and the tool writes verbatim content. It omits the confirmation/overwrite interaction, but that is in the schema.

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 tight sentences with zero filler; the capability and mode list come first and the disambiguation from edit/patch is front-loaded rather than buried.

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?

With no output schema, the description still covers the core write behaviors and the sibling boundary adequately, and detailed constraints (caps, path format, confirmation) live in the fully-covered schema. The remaining gap is that nothing is said about what happens on failure or what a call returns.

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% and both parameters are richly documented (append vs. overwrite semantics, the non-empty absolute path requirement, the 100-item and size caps). The description's 'create new ones, overwrite, or append' largely restates what the schema's append/overwrite fields already say, so the baseline 3 is correct.

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?

States a specific verb and resource ('Write whole text files ... or make empty directories') and enumerates the supported modes (create, overwrite, append). It explicitly distinguishes itself from the overlapping siblings edit and patch by scoping them to partial-file changes.

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?

The second sentence gives a clear when-not rule: partial modifications belong to edit or patch, so whole-file writes belong here. It does not, however, say anything about how append vs. overwrite should be chosen or that a plain overwrite triggers a confirmation prompt, decisions an agent must get right.

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

deleteDelete FileA
Destructive

Delete files, directories, or symlinks, like rm or rm -r. Paths are exact; globs are not expanded. undo reverts a delete whose result gives an undo id.

NameRequiredDescriptionDefault
pathsYesPaths to delete (max 1000); accepts files, directories, or symlinks
recursiveNoDelete directory contents recursively (required for non-empty directories)
ignoreIfNotExistsNoSilently succeed if a path does not exist instead of returning an error

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=false, so safety is covered. The description adds genuinely useful behavioral detail beyond that: exact-path semantics with no glob expansion (a real footgun) and the fact that a successful result yields an undo id reversible via undo.

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?

Three dense sentences with zero filler; the operation and its rm analogy are front-loaded, followed by the two most important behavioral caveats (no globs, undo id).

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 destructive tool with full annotations and no output schema, the description covers the key call-time concerns: path exactness, recursion, and reversibility via undo. It trusts the schema for flag semantics, which is reasonable given 100% coverage, though it could note failure behavior on non-existent paths.

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 all three parameters are already fully documented, including recursive and ignoreIfNotExists defaults. The description only implicitly maps 'rm -r' to recursive and 'paths are exact' to the path array, adding little beyond the schema baseline.

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?

States a specific verb (delete) and the exact resource types (files, directories, symlinks), and anchors it with a comparison to rm/rm -r so the agent immediately knows the operation's scope. This distinguishes it from siblings like move, undo, and edit.

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?

'like rm or rm -r' plus the note that globs are not expanded gives clear guidance on expectations and the recursive flag's role. It also points to undo for reverting, but does not explicitly state when to prefer this over siblings such as move or when deletion should be avoided.

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

diffDiffA
Read-only

Compare two text files and return a unified diff from a to b, like diff -u. Identical files give no hunks; binary and non-UTF-8 files are refused.

NameRequiredDescriptionDefault
aYesFirst file to compare
bYesSecond file to compare
contextNoNumber of context lines surrounding each change (default: 3)

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only and closed-world behavior. The description adds useful behavioral detail beyond that: output is a unified diff, identical files produce no hunks, and binary/non-UTF-8 inputs are refused.

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 tightly written sentences with no filler. The main behavior is front-loaded, and the edge cases are stated compactly.

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

Completeness5/5

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

For a simple read-only diff tool with fully described parameters and annotations covering safety, the description provides enough context: what it returns, how identical files behave, and what inputs are rejected.

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 parameters a, b, and context are already documented. The description adds the directional 'from a to b' framing but does not provide additional syntax or semantic detail beyond the schema.

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?

States a specific verb and resource: compare two text files and return a unified diff from a to b. The 'like diff -u' analogy and mention of identical/binary handling make the tool's identity clear and distinguish it from siblings like read or search_text.

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?

The description clearly establishes the use case: comparing two text files. It also gives exclusions by noting that binary and non-UTF-8 files are refused, but it does not explicitly name sibling alternatives or explain when to prefer them over this tool.

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

editEdit FilesA
Destructive

Edit text files in place by replacing exact oldText with newText, like str_replace. Pass path with edits, or files for a batch; never both. Each oldText must match exactly once, and a file is written only if all its edits match. replace_text replaces every occurrence across files.

NameRequiredDescriptionDefault
pathNoSingle file path; mutually exclusive with files
editsNoReplacements applied to path (required with path); not allowed with files
filesNoPer-file entries (batch mode)
dryRunNoPreview diffs without writing to disk (default: false = apply edits)
ignoreWhitespaceNoIgnore leading/trailing whitespace differences when matching oldText; newText is re-indented to the match and replaces its inner blank lines

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag this as destructive and non-read-only, so the description's job is to add specifics — and it does: 'Each oldText must match exactly once, and a file is written only if all its edits match,' which discloses uniqueness constraints and per-file all-or-nothing atomicity. It omits failure reporting details (partially covered by the schema's mention of line numbers) and says nothing about dryRun, which is the safety valve for a destructive write.

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?

Four short sentences, zero waste, front-loaded with the core mechanism before the mode-selection rule and the matching constraint. Each sentence contributes a distinct fact an agent needs.

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 five-parameter destructive mutation with no output schema, the description covers mechanism, mode exclusivity, match uniqueness, and per-file atomicity — the essentials. Gaps remain on failure/rollback behavior across multiple files and on when to reach for dryRun, both of which matter for a tool annotated destructiveHint=true.

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 schema already documents path, edits, files, dryRun, and ignoreWhitespace in detail. The description restates the path/edits vs files exclusivity and the match-once rule, adding only the 'never both' framing beyond structured data. Baseline 3 is appropriate when the schema carries the semantic load.

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?

States a specific verb and resource ('Edit text files in place by replacing exact oldText with newText') plus an analogy ('like str_replace') that pins down the mechanism instantly. It also names the sibling it differs from — 'replace_text replaces every occurrence across files' — so the agent can distinguish the two without opening either schema.

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?

Explicitly gives the two calling modes and the exclusion: 'Pass path with edits, or files for a batch; never both.' It also routes the agent to replace_text for the global-replace case. It stops short of covering other plausible alternatives (patch, create, undo) or when to prefer dryRun, so it is clear context rather than full when/when-not guidance.

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

find_filesFind FilesA
Read-only

Find files by name or glob pattern; returns file paths relative to the root, ready to pass to read. A pattern without / matches file names at any depth. search_text searches contents.

NameRequiredDescriptionDefault
pathNoBase directory to search under (default: first allowed root)
cursorNoOpaque pagination cursor; pass unchanged for the next page. Pages slice one snapshot taken on the first call; it expires after ~60s — re-request without a cursor if rejected.
sortByNoSort order: path = full path (default), name = basename onlypath
patternYesGlob pattern to match file paths (e.g. **/*.ts, src/**/*.js)
maxDepthNoMax directory depth to scan; 0 = base directory only, omit for unlimited
maxResultsNoMaximum number of matching files to return per page
includeHiddenNoInclude hidden items (starting with .)
includeIgnoredNoInclude ignored items (node_modules, .git, etc).

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds meaningful non-annotation context: results are relative to the root and directly consumable by read, and pattern-without-slash matches at any depth. It omits pagination/snapshot expiry, though the cursor schema documents that.

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?

Three short sentences, zero filler. Purpose and return value are front-loaded, and the depth rule and sibling routing follow in the order an agent needs them.

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 an 8-parameter tool with no output schema, the description supplies the essentials: what comes back, how patterns behave, and where to go for content search. Pagination, hidden/ignored defaults, and depth limits live in the schema, so nothing critical is missing, though a note about paging large result sets would close the loop.

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

Parameters4/5

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

Schema coverage is 100%, so a 3 is the baseline. The description earns above baseline by explaining glob matching semantics that the schema does not — the "no / matches at any depth" rule is a real behavioral detail an agent cannot infer from the pattern field alone.

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?

States a specific verb and resource ("Find files by name or glob pattern") and immediately clarifies the return shape (paths relative to root) and downstream use ("ready to pass to read"). It also names the sibling search_text and its distinct domain, so an agent can differentiate without opening sibling schemas.

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?

Explicitly routes content searching to search_text, which is the most likely confusable alternative. It does not cover when to prefer find_files over list or stat, and offers no exclusions for the path/maxDepth options, so routing is clear but not exhaustive.

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

listListA
Read-only

List a directory's files and subdirectories as a tree of names, like ls or tree, one level deep unless maxDepth is raised. Hidden entries are skipped unless includeHidden is set, and ignored ones (.gitignore matches, node_modules, dist, build, out, tmp) unless includeIgnored is set. includeSizes adds sizes and a total; stat returns dates; find_files searches by name pattern.

NameRequiredDescriptionDefault
pathNoDirectory to list (default: first allowed root)
cursorNoOpaque pagination cursor; pass unchanged for the next page. Pages slice one snapshot taken on the first call; it expires after ~60s — re-request without a cursor if rejected.
sortByNoOrder within each directory: name (default) or size (largest first)name
maxDepthNoMax directory depth to traverse (default: 1 = top-level only; increase to recurse deeper)
maxEntriesNoPage size (default: 1000). Continue with nextCursor; an incomplete first page also carries resourceUri for the whole list.
includeSizesNoShow file sizes in the tree and a totals line of counts and bytes
includeHiddenNoInclude hidden items (starting with .)
includeIgnoredNoInclude ignored items (node_modules, .git, etc).

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds useful behavioral context: hidden entries are skipped by default, ignored patterns (.gitignore, node_modules, dist, build, out, tmp) are excluded unless includeIgnored is set, and maxDepth defaults to one level. It doesn't discuss pagination or cursor expiry, but that is in the schema.

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?

The description is front-loaded with the core behavior and default depth, then covers exclusions, then optional features. The final sentence mixes sibling-tool functions ('stat returns dates; find_files searches by name pattern') which is slightly off-tool but still useful for routing; overall it is efficient with little waste.

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?

With 8 optional parameters, 100% schema coverage, no output schema, and clear annotations, the description provides enough context for correct invocation: it explains default depth, exclusions, and size totals. Pagination details live in the schema, so no critical gap remains, though the return format could be slightly more explicit.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description earns a higher score by clarifying the effect of parameters: 'unless maxDepth is raised', 'unless includeHidden is set', 'unless includeIgnored is set', and 'includeSizes adds sizes and a total'. This adds practical meaning beyond the schema's technical 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?

States a specific verb+resource ('List a directory's files and subdirectories as a tree of names') and explicitly contrasts with sibling tools 'stat' and 'find_files' in the same breath. An agent can distinguish this from other file-listing/search tools without opening schemas.

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?

The description routes the agent: use this for directory trees, use 'stat' for dates, use 'find_files' for name-pattern search. It does not mention when to prefer 'list_roots' or when-not to use this tool, but the primary alternatives are clearly named.

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

list_rootsWorkspace RootsA
Read-only

List the directories this server can access, as absolute paths, including any the user granted during this session. Directories marked read-only appear in readOnlyDirs; writes, moves, and deletes under them are refused. Other tools can ask the user to grant access to a path outside them.

NameRequiredDescriptionDefault

No parameters

TDQS

A4.2/5.0
Behavior4/5

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

Beyond readOnlyHint=true and openWorldHint=false, the description discloses that read-only roots are segregated into readOnlyDirs and that writes, moves, and deletes under them are refused — a concrete consequence an agent would not otherwise know. It stops short of describing ordering, empty-list behavior, or error modes.

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?

Three short sentences, front-loaded with what is returned, then the read-only caveat, then the grant path. Each sentence carries distinct, actionable information with no repetition of the annotations.

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?

With no output schema, the description does the work of explaining that results are absolute paths and that read-only entries land in a separate readOnlyDirs collection. That is nearly sufficient, though the exact response shape (single list vs. two collections) remains slightly ambiguous.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. Nothing about the description misrepresents the parameter surface.

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?

States a specific verb and resource ('List the directories this server can access') plus the return form ('as absolute paths'). This clearly separates it from the file-content siblings such as list, stat, and find_files, which operate on entries rather than access roots.

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?

Usage is implied: it says session-granted paths are included and that other tools can request access to paths outside these roots, which hints at calling this first to discover scope. However, it never states explicitly when to call it versus alternatives, nor any when-not condition.

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

moveMove or Copy FilesA
Destructive

Move, rename, or copy files and directories, like mv or cp -r. Each destination is the full new path, not a folder to move into; missing parent directories are created. undo reverts a move whose result gives an undo id; a copy cannot be undone.

NameRequiredDescriptionDefault
copyNoCopy instead of move; sources are left in place
movesYesOperations to perform (max 100)
overwriteNoCopy mode only: overwrite existing destinations without confirmation

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only flag destructiveHint=true and readOnlyHint=false) by disclosing implicit side effects: missing parent directories are created, moves yield an undo id, and copies are irreversible. That reversibility information is exactly what an agent needs before invoking a destructive operation.

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?

Three tight sentences, zero waste, with the core verb/resource and the most error-prone semantic (destination = full path) front-loaded. Every sentence earns its place.

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 destructive batch mutation with annotations present and no output schema, the description covers path semantics, parent creation, and undo/irreversibility. It leaves batch-size limits and overwrite defaults to the schema, which is acceptable but slightly incomplete for the destructive path.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema's terse 'Destination path' by clarifying it is the full new path, not a containing folder. Copy vs move semantics are reinforced, though overwrite behavior is left to the schema.

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?

States a specific verb set (move, rename, copy) against a specific resource (files and directories) and anchors it with the mv / cp -r analogy. This clearly separates it from siblings like delete, create, and patch.

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?

Explains the key semantic that destinations are full new paths rather than folders, and routes the agent to the undo sibling for reverting a move, plus notes copies cannot be undone. It stops short of stating when to prefer this over e.g. create or replace_text, but the guidance is otherwise concrete.

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

patchPatchA
Destructive

Apply a single-file unified diff to one existing text file, like git apply. Nothing is written unless every hunk applies in file order with exactly matching context; hunks are found by their context, so start line numbers may be off.

NameRequiredDescriptionDefault
diffYesSingle-file unified diff to apply (as produced by the diff tool or edit dry-run)
pathYesFile to apply the diff to
dryRunNoPreview the result without writing (default: false)

TDQS

A4.5/5.0
Behavior5/5

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

The description goes well beyond the annotations (destructiveHint=true) by detailing the atomicity: 'Nothing is written unless every hunk applies in file order with exactly matching context.' It also discloses a critical quirk: hunks are located by context, so line numbers may be off. This is essential behavioral information that the annotations do not provide.

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 purpose and behavioral nuance. Every clause earns its place; the critical atomicity rule and context-matching caveat are delivered without padding.

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

Completeness5/5

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

For a tool with three well-documented parameters, no output schema, and annotations covering destructiveness, the description supplies everything an agent needs: the exact operation, the single-file constraint, the atomicity guarantee, and the context-matching behavior. Nothing critical is missing.

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?

The input schema already provides complete descriptions for all three parameters (diff, path, dryRun) with 100% coverage. The tool description adds no additional parameter-level detail beyond what the schema states, so the baseline score of 3 applies.

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 opens with a precise verb and resource: 'Apply a single-file unified diff to one existing text file.' The analogy 'like git apply' anchors it firmly in a well-known operation, and the distinction of single-file vs. multi-file and the context-matching behavior clearly separate it from sibling tools like edit or replace_text.

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?

The description makes it obvious when to use this tool: whenever you have a unified diff for a single file. It does not explicitly enumerate alternatives or exclusions, but the context is clear enough that an agent can infer the correct use case. The mention of 'existing text file' also implicitly signals it is not for new files.

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

readRead FileA
Read-only

Read text files, like cat: whole, or one slice via head, tail, or startLine/endLine. Images and audio return as media; pass binary: true to get any other binary file whole as a base64 embedded resource.

NameRequiredDescriptionDefault
headNoReturn first N lines
pathNoSingle file path; mutually exclusive with paths
tailNoReturn last N lines
pathsNoArray of file paths for batch mode (max 1000); mutually exclusive with path
binaryNoReturn a binary file that is not an image or audio whole, as a base64 embedded resource. Full reads only.
endLineNoEnd line (1-indexed); requires startLine
startLineNoStart line (1-indexed)
includeHashNoInclude SHA-256 hash of the returned content in the response

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real behavioral value beyond that: images and audio come back as media, other binaries require binary: true and return as a base64 embedded resource, and binary reads are full reads only. Return-format behavior is exactly what an agent needs before calling.

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, no waste, front-loaded with the primary whole-file behavior before the mode and media qualifiers. Every clause carries information an agent needs.

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

Completeness5/5

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

For an 8-parameter, annotation-backed tool with no output schema, the description covers the decision-relevant surface: text vs image/audio vs other binary, whole vs slice, and the full-read restriction on binary. Remaining details (batch paths, hash option) are adequately documented in the schema itself.

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

Parameters4/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 and the schema carries per-parameter meaning. The description adds semantics the schema does not spell out: that the slice parameters select 'one slice' (implying they are alternatives, not combinable) and that binary is incompatible with slicing. It does not touch path/paths batch semantics or includeHash, which the schema covers.

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 ('Read text files, like cat') and enumerates the three read modes plus media/binary handling, so an agent immediately knows this is a content-retrieval tool distinct from list, stat, or search_text. It stops short of naming any sibling explicitly, so differentiation is inferred from function rather than stated.

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 selection context for modes: whole read by default, one slice via head, tail, or startLine/endLine, and binary: true only for non-media binaries. It does not state when to prefer this over siblings like search_text or find_files, nor any exclusion conditions, so it is clear context without routing guidance.

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

replace_textSearch and ReplaceA
Destructive

Find and replace every occurrence of literal text or an RE2 regex, like sed -i, in one file or all files under a directory, optionally filtered by glob. The pattern runs over the whole file: it can span lines, and ^ and $ anchor to file start and end. edit replaces one unique exact match.

NameRequiredDescriptionDefault
pathNoFile to rewrite, or directory to rewrite under. Omitting it targets the ENTIRE first allowed root — scope it deliberately, and pair a wide scope with dryRun=true first
dryRunNoPreview replacements without writing to disk (default: false = apply changes)
isRegexNoTreat searchPattern as a RE2 regex (default: literal text match)
patternNoGlob to restrict replacements to specific file types (e.g. **/*.ts); default: all text files
maxDepthNoMax directory depth to scan; 0 = base directory only, omit for unlimited
maxFilesNoMaximum number of files to process
wholeWordNoMatch whole words only (word boundary anchoring)
maxMatchesNoMaximum total match count across all files before stopping (default: 100)
maxResultsNoDeprecated alias of maxMatches; removed in the next release
returnDiffNoInclude a unified diff of all changes in the response
replacementYesReplacement text. Use capture group references ($1, $2, etc.) when isRegex=true. Use an empty string to delete all matches.
caseSensitiveNoEnable case-sensitive matching (default: case-insensitive)
includeHiddenNoInclude hidden items (starting with .)
searchPatternYesExact literal text or RE2 regex pattern to search for. When isRegex=true, uses RE2 syntax (no lookahead, lookbehind, or backreferences are supported). Cannot be empty or whitespace-only.
includeIgnoredNoInclude ignored items (node_modules, .git, etc).

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds real behavioral context the annotations cannot: in-place rewriting ("like sed -i") and the fact that the pattern spans lines and that ^/$ anchor to file start/end rather than line boundaries. It does not state irreversibility or that `undo` is the recovery path, which is a remaining gap for a destructive tool.

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?

Three sentences, front-loaded with the action and scope, then matching semantics, then the sibling differentiation. Every sentence adds information; nothing is boilerplate.

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 destructive, 15-parameter bulk rewrite tool with no output schema, the definition covers what it does, matching semantics, and the sibling alternative, while the schema handles per-parameter and return-shape detail (returnDiff). It would be complete at 5 if it flagged the irreversibility/dryRun-first practice in the description given how damaging a wide-scope run is.

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 all 15 parameters are already documented (including dryRun, maxMatches, casing, hidden/ignored files). The description adds only the isRegex literal-vs-regex distinction and the path/glob scoping, which the schema already carries. Baseline 3 is appropriate.

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?

States a specific verb+resource (find and replace) with precise scope: literal or RE2 regex, one file or a directory tree, glob-filtered. It also distinguishes itself from the sibling `edit` ("edit replaces one unique exact match"), so an agent can choose without opening either schema.

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?

The closing sentence routes multi-match work here versus single-unique-match work to `edit`, and "optionally filtered by glob" plus the sed analogy imply the bulk-edit use case. It stops short of explicit exclusions (e.g., prefer `search_text` first, or `diff` to verify) and never mentions dryRun in the description itself, so it is clear context rather than a full when/when-not map.

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

search_textSearch ContentA
Read-only

Search file contents for literal text or an RE2 regex, like grep; returns matching lines with line numbers and paths relative to the root, ready to pass to read. searchPattern is the text to find, matched within one line; pattern filters files by glob. find_files matches file names.

NameRequiredDescriptionDefault
pathNoFile to search, or directory to search under (default: the whole first allowed root). Naming a file searches that file alone: pattern is ignored and hidden/ignored filtering does not apply.
cursorNoOpaque pagination cursor; pass unchanged for the next page. Pages slice one snapshot taken on the first call; it expires after ~60s — re-request without a cursor if rejected.
contextNoLines of context to return either side of each match, like grep -C (default: 0, max: 10)
isRegexNoTreat searchPattern as a regex (default: literal text match)
patternNoGlob to restrict search to specific file types (e.g. **/*.ts); default: all text files
maxDepthNoMax directory depth to scan; 0 = base directory only, omit for unlimited
maxResultsNoMaximum number of matching lines to return per page
caseSensitiveNoEnable case-sensitive matching (default: case-insensitive)
includeHiddenNoInclude hidden items (starting with .)
searchPatternYesExact literal text or RE2 regex pattern to search for in file contents. When isRegex=true, uses RE2 syntax (no lookahead, lookbehind, or backreferences). Cannot be empty or whitespace-only.
includeIgnoredNoInclude ignored items (node_modules, .git, etc).

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuine value by disclosing the return shape (matching lines with line numbers and root-relative paths) and that matching is per-line. It omits pagination behavior and the cursor snapshot expiry, though the schema covers those.

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 dense sentences, front-loaded with the core action and the most confusable parameter distinction. Every clause eliminates a likely mis-invocation; nothing is padding.

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 an 11-parameter tool with no output schema, the description covers purpose, return shape, and the key sibling boundary, which is enough to call it correctly. It leaves pagination and the ~60s snapshot expiry to the schema, a minor omission given the description's scope.

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

Parameters4/5

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

With 100% schema coverage the baseline is 3, but the description earns more: it clarifies that searchPattern is matched within a single line and that 'pattern' is a file glob, not the content pattern — a naming ambiguity the schema alone leaves easy to misread. It also implies path/file-vs-directory inheritance from the schema.

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?

States a specific verb and resource ('Search file contents'), names both modes (literal text / RE2 regex) with a grep analogy, and explicitly differentiates from the sibling find_files ('find_files matches file names'). An agent can distinguish this from every other sibling without opening a schema.

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 routing: use this for contents, find_files for names, and the output is 'ready to pass to read', which establishes the follow-up workflow. It stops short of exclusion rules (e.g., when not to use it on huge trees, or how it relates to replace_text for edits), so not a full 5.

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

statGet File InfoA
Read-only

Get metadata without reading contents, like ls -ld: type, size (files) or entryCount (directories; secret files not counted), tokenEstimate, timestamps, permissions (readOnly on Windows), MIME type guessed from the extension, and symlink target. Also checks whether paths exist: each missing path gets its own NOT_FOUND entry.

NameRequiredDescriptionDefault
pathNoSingle file path; mutually exclusive with paths
pathsNoArray of file paths for batch mode (max 1000); mutually exclusive with path

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses relevant behavior: no content reads, secret files excluded from directory entry counts, Windows-specific readOnly behavior, MIME type guessed from extension, symlink target reporting, and per-path NOT_FOUND entries. This is substantive operational context for an agent.

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 front-loaded with the core operation and then efficiently packs the relevant metadata fields and existence-check behavior into two sentences. There is no filler; every clause adds useful scope or behavior.

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

Completeness5/5

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

There is no output schema, so the description carries the return-value burden and it does so by enumerating key metadata fields and NOT_FOUND behavior. Combined with the readOnly annotation and complete schema documentation, this is sufficient for calling the tool correctly.

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?

With 100% schema description coverage, the schema already documents the single-path and batch-path parameters and their mutual exclusivity. The description adds only general references to 'paths' and missing-path entries, without parameter-specific syntax or rules beyond what the schema provides.

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 states a specific operation: retrieve path metadata without reading file contents, explicitly contrasting with content-reading tools. It enumerates the metadata returned and mentions directory entry counts and existence checks, making it clear how this differs from read/list-style siblings.

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?

It gives clear usage context: use this for metadata and existence checks rather than reading contents. However, it does not explicitly name alternative sibling tools or state when-not to use it beyond the implied contrast with reading contents.

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

undoUndoA
Destructive

Revert earlier calls that changed files, by undo id or the last N calls. A file is restored only if unchanged since. dryRun lists the history.

NameRequiredDescriptionDefault
idNoThe undo id from a tool result
stepsNoRevert the last N calls (not over HTTP)
dryRunNoPreview which calls would restore, changing nothing

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already mark the tool as destructive and non-read-only. The description adds important behavioral nuance beyond that: a file is restored only if unchanged since the call, and dryRun lists history without modifying anything. It stops short of explaining conflict handling or result format, but the key safety behavior is disclosed.

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?

Three short sentences, front-loaded with the core action and followed by the key conditional behavior and preview option. Every sentence carries useful information with no waste.

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?

Given a destructive mutation tool with no output schema, the description covers the essential behaviors: what gets reverted, the conditional restore rule, and dryRun preview. It leaves minor gaps such as how id and steps interact or what happens when files have changed, but is sufficient for correct invocation.

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 all three parameters are already documented in the schema. The description reinforces the id-vs-steps selection and clarifies that dryRun lists history, but adds little syntax or format detail beyond the schema.

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 states a specific verb and resource: revert earlier calls that changed files. It clearly distinguishes the operation from sibling tools like edit, replace_text, or diff by focusing on undoing prior file-changing calls.

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?

It gives clear context for when to use the tool (reverting changed files) and mentions both selection modes: by undo id or by last N calls. It does not explicitly exclude alternatives or name sibling tools, but the usage scenario is unambiguous.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev2.13.0
    • Changededit1 field changed
      • changedInput schema / properties / ignoreWhitespace / description
        Previous value: -"Ignore leading/trailing whitespace differences when matching oldText"New value: +"Ignore leading/trailing whitespace differences when matching oldText; newText is re-indented to the match and replaces its inner blank lines"
  2. 1 tool updatev2.12.1
    • Changedreplace_text4 fields changed
      • addedInput schema / properties / maxMatches
        Added value: +{
        +  "description": "Maximum total match count across all files before stopping (default: 100)",
        +  "maximum": 10000,
        +  "minimum": 1,
        +  "type": "integer"
        +}
      • removedInput schema / properties / maxResults / default
        Removed value: -100
      • addedInput schema / properties / maxResults / deprecated
        Added value: +true
      • changedInput schema / properties / maxResults / description
        Previous value: -"Maximum total match count across all files before stopping"New value: +"Deprecated alias of maxMatches; removed in the next release"
  3. 1 tool updatev2.10.0
    • Addedundo
  4. 5 tool updatesv2.9.1
    • Changedcreate2 fields changed
      • addedInput schema / properties / directories
        Added value: +{
        +  "description": "Empty directories to create, like mkdir -p; one that already exists is left as it is",
        +  "items": {
        +    "description": "File or directory path inside an allowed workspace root.",
        +    "maxLength": 4096,
        +    "minLength": 1,
        +    "type": "string"
        +  },
        +  "maxItems": 100,
        +  "minItems": 1,
        +  "type": "array"
        +}
      • removedInput schema / required
        Removed value: -[
        -  "files"
        -]
    • Changededit2 fields changed
      • removedInput schema / oneOf
        Removed value: -[
        -  {
        -    "required": [
        -      "path",
        -      "edits"
        -    ]
        -  },
        -  {
        -    "required": [
        -      "files"
        -    ]
        -  }
        -]
      • changedInput schema / properties / edits / description
        Previous value: -"Replacements applied to path; not allowed when using files"New value: +"Replacements applied to path (required with path); not allowed with files"
    • Changedlist2 fields changed
      • addedInput schema / properties / includeSizes
        Added value: +{
        +  "default": false,
        +  "description": "Show file sizes in the tree and a totals line of counts and bytes",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / sortBy
        Added value: +{
        +  "default": "name",
        +  "description": "Order within each directory: name (default) or size (largest first)",
        +  "enum": [
        +    "name",
        +    "size"
        +  ],
        +  "type": "string"
        +}
    • Changedread4 fields changed
      • removedInput schema / dependentRequired
        Removed value: -{
        -  "endLine": [
        -    "startLine"
        -  ]
        -}
      • removedInput schema / oneOf
        Removed value: -[
        -  {
        -    "required": [
        -      "path"
        -    ]
        -  },
        -  {
        -    "required": [
        -      "paths"
        -    ]
        -  }
        -]
      • addedInput schema / properties / binary
        Added value: +{
        +  "default": false,
        +  "description": "Return a binary file that is not an image or audio whole, as a base64 embedded resource. Full reads only.",
        +  "type": "boolean"
        +}
      • changedInput schema / properties / endLine / description
        Previous value: -"End line (1-indexed)"New value: +"End line (1-indexed); requires startLine"
    • Changedstat1 field changed
      • removedInput schema / oneOf
        Removed value: -[
        -  {
        -    "required": [
        -      "path"
        -    ]
        -  },
        -  {
        -    "required": [
        -      "paths"
        -    ]
        -  }
        -]
  5. 4 tool updatesv2.8.1
    • Changededit11 fields changed
      • removedInput schema / $defs
        Removed value: -{
        -  "EditSpec": {
        -    "additionalProperties": false,
        -    "properties": {
        -      "newText": {
        -        "description": "Replacement text. Use an empty string to delete the matched oldText.",
        -        "examples": [
        -          "const x = 2;",
        -          "function newName(",
        -          ""
        -        ],
        -        "type": "string"
        -      },
        -      "oldText": {
        -        "description": "Exact literal text to locate in the file; it must match exactly once. Include 3-5 lines of context so it does — an oldText found in several places fails with their line numbers.",
        -        "examples": [
        -          "const x = 1;",
        -          "function oldName("
        -        ],
        -        "minLength": 1,
        -        "type": "string"
        -      }
        -    },
        -    "required": [
        -      "oldText",
        -      "newText"
        -    ],
        -    "type": "object"
        -  }
        -}
      • removedInput schema / properties / edits / items / $ref
        Removed value: -"#/$defs/EditSpec"
      • addedInput schema / properties / edits / items / additionalProperties
        Added value: +false
      • addedInput schema / properties / edits / items / properties
        Added value: +{
        +  "newText": {
        +    "description": "Replacement text. Use an empty string to delete the matched oldText.",
        +    "examples": [
        +      "const x = 2;",
        +      "function newName(",
        +      ""
        +    ],
        +    "type": "string"
        +  },
        +  "oldText": {
        +    "description": "Exact literal text to locate in the file; it must match exactly once. Include 3-5 lines of context so it does — an oldText found in several places fails with their line numbers.",
        +    "examples": [
        +      "const x = 1;",
        +      "function oldName("
        +    ],
        +    "minLength": 1,
        +    "type": "string"
        +  }
        +}
      • addedInput schema / properties / edits / items / required
        Added value: +[
        +  "oldText",
        +  "newText"
        +]
      • addedInput schema / properties / edits / items / type
        Added value: +"object"
      • removedInput schema / properties / files / items / properties / edits / items / $ref
        Removed value: -"#/$defs/EditSpec"
      • addedInput schema / properties / files / items / properties / edits / items / additionalProperties
        Added value: +false
      • addedInput schema / properties / files / items / properties / edits / items / properties
        Added value: +{
        +  "newText": {
        +    "description": "Replacement text. Use an empty string to delete the matched oldText.",
        +    "examples": [
        +      "const x = 2;",
        +      "function newName(",
        +      ""
        +    ],
        +    "type": "string"
        +  },
        +  "oldText": {
        +    "description": "Exact literal text to locate in the file; it must match exactly once. Include 3-5 lines of context so it does — an oldText found in several places fails with their line numbers.",
        +    "examples": [
        +      "const x = 1;",
        +      "function oldName("
        +    ],
        +    "minLength": 1,
        +    "type": "string"
        +  }
        +}
      • addedInput schema / properties / files / items / properties / edits / items / required
        Added value: +[
        +  "oldText",
        +  "newText"
        +]
      • addedInput schema / properties / files / items / properties / edits / items / type
        Added value: +"object"
    • Changedread2 fields changed
      • changedInput schema / properties / endLine / maximum
        Previous value: -100000New value: +2147483647
      • changedInput schema / properties / startLine / maximum
        Previous value: -100000New value: +2147483647
    • Changedreplace_text1 field changed
      • removedInput schema / properties / searchPattern / examples
        Removed value: -[
        -  "TODO",
        -  "function\\s+(\\w+)",
        -  "import.*from"
        -]
    • Changedsearch_text1 field changed
      • removedInput schema / properties / searchPattern / examples
        Removed value: -[
        -  "TODO",
        -  "function\\s+(\\w+)",
        -  "import.*from"
        -]
  6. 1 tool updatev2.7.0
    • Changedcreate1 field changed
      • changedInput schema / properties / files / description
        Previous value: -"List of files to create (max 100); each entry requires path and content"New value: +"List of files to create (max 100); each entry requires path and content; combined content is capped at the file-size limit"
  7. 3 tool updatesv2.5.0
    • Changedfind_files1 field changed
      • changedInput schema / properties / pattern / examples
        Previous value: -[
        -  "**/*.ts",
        -  "src/**/*.js",
        -  "*.{ts,tsx}"
        -]New value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "**/*.{ts,tsx}"
        +]
    • Changedreplace_text1 field changed
      • changedInput schema / properties / pattern / examples
        Previous value: -[
        -  "**/*.ts",
        -  "src/**/*.js",
        -  "*.{ts,tsx}"
        -]New value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "**/*.{ts,tsx}"
        +]
    • Changedsearch_text1 field changed
      • changedInput schema / properties / pattern / examples
        Previous value: -[
        -  "**/*.ts",
        -  "src/**/*.js",
        -  "*.{ts,tsx}"
        -]New value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "**/*.{ts,tsx}"
        +]
  8. 13 tool updatesv2.4.1
    • Changedcreate1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changeddelete1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changeddiff1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changededit3 fields changed
      • addedInput schema / $defs / EditSpec / properties / newText / examples
        Added value: +[
        +  "const x = 2;",
        +  "function newName(",
        +  ""
        +]
      • addedInput schema / $defs / EditSpec / properties / oldText / examples
        Added value: +[
        +  "const x = 1;",
        +  "function oldName("
        +]
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedfind_files2 fields changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / properties / pattern / examples
        Added value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "*.{ts,tsx}"
        +]
    • Changedlist1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedlist_roots1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedmove1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedpatch1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedread1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
    • Changedreplace_text4 fields changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / properties / pattern / examples
        Added value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "*.{ts,tsx}"
        +]
      • addedInput schema / properties / replacement / examples
        Added value: +[
        +  "$1_renamed",
        +  "",
        +  "TODO: fix"
        +]
      • addedInput schema / properties / searchPattern / examples
        Added value: +[
        +  "TODO",
        +  "function\\s+(\\w+)",
        +  "import.*from"
        +]
    • Changedsearch_text3 fields changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / properties / pattern / examples
        Added value: +[
        +  "**/*.ts",
        +  "src/**/*.js",
        +  "*.{ts,tsx}"
        +]
      • addedInput schema / properties / searchPattern / examples
        Added value: +[
        +  "TODO",
        +  "function\\s+(\\w+)",
        +  "import.*from"
        +]
    • Changedstat1 field changed
      • addedInput schema / $schema
        Added value: +"https://json-schema.org/draft/2020-12/schema"
  9. 3 tool updatesv2.3.0
    • Changedcreate2 fields changed
      • addedInput schema / properties / files / items / properties / append
        Added value: +{
        +  "description": "Append the content to the end of the file instead of overwriting; creates the file if it does not exist",
        +  "type": "boolean"
        +}
      • addedInput schema / properties / files / items / properties / overwrite
        Added value: +{
        +  "description": "Replace an existing file without asking the user; without it an existing file prompts for confirmation",
        +  "type": "boolean"
        +}
    • Changededit1 field changed
      • changedInput schema / $defs / EditSpec / properties / oldText / description
        Previous value: -"Exact literal text to locate in the file. Must include 3-5 lines of context to ensure uniqueness and avoid matching the wrong block."New value: +"Exact literal text to locate in the file; it must match exactly once. Include 3-5 lines of context so it does — an oldText found in several places fails with their line numbers."
    • Changedsearch_text1 field changed
      • addedInput schema / properties / context
        Added value: +{
        +  "default": 0,
        +  "description": "Lines of context to return either side of each match, like grep -C (default: 0, max: 10)",
        +  "maximum": 10,
        +  "minimum": 0,
        +  "type": "integer"
        +}
  10. 5 tool updatesv2.1.5
    • Changeddelete1 field changed
      • changedOutput schema / (root)
        Previous value: -{
        -  "additionalProperties": false,
        -  "properties": {
        -    "results": {
        -      "description": "Per-path results ordered to match the input paths",
        -      "items": {
        -        "additionalProperties": false,
        -        "properties": {
        -          "error": {
        -            "additionalProperties": false,
        -            "description": "Error details; present on failure",
        -            "properties": {
        -              "code": {
        -                "type": "string"
        -              },
        -              "message": {
        -                "type": "string"
        -              },
        -              "path": {
        -                "type": "string"
        -              },
        -              "suggestion": {
        -                "type": "string"
        -              }
        -            },
        -            "required": [
        -              "code",
        -              "message"
        -            ],
        -            "type": "object"
        -          },
        -          "path": {
        -            "description": "Requested path",
        -            "type": "string"
        -          },
        -          "value": {
        -            "additionalProperties": false,
        -            "description": "Delete outcome; present on success",
        -            "properties": {
        -              "deleted": {
        -                "description": "True when the path was removed; false when the user chose Skip",
        -                "type": "boolean"
        -              }
        -            },
        -            "required": [
        -              "deleted"
        -            ],
        -            "type": "object"
        -          }
        -        },
        -        "required": [
        -          "path"
        -        ],
        -        "type": "object"
        -      },
        -      "type": "array"
        -    },
        -    "summary": {
        -      "additionalProperties": false,
        -      "properties": {
        -        "failed": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "succeeded": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "total": {
        -          "minimum": 0,
        -          "type": "integer"
        -        }
        -      },
        -      "required": [
        -        "total",
        -        "succeeded",
        -        "failed"
        -      ],
        -      "type": "object"
        -    }
        -  },
        -  "required": [
        -    "results",
        -    "summary"
        -  ],
        -  "type": "object"
        -}New value: +null
    • Changededit1 field changed
      • changedOutput schema / (root)
        Previous value: -{
        -  "additionalProperties": false,
        -  "properties": {
        -    "results": {
        -      "description": "Per-path edit results ordered to match the input paths",
        -      "items": {
        -        "additionalProperties": false,
        -        "properties": {
        -          "error": {
        -            "additionalProperties": false,
        -            "description": "Error details; present on failure",
        -            "properties": {
        -              "code": {
        -                "type": "string"
        -              },
        -              "message": {
        -                "type": "string"
        -              },
        -              "path": {
        -                "type": "string"
        -              },
        -              "suggestion": {
        -                "type": "string"
        -              }
        -            },
        -            "required": [
        -              "code",
        -              "message"
        -            ],
        -            "type": "object"
        -          },
        -          "path": {
        -            "description": "Requested file path",
        -            "type": "string"
        -          },
        -          "value": {
        -            "additionalProperties": false,
        -            "description": "Edit result; present on success",
        -            "properties": {
        -              "appliedEdits": {
        -                "description": "Number of edits successfully applied",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "diff": {
        -                "description": "Unified diff of all changes (present only in dryRun mode)",
        -                "type": "string"
        -              },
        -              "kind": {
        -                "description": "Broad file kind: text, binary, image, audio, or pdf",
        -                "enum": [
        -                  "text",
        -                  "binary",
        -                  "image",
        -                  "audio",
        -                  "pdf"
        -                ],
        -                "type": "string"
        -              },
        -              "lineCount": {
        -                "description": "Number of lines in the file after edits",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "lineRange": {
        -                "description": "Line range [firstLine, lastLine] covering all applied edits",
        -                "prefixItems": [
        -                  {
        -                    "exclusiveMinimum": 0,
        -                    "type": "integer"
        -                  },
        -                  {
        -                    "exclusiveMinimum": 0,
        -                    "type": "integer"
        -                  }
        -                ],
        -                "type": "array"
        -              },
        -              "linesAdded": {
        -                "description": "Net lines added by all applied edits",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "linesRemoved": {
        -                "description": "Net lines removed by all applied edits",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "mimeType": {
        -                "description": "Detected MIME type of the file",
        -                "type": "string"
        -              },
        -              "modified": {
        -                "description": "Last modification timestamp after edits (ISO 8601 UTC)",
        -                "format": "date-time",
        -                "type": "string"
        -              },
        -              "path": {
        -                "description": "Resolved absolute path of the edited file",
        -                "type": "string"
        -              },
        -              "resourceUri": {
        -                "description": "Resource URI pointing to the updated file content; omitted when no edit matched (appliedEdits is 0) and the file was left untouched",
        -                "type": "string"
        -              },
        -              "size": {
        -                "description": "File size in bytes after edits",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "unmatchedEdits": {
        -                "description": "oldText values that did not match any content in the file",
        -                "items": {
        -                  "type": "string"
        -                },
        -                "type": "array"
        -              }
        -            },
        -            "required": [
        -              "path",
        -              "size",
        -              "lineCount",
        -              "mimeType",
        -              "kind",
        -              "modified",
        -              "appliedEdits"
        -            ],
        -            "type": "object"
        -          }
        -        },
        -        "required": [
        -          "path"
        -        ],
        -        "type": "object"
        -      },
        -      "type": "array"
        -    },
        -    "summary": {
        -      "additionalProperties": false,
        -      "properties": {
        -        "failed": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "succeeded": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "total": {
        -          "minimum": 0,
        -          "type": "integer"
        -        }
        -      },
        -      "required": [
        -        "total",
        -        "succeeded",
        -        "failed"
        -      ],
        -      "type": "object"
        -    }
        -  },
        -  "required": [
        -    "results",
        -    "summary"
        -  ],
        -  "type": "object"
        -}New value: +null
    • Changedlist1 field changed
      • changedInput schema / properties / maxEntries / description
        Previous value: -"Page size (default: 1000). Continue with nextCursor; resourceUri is only for hard-cap overflow."New value: +"Page size (default: 1000). Continue with nextCursor; an incomplete first page also carries resourceUri for the whole list."
    • Changedread1 field changed
      • changedOutput schema / (root)
        Previous value: -{
        -  "additionalProperties": false,
        -  "properties": {
        -    "results": {
        -      "description": "Per-path results ordered to match the input paths",
        -      "items": {
        -        "additionalProperties": false,
        -        "properties": {
        -          "error": {
        -            "additionalProperties": false,
        -            "description": "Error details; present on failure",
        -            "properties": {
        -              "code": {
        -                "type": "string"
        -              },
        -              "message": {
        -                "type": "string"
        -              },
        -              "path": {
        -                "type": "string"
        -              },
        -              "suggestion": {
        -                "type": "string"
        -              }
        -            },
        -            "required": [
        -              "code",
        -              "message"
        -            ],
        -            "type": "object"
        -          },
        -          "path": {
        -            "description": "Requested file path",
        -            "type": "string"
        -          },
        -          "value": {
        -            "additionalProperties": false,
        -            "description": "Read result; present on success",
        -            "properties": {
        -              "contentHash": {
        -                "description": "SHA-256 hex digest of the returned content (present when includeHash=true)",
        -                "pattern": "^[0-9a-f]{64}$",
        -                "type": "string"
        -              },
        -              "continuation": {
        -                "additionalProperties": false,
        -                "description": "Next-read arguments; present when content was truncated due to size limits",
        -                "properties": {
        -                  "args": {
        -                    "additionalProperties": false,
        -                    "description": "Ready-to-use arguments for the next call; pass verbatim",
        -                    "properties": {
        -                      "endLine": {
        -                        "exclusiveMinimum": 0,
        -                        "type": "integer"
        -                      },
        -                      "path": {
        -                        "type": "string"
        -                      },
        -                      "startLine": {
        -                        "exclusiveMinimum": 0,
        -                        "type": "integer"
        -                      }
        -                    },
        -                    "required": [
        -                      "path",
        -                      "startLine",
        -                      "endLine"
        -                    ],
        -                    "type": "object"
        -                  },
        -                  "hint": {
        -                    "description": "One-sentence description of the data still remaining to be read",
        -                    "type": "string"
        -                  },
        -                  "tool": {
        -                    "description": "Tool name to call for the next chunk",
        -                    "type": "string"
        -                  }
        -                },
        -                "required": [
        -                  "tool",
        -                  "args",
        -                  "hint"
        -                ],
        -                "type": "object"
        -              },
        -              "endLine": {
        -                "description": "End line",
        -                "exclusiveMinimum": 0,
        -                "type": "integer"
        -              },
        -              "hasMoreLines": {
        -                "description": "True when additional lines remain beyond what was returned",
        -                "type": "boolean"
        -              },
        -              "head": {
        -                "description": "Head lines requested",
        -                "exclusiveMinimum": 0,
        -                "type": "integer"
        -              },
        -              "kind": {
        -                "description": "Broad file kind: text, binary, image, audio, or pdf",
        -                "enum": [
        -                  "text",
        -                  "binary",
        -                  "image",
        -                  "audio",
        -                  "pdf"
        -                ],
        -                "type": "string"
        -              },
        -              "linesRead": {
        -                "description": "Number of lines returned in this response",
        -                "minimum": 0,
        -                "type": "integer"
        -              },
        -              "mimeType": {
        -                "description": "Detected MIME type (e.g. text/typescript)",
        -                "type": "string"
        -              },
        -              "resourceUri": {
        -                "description": "Resource URI for externalized content (present when file is stored in resource store)",
        -                "type": "string"
        -              },
        -              "startLine": {
        -                "description": "Start line",
        -                "exclusiveMinimum": 0,
        -                "type": "integer"
        -              },
        -              "tail": {
        -                "description": "Tail lines requested",
        -                "exclusiveMinimum": 0,
        -                "type": "integer"
        -              },
        -              "totalLines": {
        -                "description": "Total line count in the full file",
        -                "minimum": 0,
        -                "type": "integer"
        -              }
        -            },
        -            "type": "object"
        -          }
        -        },
        -        "required": [
        -          "path"
        -        ],
        -        "type": "object"
        -      },
        -      "type": "array"
        -    },
        -    "summary": {
        -      "additionalProperties": false,
        -      "properties": {
        -        "failed": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "succeeded": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "total": {
        -          "minimum": 0,
        -          "type": "integer"
        -        }
        -      },
        -      "required": [
        -        "total",
        -        "succeeded",
        -        "failed"
        -      ],
        -      "type": "object"
        -    }
        -  },
        -  "required": [
        -    "results",
        -    "summary"
        -  ],
        -  "type": "object"
        -}New value: +null
    • Changedreplace_text1 field changed
      • changedOutput schema / (root)
        Previous value: -{
        -  "additionalProperties": false,
        -  "properties": {
        -    "diff": {
        -      "description": "Unified diff of all changes (present when returnDiff=true or dryRun=true)",
        -      "type": "string"
        -    },
        -    "diffTruncated": {
        -      "description": "True when the diff was cut due to the size limit",
        -      "type": "boolean"
        -    },
        -    "filesScanned": {
        -      "description": "Total number of files examined",
        -      "minimum": 0,
        -      "type": "integer"
        -    },
        -    "results": {
        -      "description": "Per-file results: modified files, then any that could not be processed",
        -      "items": {
        -        "additionalProperties": false,
        -        "properties": {
        -          "error": {
        -            "additionalProperties": false,
        -            "description": "Error details; present on failure",
        -            "properties": {
        -              "code": {
        -                "type": "string"
        -              },
        -              "message": {
        -                "type": "string"
        -              },
        -              "path": {
        -                "type": "string"
        -              },
        -              "suggestion": {
        -                "type": "string"
        -              }
        -            },
        -            "required": [
        -              "code",
        -              "message"
        -            ],
        -            "type": "object"
        -          },
        -          "path": {
        -            "description": "File path relative to the search root",
        -            "type": "string"
        -          },
        -          "value": {
        -            "additionalProperties": false,
        -            "description": "Replacement outcome; present on success",
        -            "properties": {
        -              "matches": {
        -                "description": "Replacements applied in this file",
        -                "minimum": 0,
        -                "type": "integer"
        -              }
        -            },
        -            "required": [
        -              "matches"
        -            ],
        -            "type": "object"
        -          }
        -        },
        -        "required": [
        -          "path"
        -        ],
        -        "type": "object"
        -      },
        -      "type": "array"
        -    },
        -    "resultsTruncated": {
        -      "description": "True when the results list holds fewer entries than summary.total: the changed-file or failed-file cap was hit. Trust summary over results.length.",
        -      "type": "boolean"
        -    },
        -    "stoppedReason": {
        -      "description": "Why enumeration stopped early: maxResults = match cap reached, maxFiles = file cap reached, timeout = time limit hit or cancelled. Absent when every matching file was enumerated. Marks the sweep incomplete, not the writes; files already dispatched still complete.",
        -      "enum": [
        -        "maxResults",
        -        "maxFiles",
        -        "timeout"
        -      ],
        -      "type": "string"
        -    },
        -    "summary": {
        -      "additionalProperties": false,
        -      "properties": {
        -        "failed": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "succeeded": {
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "total": {
        -          "minimum": 0,
        -          "type": "integer"
        -        }
        -      },
        -      "required": [
        -        "total",
        -        "succeeded",
        -        "failed"
        -      ],
        -      "type": "object"
        -    },
        -    "totalMatches": {
        -      "description": "Total number of replacements made across all files",
        -      "minimum": 0,
        -      "type": "integer"
        -    }
        -  },
        -  "required": [
        -    "results",
        -    "summary",
        -    "totalMatches",
        -    "filesScanned"
        -  ],
        -  "type": "object"
        -}New value: +null
  11. 28 tool updatesv2.0.0
    • Removedapply_patch
    • Removedcalculate_hash
    • Addedcreate
    • Addeddelete
    • Addeddiff
    • Removeddiff_files
    • Changededit27 fields changed
      • addedInput schema / $defs
        Added value: +{
        +  "EditSpec": {
        +    "additionalProperties": false,
        +    "properties": {
        +      "newText": {
        +        "description": "Replacement text. Use an empty string to delete the matched oldText.",
        +        "type": "string"
        +      },
        +      "oldText": {
        +        "description": "Exact literal text to locate in the file. Must include 3-5 lines of context to ensure uniqueness and avoid matching the wrong block.",
        +        "minLength": 1,
        +        "type": "string"
        +      }
        +    },
        +    "required": [
        +      "oldText",
        +      "newText"
        +    ],
        +    "type": "object"
        +  }
        +}
      • removedInput schema / $schema
        Removed value: -"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / oneOf
        Added value: +[
        +  {
        +    "required": [
        +      "path",
        +      "edits"
        +    ]
        +  },
        +  {
        +    "required": [
        +      "files"
        +    ]
        +  }
        +]
      • changedInput schema / properties / dryRun / description
        Previous value: -"Preview edits without writing. Check `unmatchedEdits` in response."New value: +"Preview diffs without writing to disk (default: false = apply edits)"
      • changedInput schema / properties / edits / description
        Previous value: -"List of replacements to apply sequentially. Each edit replaces the first occurrence of oldText."New value: +"Replacements applied to path; not allowed when using files"
      • addedInput schema / properties / edits / items / $ref
        Added value: +"#/$defs/EditSpec"
      • removedInput schema / properties / edits / items / additionalProperties
        Removed value: -false
      • removedInput schema / properties / edits / items / properties
        Removed value: -{
        -  "newText": {
        -    "description": "Replacement string. Preserve surrounding indentation style.",
        -    "type": "string"
        -  },
        -  "oldText": {
        -    "description": "Exact literal string to replace (character-for-character). Include 3–5 lines of context for unique targeting.",
        -    "maxLength": 102400,
        -    "minLength": 1,
        -    "type": "string"
        -  }
        -}
      • removedInput schema / properties / edits / items / required
        Removed value: -[
        -  "oldText",
        -  "newText"
        -]
      • removedInput schema / properties / edits / items / type
        Removed value: -"object"
      • addedInput schema / properties / edits / maxItems
        Added value: +100
      • addedInput schema / properties / files
        Added value: +{
        +  "description": "Per-file entries (batch mode)",
        +  "items": {
        +    "additionalProperties": false,
        +    "properties": {
        +      "edits": {
        +        "description": "Replacements to apply to this specific file",
        +        "items": {
        +          "$ref": "#/$defs/EditSpec"
        +        },
        +        "maxItems": 100,
        +        "minItems": 1,
        +        "type": "array"
        +      },
        +      "path": {
        +        "description": "File or directory path inside an allowed workspace root.",
        +        "maxLength": 4096,
        +        "minLength": 1,
        +        "type": "string"
        +      }
        +    },
        +    "required": [
        +      "path",
        +      "edits"
        +    ],
        +    "type": "object"
        +  },
        +  "maxItems": 5,
        +  "minItems": 1,
        +  "type": "array"
        +}
      • changedInput schema / properties / ignoreWhitespace / description
        Previous value: -"Treat all whitespace sequences as equivalent when matching oldText."New value: +"Ignore leading/trailing whitespace differences when matching oldText"
      • changedInput schema / properties / path / description
        Previous value: -"Absolute path to file or directory."New value: +"Single file path; mutually exclusive with files"
      • removedInput schema / required
        Removed value: -[
        -  "path",
        -  "edits"
        -]
      • removedOutput schema / $schema
        Removed value: -"https://json-schema.org/draft/2020-12/schema"
      • removedOutput schema / properties / appliedEdits
        Removed value: -{
        -  "maximum": 9007199254740991,
        -  "minimum": 0,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / diff
        Removed value: -{
        -  "description": "Unified diff of changes (dryRun)",
        -  "type": "string"
        -}
      • removedOutput schema / properties / lineRange
        Removed value: -{
        -  "description": "Line range modified [start, end] (1-based)",
        -  "prefixItems": [
        -    {
        -      "maximum": 9007199254740991,
        -      "minimum": 1,
        -      "type": "integer"
        -    },
        -    {
        -      "maximum": 9007199254740991,
        -      "minimum": 1,
        -      "type": "integer"
        -    }
        -  ],
        -  "type": "array"
        -}
      • removedOutput schema / properties / linesAdded
        Removed value: -{
        -  "description": "Lines added",
        -  "maximum": 9007199254740991,
        -  "minimum": 0,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / linesRemoved
        Removed value: -{
        -  "description": "Lines removed",
        -  "maximum": 9007199254740991,
        -  "minimum": 0,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / ok
        Removed value: -{
        -  "type": "boolean"
        -}
      • removedOutput schema / properties / path
        Removed value: -{
        -  "type": "string"
        -}
      • addedOutput schema / properties / results
        Added value: +{
        +  "description": "Per-path edit results ordered to match the input paths",
        +  "items": {
        +    "additionalProperties": false,
        +    "properties": {
        +      "error": {
        +        "additionalProperties": false,
        +        "description": "Error details; present on failure",
        +        "properties": {
        +          "code": {
        +            "type": "string"
        +          },
        +          "message": {
        +            "type": "string"
        +          },
        +          "path": {
        +            "type": "string"
        +          },
        +          "suggestion": {
        +            "type": "string"
        +          }
        +        },
        +        "required": [
        +          "code",
        +          "message"
        +        ],
        +        "type": "object"
        +      },
        +      "path": {
        +        "description": "Requested file path",
        +        "type": "string"
        +      },
        +      "value": {
        +        "additionalProperties": false,
        +        "description": "Edit result; present on success",
        +        "properties": {
        +          "appliedEdits": {
        +            "description": "Number of edits successfully applied",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "diff": {
        +            "description": "Unified diff of all changes (present only in dryRun mode)",
        +            "type": "string"
        +          },
        +          "kind": {
        +            "description": "Broad file kind: text, binary, image, audio, or pdf",
        +            "enum": [
        +              "text",
        +              "binary",
        +              "image",
        +              "audio",
        +              "pdf"
        +            ],
        +            "type": "string"
        +          },
        +          "lineCount": {
        +            "description": "Number of lines in the file after edits",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "lineRange": {
        +            "description": "Line range [firstLine, lastLine] covering all applied edits",
        +            "prefixItems": [
        +              {
        +                "exclusiveMinimum": 0,
        +                "type": "integer"
        +              },
        +              {
        +                "exclusiveMinimum": 0,
        +                "type": "integer"
        +              }
        +            ],
        +            "type": "array"
        +          },
        +          "linesAdded": {
        +            "description": "Net lines added by all applied edits",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "linesRemoved": {
        +            "description": "Net lines removed by all applied edits",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "mimeType": {
        +            "description": "Detected MIME type of the file",
        +            "type": "string"
        +          },
        +          "modified": {
        +            "description": "Last modification timestamp after edits (ISO 8601 UTC)",
        +            "format": "date-time",
        +            "type": "string"
        +          },
        +          "path": {
        +            "description": "Resolved absolute path of the edited file",
        +            "type": "string"
        +          },
        +          "resourceUri": {
        +            "description": "Resource URI pointing to the updated file content; omitted when no edit matched (appliedEdits is 0) and the file was left untouched",
        +            "type": "string"
        +          },
        +          "size": {
        +            "description": "File size in bytes after edits",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "unmatchedEdits": {
        +            "description": "oldText values that did not match any content in the file",
        +            "items": {
        +              "type": "string"
        +            },
        +            "type": "array"
        +          }
        +        },
        +        "required": [
        +          "path",
        +          "size",
        +          "lineCount",
        +          "mimeType",
        +          "kind",
        +          "modified",
        +          "appliedEdits"
        +        ],
        +        "type": "object"
        +      }
        +    },
        +    "required": [
        +      "path"
        +    ],
        +    "type": "object"
        +  },
        +  "type": "array"
        +}
      • addedOutput schema / properties / summary
        Added value: +{
        +  "additionalProperties": false,
        +  "properties": {
        +    "failed": {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    "succeeded": {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    "total": {
        +      "minimum": 0,
        +      "type": "integer"
        +    }
        +  },
        +  "required": [
        +    "total",
        +    "succeeded",
        +    "failed"
        +  ],
        +  "type": "object"
        +}
      • removedOutput schema / properties / unmatchedEdits
        Removed value: -{
        -  "description": "Edits that could not be applied",
        -  "items": {
        -    "type": "string"
        -  },
        -  "type": "array"
        -}
      • changedOutput schema / required
        Previous value: -[
        -  "ok"
        -]New value: +[
        +  "results",
        +  "summary"
        +]
    • Removedfind
    • Addedfind_files
    • Removedgrep
    • Addedlist
    • Addedlist_roots
    • Removedls
    • Removedmkdir
    • Addedmove
    • Removedmv
    • Addedpatch
    • Changedread31 fields changed
      • removedInput schema / $schema
        Removed value: -"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / dependentRequired
        Added value: +{
        +  "endLine": [
        +    "startLine"
        +  ]
        +}
      • removedInput schema / description
        Removed value: -"Use one read mode only: 'head', 'tail', or 'startLine'/'endLine'."
      • addedInput schema / oneOf
        Added value: +[
        +  {
        +    "required": [
        +      "path"
        +    ]
        +  },
        +  {
        +    "required": [
        +      "paths"
        +    ]
        +  }
        +]
      • changedInput schema / properties / endLine / description
        Previous value: -"End line (1-based, inclusive). Defaults to last line when startLine is set."New value: +"End line (1-indexed)"
      • changedInput schema / properties / endLine / maximum
        Previous value: -9007199254740991New value: +100000
      • changedInput schema / properties / head / description
        Previous value: -"Read first N lines (preview)"New value: +"Return first N lines"
      • changedInput schema / properties / includeHash / description
        Previous value: -"Include SHA-256 hash of full file content"New value: +"Include SHA-256 hash of the returned content in the response"
      • changedInput schema / properties / path / description
        Previous value: -"Absolute path to file or directory."New value: +"Single file path; mutually exclusive with paths"
      • addedInput schema / properties / paths
        Added value: +{
        +  "description": "Array of file paths for batch mode (max 1000); mutually exclusive with path",
        +  "items": {
        +    "description": "File or directory path inside an allowed workspace root.",
        +    "maxLength": 4096,
        +    "minLength": 1,
        +    "type": "string"
        +  },
        +  "maxItems": 1000,
        +  "minItems": 1,
        +  "type": "array"
        +}
      • changedInput schema / properties / startLine / description
        Previous value: -"Start line (1-based, inclusive). Defaults to 1 when endLine is set."New value: +"Start line (1-indexed)"
      • changedInput schema / properties / startLine / maximum
        Previous value: -9007199254740991New value: +100000
      • changedInput schema / properties / tail / description
        Previous value: -"Read last N lines"New value: +"Return last N lines"
      • removedInput schema / required
        Removed value: -[
        -  "path"
        -]
      • removedOutput schema / $schema
        Removed value: -"https://json-schema.org/draft/2020-12/schema"
      • removedOutput schema / properties / content
        Removed value: -{
        -  "description": "Content",
        -  "type": "string"
        -}
      • removedOutput schema / properties / contentHash
        Removed value: -{
        -  "description": "SHA-256 of full file content",
        -  "pattern": "^[a-f0-9]{64}$",
        -  "type": "string"
        -}
      • removedOutput schema / properties / endLine
        Removed value: -{
        -  "description": "End line",
        -  "maximum": 9007199254740991,
        -  "minimum": 1,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / hasMoreLines
        Removed value: -{
        -  "description": "More lines?",
        -  "type": "boolean"
        -}
      • removedOutput schema / properties / head
        Removed value: -{
        -  "description": "Head lines",
        -  "maximum": 9007199254740991,
        -  "minimum": 1,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / linesRead
        Removed value: -{
        -  "description": "Lines read",
        -  "maximum": 9007199254740991,
        -  "minimum": 0,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / ok
        Removed value: -{
        -  "const": true,
        -  "type": "boolean"
        -}
      • removedOutput schema / properties / path
        Removed value: -{
        -  "type": "string"
        -}
      • removedOutput schema / properties / resourceUri
        Removed value: -{
        -  "description": "Full content URI",
        -  "type": "string"
        -}
      • addedOutput schema / properties / results
        Added value: +{
        +  "description": "Per-path results ordered to match the input paths",
        +  "items": {
        +    "additionalProperties": false,
        +    "properties": {
        +      "error": {
        +        "additionalProperties": false,
        +        "description": "Error details; present on failure",
        +        "properties": {
        +          "code": {
        +            "type": "string"
        +          },
        +          "message": {
        +            "type": "string"
        +          },
        +          "path": {
        +            "type": "string"
        +          },
        +          "suggestion": {
        +            "type": "string"
        +          }
        +        },
        +        "required": [
        +          "code",
        +          "message"
        +        ],
        +        "type": "object"
        +      },
        +      "path": {
        +        "description": "Requested file path",
        +        "type": "string"
        +      },
        +      "value": {
        +        "additionalProperties": false,
        +        "description": "Read result; present on success",
        +        "properties": {
        +          "contentHash": {
        +            "description": "SHA-256 hex digest of the returned content (present when includeHash=true)",
        +            "pattern": "^[0-9a-f]{64}$",
        +            "type": "string"
        +          },
        +          "continuation": {
        +            "additionalProperties": false,
        +            "description": "Next-read arguments; present when content was truncated due to size limits",
        +            "properties": {
        +              "args": {
        +                "additionalProperties": false,
        +                "description": "Ready-to-use arguments for the next call; pass verbatim",
        +                "properties": {
        +                  "endLine": {
        +                    "exclusiveMinimum": 0,
        +                    "type": "integer"
        +                  },
        +                  "path": {
        +                    "type": "string"
        +                  },
        +                  "startLine": {
        +                    "exclusiveMinimum": 0,
        +                    "type": "integer"
        +                  }
        +                },
        +                "required": [
        +                  "path",
        +                  "startLine",
        +                  "endLine"
        +                ],
        +                "type": "object"
        +              },
        +              "hint": {
        +                "description": "One-sentence description of the data still remaining to be read",
        +                "type": "string"
        +              },
        +              "tool": {
        +                "description": "Tool name to call for the next chunk",
        +                "type": "string"
        +              }
        +            },
        +            "required": [
        +              "tool",
        +              "args",
        +              "hint"
        +            ],
        +            "type": "object"
        +          },
        +          "endLine": {
        +            "description": "End line",
        +            "exclusiveMinimum": 0,
        +            "type": "integer"
        +          },
        +          "hasMoreLines": {
        +            "description": "True when additional lines remain beyond what was returned",
        +            "type": "boolean"
        +          },
        +          "head": {
        +            "description": "Head lines requested",
        +            "exclusiveMinimum": 0,
        +            "type": "integer"
        +          },
        +          "kind": {
        +            "description": "Broad file kind: text, binary, image, audio, or pdf",
        +            "enum": [
        +              "text",
        +              "binary",
        +              "image",
        +              "audio",
        +              "pdf"
        +            ],
        +            "type": "string"
        +          },
        +          "linesRead": {
        +            "description": "Number of lines returned in this response",
        +            "minimum": 0,
        +            "type": "integer"
        +          },
        +          "mimeType": {
        +            "description": "Detected MIME type (e.g. text/typescript)",
        +            "type": "string"
        +          },
        +          "resourceUri": {
        +            "description": "Resource URI for externalized content (present when file is stored in resource store)",
        +            "type": "string"
        +          },
        +          "startLine": {
        +            "description": "Start line",
        +            "exclusiveMinimum": 0,
        +            "type": "integer"
        +          },
        +          "tail": {
        +            "description": "Tail lines requested",
        +            "exclusiveMinimum": 0,
        +            "type": "integer"
        +          },
        +          "totalLines": {
        +            "description": "Total line count in the full file",
        +            "minimum": 0,
        +            "type": "integer"
        +          }
        +        },
        +        "type": "object"
        +      }
        +    },
        +    "required": [
        +      "path"
        +    ],
        +    "type": "object"
        +  },
        +  "type": "array"
        +}
      • removedOutput schema / properties / startLine
        Removed value: -{
        -  "description": "Start line",
        -  "maximum": 9007199254740991,
        -  "minimum": 1,
        -  "type": "integer"
        -}
      • addedOutput schema / properties / summary
        Added value: +{
        +  "additionalProperties": false,
        +  "properties": {
        +    "failed": {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    "succeeded": {
        +      "minimum": 0,
        +      "type": "integer"
        +    },
        +    "total": {
        +      "minimum": 0,
        +      "type": "integer"
        +    }
        +  },
        +  "required": [
        +    "total",
        +    "succeeded",
        +    "failed"
        +  ],
        +  "type": "object"
        +}
      • removedOutput schema / properties / tail
        Removed value: -{
        -  "description": "Tail lines",
        -  "maximum": 9007199254740991,
        -  "minimum": 1,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / totalLines
        Removed value: -{
        -  "description": "Total lines",
        -  "maximum": 9007199254740991,
        -  "minimum": 0,
        -  "type": "integer"
        -}
      • removedOutput schema / properties / truncated
        Removed value: -{
        -  "description": "Truncated?",
        -  "type": "boolean"
        -}
      • changedOutput schema / required
        Previous value: -[
        -  "ok"
        -]New value: +[
        +  "results",
        +  "summary"
        +]
    • Removedread_many
    • Addedreplace_text
    • Removedrm
    • Removedroots
    • Removedsearch_and_replace
    • Addedsearch_text
    • Changedstat6 fields changed
      • removedInput schema / $schema
        Removed value: -"https://json-schema.org/draft/2020-12/schema"
      • addedInput schema / oneOf
        Added value: +[
        +  {
        +    "required": [
        +      "path"
        +    ]
        +  },
        +  {
        +    "required": [
        +      "paths"
        +    ]
        +  }
        +]
      • changedInput schema / properties / path / description
        Previous value: -"Absolute path to file or directory."New value: +"Single file path; mutually exclusive with paths"
      • addedInput schema / properties / paths
        Added value: +{
        +  "description": "Array of file paths for batch mode (max 1000); mutually exclusive with path",
        +  "items": {
        +    "description": "File or directory path inside an allowed workspace root.",
        +    "maxLength": 4096,
        +    "minLength": 1,
        +    "type": "string"
        +  },
        +  "maxItems": 1000,
        +  "minItems": 1,
        +  "type": "array"
        +}
      • removedInput schema / required
        Removed value: -[
        -  "path"
        -]
      • changedOutput schema / (root)
        Previous value: -{
        -  "$schema": "https://json-schema.org/draft/2020-12/schema",
        -  "additionalProperties": false,
        -  "properties": {
        -    "info": {
        -      "additionalProperties": false,
        -      "properties": {
        -        "accessed": {
        -          "description": "Accessed",
        -          "format": "date-time",
        -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
        -          "type": "string"
        -        },
        -        "created": {
        -          "description": "Created",
        -          "format": "date-time",
        -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
        -          "type": "string"
        -        },
        -        "isHidden": {
        -          "description": "Hidden?",
        -          "type": "boolean"
        -        },
        -        "mimeType": {
        -          "description": "MIME type",
        -          "type": "string"
        -        },
        -        "modified": {
        -          "description": "Modified",
        -          "format": "date-time",
        -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
        -          "type": "string"
        -        },
        -        "name": {
        -          "description": "Name",
        -          "type": "string"
        -        },
        -        "path": {
        -          "description": "Absolute path",
        -          "type": "string"
        -        },
        -        "permissions": {
        -          "description": "Permissions",
        -          "type": "string"
        -        },
        -        "size": {
        -          "description": "Size (bytes)",
        -          "maximum": 9007199254740991,
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "symlinkTarget": {
        -          "description": "Target (symlink)",
        -          "type": "string"
        -        },
        -        "tokenEstimate": {
        -          "description": "Est. tokens (size/4)",
        -          "maximum": 9007199254740991,
        -          "minimum": 0,
        -          "type": "integer"
        -        },
        -        "type": {
        -          "description": "Type",
        -          "enum": [
        -            "file",
        -            "directory",
        -            "symlink",
        -            "other"
        -          ],
        -          "type": "string"
        -        }
        -      },
        -      "required": [
        -        "name",
        -        "path",
        -        "type",
        -        "size",
        -        "created",
        -        "modified",
        -        "accessed",
        -        "permissions",
        -        "isHidden"
        -      ],
        -      "type": "object"
        -    },
        -    "ok": {
        -      "const": true,
        -      "type": "boolean"
        -    }
        -  },
        -  "required": [
        -    "ok"
        -  ],
        -  "type": "object"
        -}New value: +null
    • Removedstat_many
    • Removedtree
    • Removedwrite

TDQS

A4.5/5.0

Scored across 14 tools

Disambiguation5/5

Each tool has a clearly distinct operation, and the descriptions explicitly distinguish the easily confused ones: edit vs replace_text vs patch, search_text vs find_files, and read vs stat vs list. There are no overlapping tools that would plausibly cause misselection.

Naming Consistency5/5

All names use consistent lower snake_case and are either concise verbs (read, create, delete, move, undo) or verb_noun forms (search_text, find_files, list_roots). No mixed conventions or vague naming appear.

Tool Count5/5

At 14 tools, the surface is well scoped for a filesystem server: core file operations, discovery, comparison, patching, and undo each earn a place. There is no obvious redundancy that should be collapsed.

Completeness5/5

The set covers the full lifecycle: listing/root discovery, reading, creating, editing, patching, moving/copying, deleting, searching, metadata, diffing, and undo. Missing niche operations like chmod or symlink creation are minor and not required for the apparent text-file-focused scope.

Maintenance

ActivityActive
ResponsivenessWithin a week

Related MCP Connectors

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A Filesystem MCP server that allows an LLM to read and list files from a specified directory on your local machine through the Model Context Protocol.
    2
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server providing filesystem operations, shell execution, and web search capabilities.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Experimental MCP server for local LLM orchestration with filesystem tools (read, write, list, delete files) and a CLI agent that communicates via Ollama.
    2 npm
    ISC