Skip to main content
Glama

jambavan_context

Search the Jambavan index for code symbols and snippets relevant to a query. Returns a ranked, token-budgeted context block of matching functions, classes, and types to inject into prompts.

Instructions

Search the Jambavan index for code symbols and snippets most relevant to a query. Returns a ranked, token-budgeted context block of matching functions, classes, and types. Inject this block into your prompt to give the model precise, token-efficient codebase knowledge. Much cheaper than reading whole files — only the relevant symbol bodies are returned. Automatically includes top project-memory matches and a bounded set of extracted callers/callees under the same token budget. Options: compress_prose shrinks comments for extra budget; include_diff adds recent git changes; include_tests shows heuristic test associations/references, not execution coverage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax lexical symbols before token-budget truncation; up to 6 extracted structural neighbors may be added (default: 30)
queryYesNatural-language or identifier query — e.g. "auth middleware", "UserService.login"
include_diffNoInclude recent git changes for each symbol (default: false)
include_testsNoInclude associated test file info for each symbol (default: false)
compress_proseNoCompress comments/docstrings in results for more symbol density (default: false)
Behavior5/5

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

With no annotations provided, the description fully discloses key behaviors: returns ranked/token-budgeted context, automatically includes project-memory matches and bounded callers/callees, and clarifies that include_tests shows 'heuristic test associations/references, not execution coverage.' It also explains the effect of each option.

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 a single, well-organized paragraph that front-loads the primary action, then covers output, usage advantage, automatic behaviors, and options. Every sentence earns its place without redundancy or fluff.

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

Completeness5/5

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

For a tool with 5 parameters and no output schema, the description provides comprehensive coverage: purpose, return type (context block), usage directive, cost comparison, automatic inclusion behavior, and option distinctions. It gives an agent enough information to select and invoke the tool correctly.

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

Parameters4/5

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

Schema coverage is 100% (baseline 3), but the description adds meaning by explaining the automatic inclusion of callers/callees under the same token budget, which informs the behavior of the 'limit' parameter. It also summarizes each boolean option, providing contextual understanding beyond the schema.

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's function with a specific verb and resource: 'Search the Jambavan index for code symbols and snippets most relevant to a query.' It distinguishes itself from siblings by focusing on producing a token-budgeted context block for injection, which is unique among the listed tools.

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 offers clear usage context: 'Inject this block into your prompt' and emphasizes cost efficiency over 'reading whole files.' However, it does not explicitly name alternative tools or provide when-not-to-use scenarios, so it falls short of a 5.

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/beingmartinbmc/jambavan'

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