Skip to main content
Glama

glob

Read-only

Find files by shell-style pattern matching on relative paths, skipping symlinks and common generated directories; .gitignore is not parsed.

Instructions

Find files using shell-style matching on relative paths. Skips symlinks and common generated directories; does not parse .gitignore.

Tool call template

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

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

Input Schema

NameRequiredDescriptionDefault
pathNo
limitNo
patternYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the readOnlyHint and openWorldHint annotations, the description adds useful behavioral details: it skips symlinks and common generated directories, and it does not parse .gitignore. It does not explain what 'common generated directories' includes or how results are ordered, but the key filtering caveats are 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?

The description is two concise sentences with no wasted words, and the core purpose and key caveats are front-loaded.

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

Completeness3/5

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

For a simple read-only file-finding tool, the description covers core behavior and important exclusions, but it leaves gaps around the path and limit parameters and does not state what the returned file paths look like.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry parameter meaning. It clarifies that matching uses shell-style patterns and relative paths, but it never explains the path parameter or the limit parameter, leaving two of three parameters undocumented.

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?

The description states a specific verb and resource: find files via shell-style matching on relative paths. It is clear what the tool does, but it does not explicitly differentiate itself from sibling tools such as grep or tree.

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 by 'Find files,' but the description provides no explicit when-to-use guidance, no when-not-to-use conditions, and no named alternatives such as grep for content search or tree for directory listing.

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