Skip to main content
Glama

subsystem_index

Locate the file implementing a feature by searching file summaries and symbol records, ideal for repository structure questions.

Instructions

파일별 요약 인덱스 검색 (subsystem_index): "이 기능이 어느 파일에 구현돼 있나" 같은 저장소 구조 질문용. 파일 단위 요약(file_summary)과 경로+심볼 레코드(file_head)만 대상으로 하므로 search보다 파일 위치 특정에 강하다. 정확 문자열 매칭은 search_code(ripgrep)를 쓰라.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are present, so the description carries the full burden. It explains the tool's scope (only file_summary and file_head records) and what it does not do (exact string matching), which is helpful. However, it does not explicitly state read-only behavior, return format, or potential side effects, though 'search' implies non-mutating.

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 compact and information-dense, using an example question to illustrate the intended use and a clear comparison with search_code. Every sentence adds value and there is no redundant filler.

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?

The description provides sufficient context for a simple search tool: its purpose, scope, and relationship to alternatives. It does not explain return values, but the output schema exists and the tool is simple enough that this omission is minor.

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 coverage is 0%, so the description must explain query and limit. It partially clarifies that query relates to repository structure questions and file summaries, but it does not describe the 'limit' parameter at all or give concrete query syntax. This leaves the agent guessing about an important parameter.

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 the tool searches a file-level summary index, explicitly targeting repository structure questions and file-location tasks. It also distinguishes itself from the sibling search_code by noting it is better for file-location pinning.

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

Usage Guidelines5/5

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

It provides explicit when-to-use guidance: repository structure questions like 'which file is this feature implemented in?' and states that exact string matching should use search_code (ripgrep) instead. This fully directs the agent toward the appropriate tool.

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