Skip to main content
Glama

Search Entries

search_entries

Search a WizTree snapshot for paths matching a substring or glob and list matches by size, with separate file and folder byte totals.

Instructions

Search a WizTree snapshot for paths matching a substring or glob (* and ?), sorted by size. Reports file bytes and folder container bytes separately: only the file total is reclaimable space.

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": {
      "csvPath": "<csvPath>",
      "query": "<query>"
    },
    "name": "search_entries"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoall
limitNo
queryYesSubstring or glob to match against paths, such as "node_modules" or "*.mp4".
csvPathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does valuable work by explaining that file bytes and folder container bytes are reported separately and that only the file total is reclaimable, preventing a double-counting error, but it says nothing about pagination/limit behavior, case sensitivity, sorting stability, or what happens when nothing matches.

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?

Two sentences, front-loaded with the action and scope, with the second sentence reserved for the high-value reclaimable-bytes caveat. No filler or redundant restatement of the 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 four-parameter, no-output-schema tool, the description supplies the key interpretive context about result semantics. What is missing is the meaning of the required csvPath and the kind/limit interactions, which an agent needs in order to call it correctly.

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 only 25%: query is documented in the schema, csvPath is a required parameter with no description anywhere, and kind/limit semantics are undocumented. The description's glob note largely restates the query schema, and it never clarifies whether limit truncates before or after the size sort.

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?

States a specific verb (search) and resource (paths inside a WizTree snapshot), plus matching modes (substring or glob) and result ordering (sorted by size). It is clearly distinguishable from a top-N listing or a drill-down, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use/when-not-to-use guidance and no mention of alternatives such as top_entries, drill_down, or extension_summary. The only hint is that it operates on a snapshot, which is inferred rather than stated.

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