Skip to main content
Glama

Repo Semantic Search

repo_semantic_search

Debug semantic or hybrid ranking of indexed code chunks. Choose paths_only for scouting or snippets for detailed results.

Instructions

Debug raw semantic or hybrid ranking over indexed chunks. Prefer repo_context_pack for normal lookup; use paths_only to scout cheaply and snippets only when scores or fuller snippets are needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNohybrid
queryYes
max_resultsNo
project_pathNo
response_modeNocompact
max_context_charsNo
max_snippet_charsNo
Behavior3/5

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

No annotations provided, so description should cover behavioral traits. It mentions response modes but does not detail output format, side effects, or auth needs. Adequate but not exhaustive.

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 with no fluff. Front-loaded with purpose and guidance. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite complexity (7 params, no output schema, no annotations), description omits details on most parameters and output structure. Incomplete for confident agent use.

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 has 7 parameters with 0% description coverage. Description only explains response_mode usage partially, leaving max_results, max_context_chars, max_snippet_chars, and project_path unexplained.

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?

Clearly states it debugs raw semantic or hybrid ranking over indexed chunks, and distinguishes from sibling repo_context_pack.

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?

Explicitly advises when to use this tool vs alternatives: prefer repo_context_pack for normal lookup, use paths_only to scout cheaply, snippets when detailed content needed.

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/Lianye-Scythe/scythe-context-mcp'

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