Skip to main content
Glama

Lynx

LynxMCP is a 100% local MCP server for the code questions grep can't answer: what calls this, what breaks if I change it, where is the code that does X, how does the library version I actually use behave. AST-aware chunking, hybrid BM25 + dense retrieval, an optional code knowledge graph, and your library docs and PDFs indexed next to your code. Works with any MCP client (Claude Code, Cursor, Windsurf, Antigravity, ...).

Tests License: Apache 2.0 Python 3.10+ Glama score

LynxMCP MCP server

Grep is the right tool when you know the identifier, and your agent already has it. Lynx is for the questions grep cannot answer. Behaviour: "where do we clamp the camera zoom?" matches nothing literal. Structure: who calls this, what inherits from it, what breaks if it changes; polymorphic dispatch leaves no textual trace. Knowledge past the model's training cutoff: the docs of the framework version you run, indexed as a source. Nothing leaves your machine.

What grep can't answer

Each row is measured; the numbers come from the benchmarks below.

Question

Agentic grep

Lynx

"What inherits from Field?" (Django, 100 classes over 4 levels)

101 grep rounds, one per discovered class

4 graph_query calls, file:line on every edge

"What breaks if I change ApplyDamage?"

the textual mentions of the name

impact: every transitive caller with its hop distance, plus the tests to re-run

"Where do we validate session tokens?" on C# (Json.NET)

hit@1 33%

hit@1 47%

"How does this API behave in the version we ship?"

the model's memory

the docs you indexed, cited with the page they came from

Where grep is better, this page says so. On Guava, whose class names document themselves (BloomFilter, RateLimiter), grep ranks higher: hit@1 73% against 60%. On a repository that fits in the agent's context, the built-in tools are fine. Lynx pays off on large codebases, on framework docs your model has gone stale on, and on repeated sessions where re-exploring from scratch is waste.

Related MCP server: Code Memory

Quickstart

# 1. Install the CLI (isolated, no venv ritual). About 460 MB on disk, no PyTorch.
pipx install lynx-mcp
#    or: uv tool install lynx-mcp

# 2. Create a config and point it at your project
lynx manager init
lynx source add myproject --type codebase --path /path/to/your/repo

# 3. Build the index (downloads the 130 MB embedding model on first run)
lynx build

lynx manager init also offers to open the web UI, where the same source can be added through a guided form with a folder picker. Everything below works either way.

Every tool your AI gets is also a command, with the same name and the same output: lynx find-definition ApplyDamage, lynx impact ApplyDamage, lynx graph query --op callers --symbol ApplyDamage. Add --json to any of them for scripts.

Then register Lynx in your MCP client. Claude Code is shown; the full guide covers Cursor, Antigravity, and generic stdio clients, or let lynx manager ui generate the snippet for you:

{
  "mcpServers": {
    "lynx": {
      "command": "lynx",
      "args": ["serve", "--config", "/absolute/path/to/config.json"]
    }
  }
}

The server answers the MCP handshake in about a second and opens the indexes in the background; a call that arrives earlier gets the loading state back and is retried. If you would rather skip the terminal, there are double-click installers for macOS and Windows.

The tools your AI gets

The tool set is fixed: it does not grow with the number of sources. It is also layered, because every tool definition rides in your client's context on every turn. Three profiles: core (5 tools, about 1,300 tokens of definitions), standard (10 tools, about 2,800 tokens, the default) and full (17 tools, about 4,150 tokens). Set tools.profile in config.json or pass lynx serve --profile full; tools.include adds a single tool to a profile. Tools take a source argument where relevant.

Tool

Profile

What it answers

search(query, source?, outline?)

core

Primary hybrid search. Omit source to search every source at once (RRF-fused). outline=true returns signatures only, for cheap triage.

deep_search(queries, source?)

standard

Escalation: tries multiple query phrasings until one passes a quality threshold.

graph_query(operation, symbol?)

standard

callers, callees, subclasses, superclasses, imports, neighbors, shortest_path, overview, surprising_connections, status.

find_definition(symbol)

standard

Where is X defined? (AST-precise when the graph is on, BM25 fallback otherwise.)

find_usages(symbol)

core

Every use of X: calls and non-call references (generics, decorators, docs).

find_tests_for(symbol)

full

Are there tests for X?

find_similar(snippet)

full

Does code like this already exist?

describe_symbol(symbol)

core

One-shot context for X: definition, who calls it, what it calls, its tests, in a single call.

impact(symbol)

core

Blast radius: everything that reaches X transitively through the call graph (with hop distance), plus the tests to re-run.

module_summary(file)

full

A file as a unit: the symbols it defines, what it imports, and which files depend on it. (graph)

repo_overview()

standard

"What is this and where do I start": detected languages, frameworks, entry points, and build/test/run commands.

export_graph(target, mode?)

full

Render a shareable, offline graph view (a symbol's blast radius or a file hub) as a single self-contained file. (graph)

search_diff(query, base?)

standard

Search only the files changed vs a base branch. Built for code review.

feedback(trying_to_do, tried, stuck)

core

The agent files a report when the index couldn't answer. Stored 100% locally, your signal for tuning sources.

list_sources / get_rag_status / update_source_index

full

Introspection and maintenance.

Retrieval tools carry MCP readOnlyHint annotations, so clients can auto-approve them. The only write is export_graph, which saves a graph view file. The server ships its usage playbook in the MCP handshake (instructions plus a lynx://guide resource), so your agent knows how to query well without any rules-file setup.

(graph) tools need the optional code knowledge graph enabled for the source. The tool set is per-capability, never per-source.

How it works

flowchart LR
    A["Your code + docs + PDFs"] --> B["Tree-sitter<br/>AST chunker"]
    B --> C["bge-small<br/>dense embeddings"]
    B --> D["code-tokenized<br/>BM25"]
    B --> G["Code knowledge graph<br/>(opt-in)"]
    C --> R{{"RRF fusion"}}
    D --> R
    Q(["Your query"]) --> R
    R --> RR["Optional<br/>reranker"]
    RR --> RES["Ranked code<br/>file : line : symbol"]
    G --> GT["Graph tools<br/>callers · subclasses · usages"]

    classDef store fill:#fff3e6,stroke:#e8742c,color:#24292f;
    classDef out fill:#e8742c,stroke:#e8742c,color:#fff;
    class C,D,G store;
    class RES,GT out;
  • Tree-sitter parses 18+ languages (19 grammars, counting TSX) and indexes whole functions and classes, not arbitrary text windows.

  • Retrieval is hybrid: dense embeddings plus code-tokenized BM25, fused with RRF, with an optional cross-encoder reranker.

  • The code knowledge graph (opt-in) records who calls what, inheritance and imports, and answers "what breaks if I change this?" with the actual blast radius.

  • Sources can be codebases, public docs sites (fetched once, on demand; JS-rendered SPAs via optional headless Chromium) and PDFs, searched side by side.

  • A file watcher re-indexes a saved file in about 2 seconds. No manual rebuild ritual.

  • Search and the graph are also served as rows over a local HTTP API, so SQL engines can join your code with tickets, PRs or logs (see Integrations).

  • lynx manager ui gives you guided setup, a query playground, diagnostics and client config snippets in the browser.

Everything runs locally: HuggingFace models are downloaded once, then Lynx switches to offline mode. No telemetry, no cloud index, no code upload. The only network access is the model download and the explicit webdoc fetch step you trigger yourself.

The models run on ONNX Runtime, so there is no PyTorch in the install: about 460 MB on disk, and a 165 MB download on Linux where the torch wheel alone used to bring 4 GB of CUDA libraries. Same model, same vectors, so an index built by an earlier version keeps working.

Open as many sessions on one index as you like: two editor windows, an editor plus the web UI, a CLI query while the server runs. They all search the same index. Only indexing is exclusive, and the process doing it hands over automatically if you close it.

Behind a firewall or on an air-gapped machine? The model can come from a mirror, from this repo's GitHub Releases (the automatic fallback), or from an archive you carry over; see Restricted networks in the guide.

Benchmarks (reproducible)

Three codebases, three languages, behavioural questions with known ground-truth files, and a grep baseline built to be strong (IDF-weighted multi-keyword ranking with ideal stopword removal, closer to BM25 than to an agent's first rg). Methodology and per-task results: Django, Json.NET, Guava.

grep / Lynx

Django 5.2 (Python)

Json.NET (C#)

Guava (Java)

corpus

883 files, 158k lines, 20 questions

240 files, 69k lines, 15 questions

606 files, 181k lines, 15 questions

hit@5

95% / 85%

67% / 73%

93% / 80%

hit@1

45% / 55%

33% / 47%

73% / 60%

MRR

0.64 / 0.67

0.47 / 0.58

0.81 / 0.70

median tokens to answer

4,150 / 1,725

6,590 / 1,540

5,892 / 807

tool round-trips before the code is in context

2+ / 1

2+ / 1

2+ / 1

Ranking swings with how self-documenting the code is: Lynx ahead on C#, where PascalCase identifiers and sparse comments starve a lexical baseline; mixed on Python, ahead at hit@1 and behind at hit@5 in Django's docstring-rich code; behind on Guava. The token cost does not swing. It drops 58% to 86% every time, because Lynx hands back the whole function with file:line, symbol and score in one call, where grep returns match lines and then needs a read.

The structural gap is of a different kind. "What inherits from Field?" over Django's 100-class hierarchy takes grep 101 rounds, one per discovered class, each a full model inference over the growing context; graph_query answers it in 4 calls from resolved inheritance edges, same recall, file:line on every edge.

# reproduce: Python (Django)
git clone --depth 1 --branch 5.2 https://github.com/django/django.git benchmarks/_target/django
python benchmarks/run_benchmark.py && python benchmarks/structural_demo.py

# reproduce: C# (Json.NET)
git clone --depth 1 https://github.com/JamesNK/Newtonsoft.Json.git benchmarks/_target/jsonnet
python benchmarks/run_benchmark.py --tasks benchmarks/tasks_jsonnet.json \
  --target-dir benchmarks/_target/jsonnet --storage-dir benchmarks/_storage_csharp \
  --results-json benchmarks/results_csharp.json --results-md benchmarks/RESULTS_csharp.md

# reproduce: Java (Guava)
git clone --depth 1 https://github.com/google/guava.git benchmarks/_target/guava
python benchmarks/run_benchmark.py --tasks benchmarks/tasks_guava.json \
  --target-dir benchmarks/_target/guava --storage-dir benchmarks/_storage_java \
  --results-json benchmarks/results_java.json --results-md benchmarks/RESULTS_java.md

What it costs, in tokens and in money

Per retrieval, the saving is the measured delta above: 2,400 to 5,100 fewer tokens to get the answer into context. Per session, the tool definitions cost 1,300 tokens (core), 2,800 (standard) or 4,150 (full), so a session has paid for its tool list after the first or second retrieval. outline triage cuts the search step by another 2.4x on broad queries (measured).

In money, for 25 engineers making 60 retrievals a day (31,500 a month), the yearly API bill Lynx removes, as a range across the three codebases:

Flagship model (input $/1M)

Measured floor

With the saved round trip

Claude Fable 5 ($10)

$9,200 to $19,200

$16,700 to $26,800

GPT-5.5, Claude Opus 4.8 ($5)

$4,600 to $9,600

$8,400 to $13,400

The floor counts only the smaller tool output, no assumptions. The second column adds the one grep round trip Lynx removes, whose 20k-token context is re-read from the prompt cache at a tenth of the input price; that discount is the single modelled assumption, and it is a knob. Run it for your own team, prices and codebase: python benchmarks/savings_calculator.py --devs N, or the interactive savings calculator (presets in pricing.json and measured.json, yours to edit).

Read less: outline mode

Every search ranks the same way. search(query, outline=true) (or ?view=outline over HTTP) returns the same ranked hits without their bodies: a one-line signature plus the first line of the docstring, so the agent scans the candidates and reads the single body it needs, by its cited file:line. On a public repo (psf/requests) it cut the search step to 2.4x fewer tokens. When to use which, the measured data and the chart: docs/OUTLINE.md.

Integrations

Search and the code graph are served as NDJSON over a local HTTP API (/api/v1), and the MCP tools compose with any other MCP server your agent has. Everything below stays on your machine; only the other side of a join (GitHub, Jira, Sentry) touches an API.

  • Coral: Lynx is a community source in Coral's registry, lynx.search plus six graph functions, so a behavioural question becomes a SQL table you join with live GitHub or Sentry data.

  • DuckDB: read_ndjson_auto('http://127.0.0.1:8765/api/v1/search?...') is a table, no plugin and no daemon; join code relevance with git churn, error logs or ticket exports.

  • Steampipe: a plugin with lynx_source, lynx_search and lynx_graph tables that join per row, one search per row of another table; prebuilt macOS and Linux binaries on the releases page.

  • GitHub Action: on every PR, a comment with the downstream callers and the semantically related code, indexed locally on the runner.

  • MCP recipes: agent patterns combining Lynx with GitHub, Sentry and Jira MCP servers (triage, PR impact, ticket to code).

Documentation

Full guide

Configuration, all source types (codebase / webdoc / PDF), retrieval internals, tool profiles, troubleshooting

Manager UI

Guided setup, playground, diagnostics

Outline mode

Signatures instead of bodies: when to use it, measured data, chart

Coral / DuckDB / Steampipe

Code search and the code graph as SQL tables

MCP recipes

Combining Lynx with GitHub / Sentry / Jira MCP servers

PR impact analysis (GitHub Action)

Downstream callers and related code, commented on every PR

config.example.json

Annotated example configuration

Status

Developed by one author; APIs may still move before 1.x stabilizes. Issues and PRs are welcome. The test suite runs with pytest and CI must stay green. See ROADMAP.md for what's under consideration (and what is explicitly not planned).

License

Apache 2.0


Available Tools

16 tools
describe_symbolA
Read-onlyIdempotent

One-shot context for a symbol: definition, who calls it, what it calls, and its tests, in a single call. The fastest way to understand a function or class before changing it. Call data needs the graph layer; definition and tests always work.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoSource name. Omit when only one source applies.
symbolYesIdentifier, e.g. `MyClass` or `MyClass.handleClick`.
tests_limitNoMax tests.
callees_limitNoMax callees.
callers_limitNoMax callers.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive behavior; the description adds meaningful context by disclosing the graph-layer dependency for call data and the always-available definition/tests. This is real behavioral insight beyond the annotations.

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 efficient sentences deliver the core value, use case, and key limitation without repetition. Every sentence earns its place.

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 fully documented schema, clear annotations, and the concise disclosure of the graph-layer dependency, the description is largely complete for an agent to select and call the tool. It does not detail the return format, but the symbol context it promises is clearly enumerated.

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

Parameters3/5

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

Schema coverage is 100%, so the parameters are already well-documented. The description does not add parameter-specific detail, but the schema's own descriptions suffice.

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?

Description clearly states a specific action: get one-shot context about a symbol, listing exact components (definition, callers, callees, tests). It distinguishes itself from siblings by emphasizing the bundled, single-call nature.

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?

Provides clear context: use this as the fastest way to understand a function/class before changing it. It also gives an important usage caveat that call data requires the graph layer while definition and tests do not, though it does not explicitly name sibling alternatives.

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

export_graphA
Idempotent

Write a self-contained offline HTML view of a symbol's blast radius (mode=symbol) or a file's imports and dependents (mode=module), for a human to open or attach to a PR. Returns the file path.

ParametersJSON Schema
NameRequiredDescriptionDefault
outNoOutput path; default: the reports dir.
modeNosymbol | module.symbol
depthNoHops for symbol mode (1-6).
sourceNoSource name. Omit when only one source applies.
targetYesSymbol (mode=symbol) or file path / fragment (mode=module).

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover read-only/destructive/idempotent hints; description adds that the output is a self-contained offline HTML file and that the call returns the file path. This aligns with readOnlyHint=false and idempotentHint=true, though overwrite behavior is not detailed.

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?

Single, front-loaded sentence with no filler; the parenthetical mode breakdown is compact and informative.

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?

All parameters are schema-documented, annotations cover safety, and the description supplies the return value ('file path') and the artifact's purpose. No critical details are missing for a tool that writes a file.

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 already describes all 5 params at 100% coverage, but the description adds functional meaning: mode=symbol relates to blast radius, mode=module to imports/dependents. This helps select target semantics beyond the schema's terse enum.

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?

States a specific verb 'Write' and resource 'self-contained offline HTML view', and clarifies two modes: symbol blast radius versus module imports/dependents. This distinguishes it from siblings like find_usages or impact, which presumably return structured data rather than an HTML artifact.

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?

Provides clear usage context: produce a human-readable offline HTML report to open or attach to a PR. It does not explicitly name alternatives or when-not conditions, but the 'for a human' phrasing implies a choice over data-returning tools.

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

feedbackA

Report that the index could not answer you, before giving up. Appended to a local log (never uploaded) so the index owner can tune sources and filters.

ParametersJSON Schema
NameRequiredDescriptionDefault
stuckYesWhere exactly you got stuck.
triedYesTools and queries you already tried.
trying_to_doYesWhat you were trying to find or answer.

TDQS

A4.5/5.0
Behavior5/5

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

With all annotation hints false, the description carries the full burden and does so well: it discloses the write side effect (appended), the local persistence (local log), the privacy guarantee (never uploaded), and the downstream purpose (owner tunes sources and filters). This exceeds what the annotations provide.

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 tightly written sentences: the first states the core action and timing, the second explains where the data goes and why it matters. No filler or redundant restatement.

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 simple 3-parameter feedback tool with full schema coverage and no output schema, the description provides everything needed: when to call it, what it does, its storage behavior, and its purpose. Nothing critical is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so each parameter is already documented. The tool description adds no additional parameter detail, but the baseline of 3 applies because the schema fully covers semantics.

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 states a specific action: report when the index could not answer. It identifies the resource (local log) and distinguishes itself from sibling index-querying tools by marking feedback as a fallback after failed lookups.

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?

It clearly signals when to use: when the index could not answer, before giving up. It does not explicitly enumerate excluded cases or name alternatives, but the condition and timing are clear enough for an agent to route to it correctly.

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

find_definitionA
Read-onlyIdempotent

Jump to where a symbol is defined, when you already know its name. AST-precise when the graph layer is on, BM25 fallback otherwise; each hit says which. Use search instead when you can only describe what the code does, and describe_symbol when you also want the callers and the tests in the same call.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax results.
sourceNoSource name. Omit when only one source applies.
symbolYesIdentifier, e.g. `MyClass` or `MyClass.handleClick`.

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, and non-destructive behavior. The description adds valuable context about the AST-precise vs. BM25 fallback modes and that each hit indicates its source, which goes beyond the annotations without contradicting them.

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, using two sentences to convey purpose, behavior, and usage guidance. It is well-structured with a clear flow and no unnecessary words.

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?

There is no output schema, so the description need not fully explain return values, but it does mention that 'each hit says which' mechanism was used. This gives a reasonable hint about the output. The description sufficiently covers the tool's context and edge cases (AST vs. BM25).

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

Parameters3/5

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

The schema covers 100% of the parameters, and the descriptions are present but minimal (e.g., 'Max results', 'Source name', 'Identifier'). They clarify the data type and purpose but do not add much beyond the schema definitions. This is at the baseline expected for full 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 the tool's purpose: 'Jump to a symbol definition' and specifies the exact resource (symbol definitions) and the action (jump). It also distinguishes itself from sibling tools by naming 'search' and 'describe_symbol' explicitly.

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?

The description provides explicit guidance on when to use this tool versus alternatives: 'Use `search` instead when you can only describe what the code does, and describe_symbol when you also want the callers and the tests in the same call.' This gives clear conditions for selection.

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

find_similarA
Read-onlyIdempotent

Code semantically similar to a snippet, dense search only. Use before writing a function to check whether something like it already exists. Snippets are cut at 2000 chars.

ParametersJSON Schema
NameRequiredDescriptionDefault
top_kNoMax results.
sourceNoSource name. Omit when only one source applies.
snippetYesCode block to match; cut at 2000 chars.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds meaningful behavioral constraints: this is a dense-search-only operation and snippets over 2000 chars are truncated. This goes beyond the safety annotations, though it does not describe result shape or pagination.

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 short sentences deliver the core purpose, the usage context, and a key input limitation. Every sentence earns its place and critical constraints are front-loaded.

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?

For a read-only search tool, the description plus schema and annotations provide enough to select and invoke it correctly. It could be more explicit about the return format since there is no output schema, but the intended behavior is clear.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description repeats the snippet truncation behavior already present in the schema and adds no new semantics for top_k or source.

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 uses a specific verb and resource: it finds code semantically similar to a given snippet. The phrase 'dense search only' narrows the mechanism and differentiates this tool from lexical search siblings like search or deep_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?

'Use before writing a function to check whether something like it already exists' gives a clear, concrete trigger for calling the tool. It does not explicitly name alternatives or state when not to use it, 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.

find_tests_forA
Read-onlyIdempotent

List the tests that mention a symbol, searched under conventional test paths (tests/, spec/, tests/, _test., .spec., *Test.cs, *Tests.cs); test_path_pattern replaces them for another layout. Use it when the tests are all you want, before or after a change; describe_symbol returns the same tests bundled with the definition and the callers, and impact returns them for a whole blast radius.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax results.
sourceNoSource name. Omit when only one source applies.
symbolYesIdentifier to find tests for.
test_path_patternNoRegex for test file paths, replacing the defaults.

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description is consistent with these. The description adds valuable behavioral context beyond the annotations: the default search paths (tests/, spec/, __tests__/, etc.) and the fact that test_path_pattern replaces those defaults. The lower bar for annotations is met, with only minor extra behavioral detail (e.g., no-results behavior) omitted.

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 dense but efficient: two sentences cover the action, the resource, the path defaults, the replacement mechanism, the usage trigger, and the sibling contrasts. No redundant words or filler. It could be split into slightly clearer sentences, but every clause earns its place.

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?

For a read-only, idempotent tool with 4 simple parameters and no output schema, the description covers: the purpose, the default path behavior, the replacement semantics, when to use it, and the distinction from two siblings. It omits the output format, but given no output schema and the simple 'list' nature, the coverage is strong. The main gap is edge-case behavior (e.g., no tests found), but this is minor for the tool's complexity.

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 description coverage is 100% (all 4 parameters have descriptions), which sets a baseline of 3. The description adds meaning beyond the schema by explaining the conventional-path default behavior and how test_path_pattern substitutes for it, giving each parameter operational context (e.g., 'Omit when only one source applies' is reinforced by the tool's purpose). This pushes it above the baseline.

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 uses a specific verb ('List') and a specific resource ('tests that mention a symbol') with a clear scope (conventional test paths). It explicitly distinguishes the tool from siblings: 'describe_symbol returns the same tests bundled with the definition and the callers, and impact returns them for a whole blast radius.' This leaves no ambiguity about what the tool does and how it differs from the alternatives.

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?

The description explicitly states when to use it: 'Use it when the tests are all you want, before or after a change,' and contrasts it with describe_symbol and impact for the when-not cases. It also explains the test_path_pattern parameter's role ('replaces them for another layout'), giving concrete guidance on usage conditions.

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

find_usagesA
Read-onlyIdempotent

Every use of a symbol: calls (from the graph when on) plus textual references (generics, decorators, imports, docs), definition excluded. Answers 'who uses X'.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax results.
sourceNoSource name. Omit when only one source applies.
symbolYesIdentifier to find the uses of.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark the tool as read-only and idempotent. The description adds valuable behavioral context: results depend on whether the graph is 'on', includes specific reference types, and excludes the definition. This goes beyond the annotations and clarifies exactly what the tool computes.

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 tightly worded sentences deliver a high density of information without redundancy. The key question ('who uses X') is front-loaded, and the parenthetical enumeration is compact and readable.

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?

For a read-only tool with full parameter schema coverage and no output schema, the description covers the core semantic well. It explains what uses are included/excluded but does not specify the output format. This is a minor gap given the tool's moderate complexity.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds minimal parameter-level detail beyond the schema, though the phrase 'Every use of a symbol' reinforces the meaning of the symbol parameter. It does not specifically elaborate on limit or source semantics 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 identifies the action ('find uses of a symbol') and enumerates exactly what counts ('calls... plus textual references'), while explicitly excluding the definition. This strongly differentiates it from the sibling tool find_definition and makes its purpose unambiguous.

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 conveys a clear usage context: when you need to answer 'who uses X'. It also provides an implicit when-not by stating 'definition excluded', signaling that this tool is not for retrieving definitions. However, it does not explicitly name sibling alternatives or broader exclusion conditions.

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

get_rag_statusA
Read-onlyIdempotent

Index state for one or all sources: freshness, chunk count, last update, drift. Check it before considering a rebuild.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoSource to inspect; omit for all.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context by naming exactly what the status report includes: freshness, chunk count, last update, and drift. This goes beyond the annotations without contradicting them.

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 filler. The first sentence front-loads the tool's purpose and output fields; the second sentence gives the key use-case. Every word earns its place, and the structure is easy to scan.

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 read-only status tool with one optional parameter and no output schema, the description is complete. It tells the agent what data will be returned, that it can target one or all sources, and when to invoke the tool. Nothing essential is missing for correct selection and invocation.

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

Parameters3/5

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

Schema description coverage is 100%, and the single 'source' parameter is already well documented as 'Source to inspect; omit for all.' The tool description's 'one or all sources' phrasing mirrors the schema rather than adding new parameter-level meaning. Baseline 3 is appropriate because the schema carries the semantic weight.

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 reports index state for one or all sources, listing the specific data points it returns (freshness, chunk count, last update, drift). It also distinguishes itself from rebuild tools by explicitly framing itself as a pre-rebuild check, making it easy to tell apart from siblings like update_source_index.

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 gives explicit when-to-use guidance: 'Check it before considering a rebuild.' It does not list alternative tools by name, but the rebuild context clearly implies this is the inspection tool rather than the mutation tool. It could be stronger with an explicit exclusion or sibling reference, but the guidance is clear and useful.

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

graph_queryA
Read-onlyIdempotent

Raw access to the code knowledge graph (calls, inheritance, imports), for the questions the dedicated tools do not cover: find_usages, impact and describe_symbol answer the common ones with the results already shaped. operation: callers | callees | subclasses | superclasses | imports | neighbors | shortest_path | overview | surprising_connections | status. symbol is matched as a case-insensitive substring; results carry file:line.

ParametersJSON Schema
NameRequiredDescriptionDefault
depthNoneighbors: hops out (1-6).
limitNoMax edges.
top_nNooverview / surprising_connections: items to return.
sourceNoSource name. Omit when only one source applies.
symbolNoSymbol the operation acts on (not needed by overview / status).
targetNoDestination symbol for shortest_path.
max_hopsNoshortest_path: max path length.
operationYesOne of the operations listed in the tool description.
relation_filterNoneighbors: calls | inherits | imports | imports_from | contains.
min_community_sizeNooverview: minimum community size.

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the read-only/idempotent annotations, the description adds useful behavioral details: symbol matching is case-insensitive substring, results carry file:line, and the operation set includes status and overview. It does not claim any side effects (consistent with annotations), and the 'raw access' phrasing signals lower-level output. This adds meaningful context beyond the annotations.

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 compact two-sentence paragraph. The first sentence explains purpose and relationship to siblings; the second lists operations and key behaviors. No redundant words, and the most important scoping information (dedicated tools) is front-loaded. It is dense but every clause contributes.

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 many operations and no output schema, the description gives enough context to understand its role, limit usage, and know that results include file:line. It does not enumerate return shapes for each operation, but that is largely unnecessary for an agent to select and call the tool; the parameter schema fills in the rest. Minor gaps like per-operation output details are acceptable.

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?

Although schema coverage is 100%, the description enriches parameter understanding by enumerating the allowed operation values (callers, callees, etc.) and clarifying that symbol is matched as a case-insensitive substring. These details are not fully captured in the schema, which only says 'One of the operations listed in the tool description' for operation. Thus it adds value beyond the field descriptions.

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 provides raw access to the code knowledge graph and explicitly names the dedicated sibling tools (find_usages, impact, describe_symbol) that cover common cases, distinguishing itself as the fallback for other graph operations. It lists the supported operations with concrete verbs (callers, callees, subclasses, etc.), making the purpose unambiguous.

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 gives explicit when-to-use guidance: 'for the questions the dedicated tools do not cover' and names the alternatives (find_usages, impact, describe_symbol). This tells the agent exactly when to prefer this tool over siblings, which is the core of usage guidelines.

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

impactA
Read-onlyIdempotent

Answer 'what breaks if I change this': everything that reaches a symbol transitively through the call graph, with hop distance, plus the tests to re-run. Use find_usages for the direct, one-hop answer; use this before a risky edit, when the indirect callers are the point. max_depth trades reach for noise: 2 stays close to the change, 6 on a hub symbol can return most of the codebase. Transitive callers need the graph layer.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoSource name. Omit when only one source applies.
symbolYesIdentifier whose blast radius to compute.
max_depthNoCall-graph hops to walk (1-6).
tests_limitNoMax tests.

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive. Description adds useful context about the algorithm (transitive call graph traversal) and result format (hop distances, tests), going beyond annotations without contradicting them.

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 tight sentences that front-load the core purpose and immediately differentiate from the sibling. Every phrase adds value; no filler or repetition.

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?

Despite lacking an output schema, the description adequately explains what will be returned (reachable symbols with hop counts and associated tests). Combined with full schema coverage of parameters, an agent has enough context to call 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 already describes all four parameters with full coverage. Description adds practical nuance for max_depth (tradeoff) and implies source disambiguation, slightly enhancing parameter understanding.

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?

States a specific verb ('answer what breaks'), a resource (call graph of symbols), and output (transitive reachability with hop distance plus tests). Clearly distinguishes from sibling find_usages.

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 names when to use (before a risky edit) and when to use find_usages instead (direct one-hop). Also explains max_depth tradeoff between reach and noise.

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

list_sourcesA
Read-onlyIdempotent

List which sources exist and what each one is: name, type, path, chunk count and drift flag. Read from config and metadata, no index opened. Call it first when you do not know the source names a source argument expects; for how fresh one index is, and whether to rebuild it, use get_rag_status instead.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

A5/5.0
Behavior5/5

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

The description states 'Read from config and metadata, no index opened', which transparently explains that the operation is read-only and does not affect the index. This aligns with the annotations (readOnlyHint, idempotentHint, non-destructive) and provides extra context beyond the annotations.

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 and well-structured. It lists the returned fields in a compact list and provides usage guidance without unnecessary verbosity.

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?

The description fully explains what the tool does, what information it returns, and when to use it. It also references the related tool get_rag_status to guide the agent to alternative actions when needed, making the context complete.

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?

There are no parameters, and the description makes it clear that the tool simply lists all sources without needing any input. No explanation of parameters is required.

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 lists existing sources and details what each source contains (name, type, path, chunk count, drift flag). It is unambiguous about the resource and the action.

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?

The description explicitly tells when to use this tool: 'Call it first when you do not know the source names a `source` argument expects'. It also distinguishes it from get_rag_status, which should be used for freshness/rebuild checks.

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

module_summaryA
Read-onlyIdempotent

A file as a unit: the symbols it defines, what it imports, and which files depend on it (via the call graph). Read it before editing a file you don't know.

ParametersJSON Schema
NameRequiredDescriptionDefault
fileYesFile path or fragment, e.g. `VoxelWorld.cs`.
limitNoMax symbols to list.
sourceNoSource name. Omit when only one source applies.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior. The description adds behavioral context beyond that: the tool summarizes a file's defined symbols, imports, and dependents as computed via the call graph. This clarifies what the agent should expect without repeating annotation data.

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, no filler. The definition is front-loaded and the usage guidance is actionable. Every word contributes to either clarifying the tool's output or telling the agent when to invoke it.

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?

For a read-only summary tool with fully documented parameters and safety annotations, the description provides sufficient context. It states what the output covers (symbols, imports, dependents) even without an output schema, though it could more explicitly mention how the optional 'source' parameter affects results.

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

Parameters3/5

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

The schema covers all parameters with descriptions at 100% coverage, so the baseline is 3. The tool description does not add parameter-level details, but it does contextualize the primary 'file' parameter by describing the file-as-a-unit scope. No additional compensation is needed.

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 defines a clear scope: one file as a unit, covering the symbols it defines, imports, and dependent files via the call graph. It also supplies a direct action ('Read it before editing a file you don't know'), which makes the purpose unmistakable and distinguishes it from symbol-level tools like describe_symbol and impact.

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 gives an explicit use case: read this before editing an unfamiliar file. It does not explicitly enumerate when not to use it or name alternative tools, but the context is clear enough for an agent to decide when module_summary is the right starting point.

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

repo_overviewA
Read-onlyIdempotent

Orientation for an unfamiliar codebase: languages by file count, frameworks, manifests, likely entry points, and build/test/run commands. Filesystem scan, no index needed. Call once per session.

ParametersJSON Schema
NameRequiredDescriptionDefault
sourceNoSource name. Omit when only one source applies.

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds useful behavioral context: it performs a filesystem scan, requires no index, and should only be called once per session. This goes beyond the structured annotations without contradicting them.

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 dense, front-loaded sentences cover purpose, scope, outputs, mode of operation, and usage frequency. Every clause adds value, and there is no filler or repetition of schema details.

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 a single optional parameter, no output schema, and safety annotations already present, the description is complete. It tells the agent what results to expect, how the tool operates, and how often to use it. Nothing critical is missing for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100% and the single optional parameter 'source' is already explained well in the schema, including when to omit it. The description does not add parameter-specific detail, but it does not need to because the schema carries the meaning. Baseline 3 is appropriate.

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 provides orientation for an unfamiliar codebase and enumerates specific outputs: languages by file count, frameworks, manifests, entry points, and build/test/run commands. This resource and scope are specific enough to distinguish repo_overview from sibling tools like module_summary or list_sources.

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?

It explicitly says 'Call once per session,' which gives clear usage frequency guidance. It also indicates the tool is for unfamiliar codebases and does not need an index, implying it suits initial exploration rather than repeated targeted queries. It does not explicitly name alternatives or exclusion conditions, 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.

update_source_indexA
Idempotent

Force a full rebuild of a source's index. Expensive and blocking; the watcher keeps the index current, so use it only after a big merge or a drift warning.

ParametersJSON Schema
NameRequiredDescriptionDefault
forceNoRebuild even without new git commits.
sourceYesSource to rebuild.

TDQS

A4.4/5.0
Behavior4/5

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

The description warns that the operation is 'expensive and blocking,' which goes beyond the annotations. It also clarifies the trigger condition. It does not contradict the annotations, and the annotations already cover the safety profile.

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 entire description is one focused sentence that front-loads the core purpose, then adds cost and usage guidance. No filler or repetition of schema details.

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?

For a two-parameter tool with clear annotations, the description provides enough to select and invoke the tool correctly. It covers purpose, cost, and trigger conditions; the only minor omission is an explicit statement about the return value, but that is not critical for this operation.

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

Parameters3/5

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

Schema coverage is 100%, so the input schema documents both parameters fully. The description adds contextual meaning around rebuilding and when force is relevant, but it does not add significant parameter-level detail 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 states a specific action and resource: 'Force a full rebuild of a source's index.' This clearly distinguishes the tool from read-only siblings like list_sources and search, and from analysis tools like find_usages and impact.

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 explicitly says when to use the tool: 'use it only after a big merge or a drift warning.' It also explains the default state—'the watcher keeps the index current'—which tells the agent not to call this routinely.

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 16 tool updatesv1.9.0
    • Changeddeep_search23 fields changed
      • changedInput schema / properties / extensions / description
        Previous value: -"Restrict results to these file extensions, e.g. `['.cs', '.shader']`."New value: +"Restrict to these extensions, e.g. ['.cs']."
      • removedInput schema / properties / extensions / title
        Removed value: -"Extensions"
      • changedInput schema / properties / file_glob / description
        Previous value: -"fnmatch glob to restrict results by path/filename, e.g. `*.cs` or `**/Editor/*`."New value: +"Restrict to paths matching this glob, e.g. `*.cs`."
      • removedInput schema / properties / file_glob / title
        Removed value: -"File Glob"
      • changedInput schema / properties / min_results / description
        Previous value: -"Override the minimum number of results a variant must return to be considered strong."New value: +"Minimum results for a variant to count as strong."
      • removedInput schema / properties / min_results / title
        Removed value: -"Min Results"
      • changedInput schema / properties / min_score / description
        Previous value: -"Override the weakness threshold: a variant's results must beat this score to count as strong."New value: +"Quality threshold override."
      • removedInput schema / properties / min_score / title
        Removed value: -"Min Score"
      • changedInput schema / properties / mode / description
        Previous value: -"Retrieval mode override (single-source only): 'dense', 'sparse', or 'hybrid'. Defaults to the server's configured mode."New value: +"dense | sparse | hybrid (single source only)."
      • removedInput schema / properties / mode / title
        Removed value: -"Mode"
      • changedInput schema / properties / path_contains / description
        Previous value: -"Keep only results whose file path contains this substring."New value: +"Restrict to paths containing this substring."
      • removedInput schema / properties / path_contains / title
        Removed value: -"Path Contains"
      • changedInput schema / properties / queries / description
        Previous value: -"2-4 genuinely different phrasings of the same need (different angles, not paraphrases), tried in priority order."New value: +"2-4 genuinely different phrasings, tried in order."
      • removedInput schema / properties / queries / title
        Removed value: -"Queries"
      • changedInput schema / properties / return_all_variants / description
        Previous value: -"If true, include per-variant diagnostics in the response (single-source only)."New value: +"Include per-variant diagnostics (single source only)."
      • removedInput schema / properties / return_all_variants / title
        Removed value: -"Return All Variants"
      • changedInput schema / properties / source / anyOf
        Previous value: -[
        -  {
        -    "type": "string"
        -  },
        -  {
        -    "type": "null"
        -  }
        -]New value: +[
        +  {
        +    "type": "string"
        +  },
        +  {
        +    "items": {
        +      "type": "string"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • changedInput schema / properties / source / description
        Previous value: -"Source name from `list_sources`. Omit to use the default: all sources for `search`/`deep_search` (RRF-fused), or the single applicable source for the others."New value: +"Source name, list of names, or omit for all sources, fused."
      • removedInput schema / properties / source / title
        Removed value: -"Source"
      • changedInput schema / properties / top_k / description
        Previous value: -"Maximum number of results to return. Defaults to the configured value."New value: +"Max results; default from config."
      • removedInput schema / properties / top_k / title
        Removed value: -"Top K"
      • removedInput schema / title
        Removed value: -"_deep_searchArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "_deep_searchOutput",
        -  "type": "object"
        -}New value: +null
    • Addeddescribe_symbol
    • Addedexport_graph
    • Changedfeedback7 fields changed
      • changedInput schema / properties / stuck / description
        Previous value: -"Where exactly you got blocked, or what was missing."New value: +"Where exactly you got stuck."
      • removedInput schema / properties / stuck / title
        Removed value: -"Stuck"
      • changedInput schema / properties / tried / description
        Previous value: -"Which tools and queries you already tried."New value: +"Tools and queries you already tried."
      • removedInput schema / properties / tried / title
        Removed value: -"Tried"
      • removedInput schema / properties / trying_to_do / title
        Removed value: -"Trying To Do"
      • removedInput schema / title
        Removed value: -"_feedbackArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "_feedbackOutput",
        -  "type": "object"
        -}New value: +null
    • Addedfind_definition
    • Addedfind_similar
    • Addedfind_tests_for
    • Addedfind_usages
    • Changedget_rag_status4 fields changed
      • changedInput schema / properties / source / description
        Previous value: -"Source name to inspect (see `list_sources`). Omit to report the status of every configured source."New value: +"Source to inspect; omit for all."
      • removedInput schema / properties / source / title
        Removed value: -"Source"
      • removedInput schema / title
        Removed value: -"get_rag_statusArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "get_rag_statusOutput",
        -  "type": "object"
        -}New value: +null
    • Addedgraph_query
    • Addedimpact
    • Changedlist_sources2 fields changed
      • removedInput schema / title
        Removed value: -"list_sourcesArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "list_sourcesOutput",
        -  "type": "object"
        -}New value: +null
    • Addedmodule_summary
    • Addedrepo_overview
    • Changedsearch17 fields changed
      • changedInput schema / properties / extensions / description
        Previous value: -"Restrict results to these file extensions, e.g. `['.cs', '.shader']`."New value: +"Restrict to these extensions, e.g. ['.cs']."
      • removedInput schema / properties / extensions / title
        Removed value: -"Extensions"
      • changedInput schema / properties / file_glob / description
        Previous value: -"fnmatch glob to restrict results by path/filename, e.g. `*.cs` or `**/Editor/*`."New value: +"Restrict to paths matching this glob, e.g. `*.cs`."
      • removedInput schema / properties / file_glob / title
        Removed value: -"File Glob"
      • changedInput schema / properties / outline / description
        Previous value: -"If true, return each hit's signature + first doc line instead of its full body — cheap triage for broad queries or a large top_k. Scan the signatures, then read the one body you need (find_definition, or its file:line). Default false = full bodies, for when you'll use the code right away."New value: +"Signatures only, no bodies: cheap triage for broad queries."
      • removedInput schema / properties / outline / title
        Removed value: -"Outline"
      • changedInput schema / properties / path_contains / description
        Previous value: -"Keep only results whose file path contains this substring."New value: +"Restrict to paths containing this substring."
      • removedInput schema / properties / path_contains / title
        Removed value: -"Path Contains"
      • changedInput schema / properties / query / description
        Previous value: -"Natural-language description of the behavior to find (e.g. 'method that handles player damage calculation'), NOT an identifier — use grep for exact names."New value: +"What the code does, in plain words, not an identifier."
      • removedInput schema / properties / query / title
        Removed value: -"Query"
      • changedInput schema / properties / source / anyOf
        Previous value: -[
        -  {
        -    "type": "string"
        -  },
        -  {
        -    "type": "null"
        -  }
        -]New value: +[
        +  {
        +    "type": "string"
        +  },
        +  {
        +    "items": {
        +      "type": "string"
        +    },
        +    "type": "array"
        +  },
        +  {
        +    "type": "null"
        +  }
        +]
      • changedInput schema / properties / source / description
        Previous value: -"Source name from `list_sources`. Omit to use the default: all sources for `search`/`deep_search` (RRF-fused), or the single applicable source for the others."New value: +"Source name, list of names, or omit for all sources, fused."
      • removedInput schema / properties / source / title
        Removed value: -"Source"
      • changedInput schema / properties / top_k / description
        Previous value: -"Maximum number of results to return. Defaults to the server's configured value."New value: +"Max results; default from config."
      • removedInput schema / properties / top_k / title
        Removed value: -"Top K"
      • removedInput schema / title
        Removed value: -"_searchArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "_searchOutput",
        -  "type": "object"
        -}New value: +null
    • Changedupdate_source_index6 fields changed
      • changedInput schema / properties / force / description
        Previous value: -"If true, rebuild even when no new git commits are detected."New value: +"Rebuild even without new git commits."
      • removedInput schema / properties / force / title
        Removed value: -"Force"
      • changedInput schema / properties / source / description
        Previous value: -"Name of the source to rebuild (see `list_sources`)."New value: +"Source to rebuild."
      • removedInput schema / properties / source / title
        Removed value: -"Source"
      • removedInput schema / title
        Removed value: -"update_source_indexArguments"
      • changedOutput schema / (root)
        Previous value: -{
        -  "properties": {
        -    "result": {
        -      "title": "Result",
        -      "type": "string"
        -    }
        -  },
        -  "required": [
        -    "result"
        -  ],
        -  "title": "update_source_indexOutput",
        -  "type": "object"
        -}New value: +null
  2. 1 tool updatev1.7.0
    • Changedsearch1 field changed
      • addedInput schema / properties / outline
        Added value: +{
        +  "default": false,
        +  "description": "If true, return each hit's signature + first doc line instead of its full body — cheap triage for broad queries or a large top_k. Scan the signatures, then read the one body you need (find_definition, or its file:line). Default false = full bodies, for when you'll use the code right away.",
        +  "title": "Outline",
        +  "type": "boolean"
        +}
  3. 6 tool updatesv1.5.1
    • First observeddeep_search
    • First observedfeedback
    • First observedget_rag_status
    • First observedlist_sources
    • First observedsearch
    • First observedupdate_source_index

TDQS

A3.9/5.0
Disambiguation2/5

Many tools have overlapping purposes: search vs deep_search, find_usages vs impact, describe_symbol vs find_definition vs find_usages, and graph_query overlaps with several others. This makes it difficult for an agent to choose the correct tool without reading detailed descriptions.

Naming Consistency3/5

All names are in snake_case, but the verb prefixes are inconsistent (find_, describe_, get_, list_, graph_query, update_, feedback, repo_overview). Some names like 'impact' and 'feedback' are not descriptive of their action, breaking a predictable pattern.

Tool Count3/5

16 tools is slightly above the typical 3-15 range and feels heavy due to significant redundancy. The count could be reduced by merging overlapping tools without losing core functionality.

Completeness4/5

The toolset covers a wide range of code navigation needs: search, definition lookup, usages, tests, impact analysis, graph exploration, repository overview, and index management. Minor gaps exist (e.g., no direct documentation retrieval), but the surface is largely complete for a code intelligence server.

Maintenance

ActivityActive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

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/lorenzo-cambiaghi/LynxMCP'

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