Skip to main content
Glama

mechacut

glob_match

Deterministic glob over a list of paths: * and ? do not cross /, ** spans segments, dots are literal, case-sensitive, input order preserved. No filesystem. Free.

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>",
      "paths": "<paths>"
    },
    "name": "glob_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYes
patternYese.g. src/**/test_*.py

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full behavioral burden and does it well: it discloses segment-crossing rules for * and ?, ** semantics, literal dots, case sensitivity, and output ordering. What it omits is the return shape (presumably the matched subset of paths) and whether non-matches are ever surfaced.

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?

A single dense sentence, front-loaded with the core action and followed by the matching semantics as a compact clause list. No filler, no restatement of the tool name.

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 two-parameter, no-output-schema utility, the description supplies essentially everything needed to call it correctly: semantics, ordering, and the no-filesystem constraint. The only gap is the absence of any statement about what the return value contains.

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 only 50% (the pattern param has an example, paths is bare), so the description compensates by explaining that matching operates over a supplied path list and that input order is preserved in the result. This adds real meaning about the paths parameter beyond the schema, though it doesn't say whether duplicates or empty entries are handled.

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 ('Deterministic glob over a list of paths') and immediately scopes it as an in-memory matcher, not a filesystem search. That 'No filesystem' clause separates it from any file-walking or search sibling without the agent needing to open the schema.

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?

The 'No filesystem' and 'Free' notes implicitly tell the agent this is a pure in-memory string-matching step, which is useful context. However, no explicit when-to-use or when-not-to-use guidance is given, and no alternative is named for cases where the agent actually wants to enumerate real files.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.