Skip to main content
Glama
syaryn
by syaryn

search_documents

Search documents by Japanese query with optional path and extension filters to find relevant files.

Instructions

Search for documents matching the Japanese query string. Optionally filter by a root path and/or file extensions.

Args: query: Japanese search query limit: Max results to return path_filter: Only return results under this path extensions: List of file extensions to include (e.g., [".py", ".md"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
limitNo
path_filterNo
extensionsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It implies a read-only search operation but does not explicitly state safety, idempotency, or side effects. Basic disclosure but lacks thoroughness.

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 concise with a clear one-line summary followed by structured parameter details. Every sentence adds value, with no redundancy.

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?

Given the tool has 4 parameters (1 required), an output schema, and sibling tools, the description covers the core functionality and filters. However, it could elaborate on search behavior (e.g., tokenization) and error handling.

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

Parameters5/5

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

The description includes an Args section that explains each parameter's meaning beyond the schema (e.g., 'Japanese search query', 'filter by root path'). This fully compensates for the 0% schema description coverage.

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?

The description clearly states it searches for documents matching a Japanese query string, specifying the resource and scope. It distinguishes from sibling tools like delete_index or index_directory, which have different purposes.

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 description implies when to use (searching documents) but does not explicitly state when not to use it or provide alternative tools. No guidance on prerequisites or context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/syaryn/mcp-jp-fts'

If you have feedback or need assistance with the MCP directory API, please join our Discord server