Skip to content

Filesystem tool description is ambiguous #670

Open
@moonray

Description

The tool description is ambiguous, causing Claude to not clearly know that subdirs are allowed access.

See:

Yes, the tool description could be clarified to explicitly state that the tool supports accessing subdirectories of allowed directories. 

Here's a revised description for the filesystem tools (particularly `list_allowed_directories`):

```typescript
name: "list_allowed_directories",
description:
  "Returns the list of directories that this server is allowed to access. " +
  "Subdirectories within these allowed directories are also accessible. " +
  "Use this to understand which directories and their nested paths are available " +
  "before trying to access files.",
```

This addition makes it clear that when a parent directory is allowed, its entire directory tree is accessible.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions