fs.glob
List files matching a glob pattern from a root directory, with an option to limit the number of results.
Instructions
List files matching a glob-like pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| pattern | No | ||
| maxResults | No |
List files matching a glob pattern from a root directory, with an option to limit the number of results.
List files matching a glob-like pattern.
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| pattern | No | ||
| maxResults | No |
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full responsibility for behavioral disclosure. It only states the action without mentioning read-only nature, permissions, recursion behavior, or potential side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no wasted words, but its brevity sacrifices essential detail. It is acceptably concise but lacks structure that would aid comprehension.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given three parameters, no output schema, and no annotations, the description is insufficient. It does not explain return values, error handling, or glob pattern details, leaving significant gaps for an agent to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description fails to explain the three parameters (root, pattern, maxResults). The term 'glob-like pattern' gives minimal hint, but semantics like default paths, pattern syntax, and result limits are absent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'List files matching a glob-like pattern', identifying the tool's verb and resource. However, it does not distinguish from sibling tools like fs.list or fs.grep, which are similarly file-related.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives like fs.list or fs.grep. There is no mention of prerequisites, exclusions, or usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/haoyun18881-beep/universal-brute-workpack'
If you have feedback or need assistance with the MCP directory API, please join our Discord server