Skip to main content
Glama

Repo Context Pack

repo_context_pack

Search repository code with hybrid semantic search to find files, paths, and snippets when file locations are unknown.

Instructions

Preferred task-oriented code lookup for unknown file locations. Use response_mode=paths_only for first-pass scouting, compact for short snippets, and snippets for ranking/debug detail.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNohybrid
queryYes
max_resultsNo
project_pathNo
related_depthNo
response_modeNocompact
max_seed_filesNo
max_context_charsNo
max_related_filesNo
max_related_itemsNo
max_snippet_charsNo
include_related_snippetsNo
max_related_context_charsNo
max_related_snippet_charsNo
max_related_snippets_per_fileNo
Behavior2/5

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

No annotations are provided, so the description must cover behavioral traits. It lacks any mention of side effects (e.g., modifying files), permissions, performance, or output characteristics. The only behavioral hint is the purpose, but it does not disclose what the tool does beyond 'lookup', leaving significant transparency gaps.

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

Conciseness4/5

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

The description is concise with two well-structured sentences. The first sentence establishes purpose, and the second provides actionable guidance on response_mode. It is front-loaded and avoids redundancy.

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?

Given the complexity (15 parameters, no output schema, and a suite of sibling tools), the description is incomplete. It does not explain the overall search mechanism, parameter interactions, return format, or how this tool compares to siblings like repo_semantic_search. Important context is missing for effective agent usage.

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?

With 0% schema description coverage and 15 parameters, the description only addresses the 'response_mode' parameter, providing usage guidance for its three values. All other parameters (mode, query, max_results, etc.) are left undocumented, offering minimal added value over the schema.

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?

The description clearly states it is a 'task-oriented code lookup for unknown file locations', specifying a verb (lookup) and resource (code in repo). It distinguishes from siblings by emphasizing 'unknown file locations' and providing response_mode options, though it does not explicitly differentiate from similar tools like repo_semantic_search.

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

Usage Guidelines4/5

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

The description provides explicit guidance on when to use (for unknown file locations) and how to choose response_mode: 'paths_only for first-pass scouting', 'compact for short snippets', 'snippets for ranking/debug detail'. However, it does not mention when not to use or alternatives beyond these modes.

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