Skip to main content
Glama

Search Files in Iagon

iagon_search_files
Read-onlyIdempotent

Search Iagon storage for files by name or pattern and return matching metadata, with limit and offset options for pagination.

Instructions

Search for files by name or pattern in Iagon storage.

Args:

  • query (string, required): Search string to match against file names

  • limit (number, optional): Max results (default: 20, max: 100)

  • offset (number, optional): Skip results for pagination

  • response_format ('markdown' | 'json'): Output format

Returns: Matching files with metadata.

Example:

  • Search for MP4 files: query=".mp4"

  • Search for project files: query="project-a"

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (1-100)
queryYesSearch string to match against file names
offsetNoNumber of results to skip for pagination
response_formatNoOutput formatmarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile needs no restating. The description adds the return shape ("Matching files with metadata") and the default/max limit, which is modest added value. It never resolves whether matching is substring, glob, or regex, nor whether the search spans folders — the main behavioral questions for a search tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose sentence and examples are front-loaded and useful, but the four-line Args section restates a schema that already documents every parameter at full coverage, and the Returns line is a single vague sentence. Trimming the duplicated Args while keeping the examples would improve it.

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?

With full schema coverage and rich annotations, most of the calling contract is already carried by structured fields and the description need not repeat it. Missing is any note on match semantics, case sensitivity, or whether results are scoped to a folder, which matter for a search tool with an openWorld hint. No output schema exists, so the brief "Returns" line is a reasonable but thin substitute.

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

Parameters3/5

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

Schema coverage is 100%, so the Args block largely duplicates defaults, ranges, and the enum already documented in the schema. The examples do add a little meaning by showing the query is a loose substring like ".mp4", but the ambiguous term "pattern" is left unexplained relative to the schema's plain "search string".

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 and resource ("Search for files by name or pattern in Iagon storage") and adds the query mechanism. It does not distinguish itself from the sibling iagon_list_files, so an agent must infer that this is the filtered/substring variant rather than a full enumeration.

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 two examples (query=".mp4", query="project-a") imply intended usage, but there is no explicit statement of when to pick this over iagon_list_files or when a query is too broad to be useful. Usage is demonstrated rather than prescribed, leaving the alternative-route choice implicit.

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