Skip to main content
Glama

clearly_glob

Read-onlyIdempotent

Find things by NAME pattern, across notes and code at once — the "where is the thing called X" question, when you do not know which corpus it lives in. It is also how you LIST: folders come back as entries with a trailing slash, so ~/* is the top level (projects and loose documents) and ~/Q1/* is what is in Q1. An empty folder appears too. ARCHIVED items are excluded unless the pattern names ~/.archive/**. Paths are TITLES, not ids: ~ is the workspace (notes are files, projects are folders, e.g. ~/Q1/Pricing.md), /code is its code corpus, /chats is every chat you can see as read-only files (search it with grep path /chats).

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": "clearly_glob"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results per page (default 100, max 500).
cursorNoContinue with nextCursor using the same pattern.
patternYesGlob, e.g. `~/**/*pricing*` or `/code/src/**/*.ts`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial behavior beyond that: archived items are excluded unless the pattern names `~/.archive/**`, folders come back with a trailing slash, empty folders still appear, and `/chats` is mounted as read-only files. These are non-obvious filtering and return-shape rules an agent could not infer from annotations alone.

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?

Purpose is front-loaded in the first clause, and nearly every sentence carries unique information (path semantics, archive exclusion, listing behavior). The single dense paragraph with mid-sentence emphasis switches ("It is also how you LIST:", "Paths are TITLES") is slightly harder to scan than a structured layout, but no sentence is filler.

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?

With no output schema, the description carries the burden of describing results and does so: entries, trailing-slash folders, empty folders, and archive exclusion. Pagination is covered by the schema's limit/cursor descriptions, so nothing an agent needs to invoke and interpret this tool is missing.

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 genuinely extends pattern semantics beyond the schema examples: it defines what `~` means (workspace, notes as files, projects as folders), what `/code` and `/chats` are, and the archive-inclusion rule tied to `~/.archive/**`. It does not add anything for limit/cursor beyond the schema, but the pattern semantics are meaningfully enriched.

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 pair: find/list things by NAME pattern across notes and code. It explicitly frames the question it answers ("where is the thing called X") and distinguishes itself from content search by directing chat content search to grep, so an agent can tell it apart from clearly_grep 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?

Gives clear when-to-use framing (when you do not know which corpus the item lives in) plus a listing procedure with concrete patterns (`~/*`, `~/Q1/*`). The alternative for content search is named indirectly ("search it with grep path /chats"), but there is no explicit statement of when NOT to use glob for `~` or `/code` content searches, which keeps it just short of a 5.

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.