aicb-roslyn-mcp
aicb is a local Roslyn-based MCP server/CLI that gives coding agents a semantic map of C#/.NET solutions — answering code questions and packing task-sized context instead of raw source dumps.
Semantic navigation:
find_symbol,find_usages,find_implementations,find_overrides,get_type_hierarchy,call_graph,symbol_signature,instantiation_sites— overload-aware, follows interfaces, overrides and partial types.Change safety:
impact_of_change(blast radius + risk),review_context,find_tests_for,coverage_gaps,find_dead_code.Dependency injection:
resolve_injection(registrations, lifetimes, sites) and MEF export attributes.Runtime-risk indicators:
find_by_side_effects(io/network/database/…),calls_external,find_by_event_subscription.Architecture & design:
architecture_overview,detect_circular_dependencies,describe_api_surface,find_by_semantics(layer/role/domain),find_by_attribute.Quality & metrics:
symbol_metrics(cyclomatic/cognitive),solution_metrics(gate rollup withfailOn),list_insights,get_insight.XAML/AXAML markup:
find_binding_usages,find_resource_usages,find_unresolved_bindings— catches bindings the compiler cannot.Context economy:
get_context,explain_symbol,pack_for_task,prepare_task— token-budgeted AI-Builder-Markdown slices;measureprices answers before pulling;batchruns several queries in one round-trip;export_markdownrenders the whole solution.Verification of claims:
assert_absence(confirmed/refuted/indeterminate),verify_claim,evaluate_change_set(advisory pre-edit policy gate),compare_with_previous.Session management:
analyze_solution,refresh_session(incremental after edits),save_sessionsnapshots; sessions cached in memory (90 min, 8 max).Solution configuration:
solution_config_status→init_solution_config→apply_solution_config(layer/exclusion/test profiles written to the.aicb.jsonsidecar),check_solution_config_drift.Server meta & discovery:
server_info(version/commit/drift),list_skills,list_mcp_profiles,docs,usage_report,install_agent_hooks.Local by default: no outbound network, no telemetry, source code never modified; supports
.sln/.slnx/.slnfwith automatic per-axis config resolution.
Analyzes C#/.NET solutions (.sln/.slnx/.slnf) using MSBuild and Roslyn semantic models to build a symbol graph of declarations, calls, type references, DI registrations, tests and side effects, then answers caller/implementation/impact questions and renders budgeted, task-focused Markdown context packages for coding agents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@aicb-roslyn-mcpWhat could be affected if I change ColorMixerService?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AIContextBuilder (aicb)
Give coding agents a Roslyn-accurate map of your C#/.NET solution. aicb is
a code intelligence server for C# and .NET: it answers questions about callers,
implementations, dependency injection, tests, side effects and change impact,
then packs the relevant code into compact Markdown for an LLM. It runs locally as
an MCP server and CLI; a Windows desktop app adds visual context selection,
analysis and editing.
The software is closed source. This public repository contains its documentation, license and releases. It is free for individuals, education and organizations below the license thresholds.
This page is a short tour, not the reference. It names 38 of the 54 tools an agent sees by default; the three manuals run to 35 chapters, about 37 times the length of this page.
See it answer a code question
Ask your coding agent:
What could be affected if I change
ColorMixerService? Use AICB.
Or call the same tool from a terminal:
aicb call impact_of_change --sln C:/repo/App.sln --arg symbol=ColorMixerServiceAbridged output from the bundled ColorMixer.SelectionLab sample:
{
"symbol": "ColorMixerService",
"resolvedKind": "type",
"directCount": 1,
"transitiveCount": 2,
"risk": "low",
"productionImpactCount": 2,
"directImpact": {
"items": [
{
"name": "DemoCompositionRoot",
"file": "ColorMixer.SelectionLab.ConsoleApp/DemoCompositionRoot.cs",
"line": 9
}
]
}
}The desktop app's MCP Usage page records calls locally and separates guided refusals from suspected defects:

That answer comes from the Roslyn symbol graph, not a substring search. AICB distinguishes overloads, follows interface and override relationships, understands partial types and records DI construction paths.
Related MCP server: engram-serve
Build context that fits the task
AICB does more than answer individual symbol questions. It can assemble a focused, task-specific context package for an agent instead of sending an unfiltered source dump:
Need | Tool | What it returns |
Read one symbol in context |
| The symbol plus its direct dependencies and callees |
Explore a named symbol with selected surroundings |
| Callers, callees, implementations, tests or other requested dimensions |
Pack context for a natural-language goal |
| Goal-named symbols and their semantic neighborhood |
Prepare to edit |
| The goal-focused context plus covering tests and likely siblings such as a factory or validator |
Check the response cost first |
| The exact token count of one or more planned tool answers, without returning their large payloads |
The focused context tools accept a token budget, so a package fits the room your agent has. The symbols you name stay in; when the budget is tight, the package becomes less detailed around them instead of being cut off in the middle of a block, and a leading note says which types, tests or siblings were left out. AICB can therefore tell you that a bundle was reduced or capped; it cannot certify that what remains is enough to solve the task correctly. Whole-document rendering can use the same budget through a pipeline profile, with an allowance for overshoot and an optional report of what was trimmed.
The result is AI-Builder-MD: structured Markdown for an LLM, containing the selected code together with symbol relationships, architecture graphs, semantic metadata and provenance. It can use the established tag notation or YAML. See the context-document guide and the task-packing tools.
Add explicit meaning with AI Tags and semantic annotations
AICB works without annotations. Where source structure and conventions are not
enough, optional <ai> tags in XML documentation let a developer state the intended
role of a type or method explicitly:
/// <ai
/// role="service"
/// layer="Application"
/// responsibility="Coordinates order validation and submission."
/// stability="Stable"
/// />
public sealed class OrderServiceAnnotations can describe semantics such as role, domain, architectural layer,
priority, stability, responsibility and side effects. Explicit values take
precedence over heuristic inference; sentinel values such as none can deliberately
suppress inference for one field. AICB preserves provenance so an agent can
distinguish source-derived facts, author-provided meaning and inferred hints. The
AI annotation reference
documents the supported forms and fields.

What happens after your first question
The first question about a solution takes the longest. You name a
.sln,.slnxor.slnf; AICB loads it the way your build would and reads its C# code and its XAML/AXAML markup.The questions after it are quick. Callers, implementations, tests, injection and impact come from what the first analysis learned, as a single answer or as a context document sized to your budget.
Your saved edits are picked up. With the shipped settings the next question brings the analysis up to date with the saved files; an explicit refresh does the same in every setting.
AICB analyzes the solution once and then answers each question from what it learned: who calls what, which types use or implement which, what the markup refers to and which code reaches outside the program. Follow-up questions therefore come back quickly, and the context tools pick and render the part of the code a task needs. This does not mean that every possible answer or runtime relationship is known in advance.
Every agent session that starts aicb mcp gets its own analysis, and the desktop
app, the CLI and the server answer alike and can share configuration and saved
snapshots. After you edit source files, the next refresh picks up what changed,
usually without loading the solution again (force: true loads it completely). A
client that gives up waiting for a long first analysis can simply ask again: the
analysis finishes anyway, and a retry with the same arguments gets it from the
cache.
Live sessions, snapshots and persistent codebase memory
These states serve different purposes and should not be treated as interchangeable:
State | Lifetime and purpose | Important boundary |
Live MCP session | In-memory graph and Roslyn workspace reused by one server process | Sees saved files, not unsaved editor buffers; another server process has a separate session |
Remembered codebase |
| A recalled session has no live workspace, no reliable line numbers and a reduced insight contract; use |
Saved snapshot | Named baseline used by | A comparison baseline, not a live workspace |
| Git-trackable solution configuration | Contains rules and choices, never analysis results, sessions or credentials |
remember_codebase, recall_codebase and refresh_remembered are opt-in tools: no
MCP profile exposes them, so start the server with AICB_MCP_TOOLS naming them (or
AICB_MCP_TOOLS=all). recall_codebase reports whether the persisted model still matches the source,
payload schema and analyzer identity. It deliberately returns the recalled model
even when it is stale, with metadata that tells the agent when a live re-analysis
is necessary. See sessions, recall and staleness.
What the model can and cannot prove
AICB analyzes statically visible C# (including the C# the Razor generator compiles from
.cshtmlviews) and selected Razor, XAML and AXAML relationships. Code reached only through reflection, runtime assembly scanning, dynamic configuration or an external consumer can remain invisible.DI analysis recognizes statically readable Microsoft-DI-shaped registrations and MEF export attributes; runtime-produced registrations are disclosed as dynamic or unknown rather than invented.
A XAML binding is checked only where its data type is known for certain; where it is not, the binding is left unjudged rather than reported as broken.
A reported side effect means the method reaches such an operation in its code, itself or through the methods it calls. It tells you that a method can write a file, not which file or when.
Responses disclose stale sessions, unresolved projects and capped result sets. Read
staleness,incompleteProjects,totalFoundandtruncatedbefore treating an empty or short answer as proof.
How an agent should judge an answer
An AICB response is evidence together with its limits. Before acting on an empty, short or apparently definitive result, inspect the accompanying signals:
Signal | Meaning | Typical response |
| Saved source changed after the analysis, or an automatic refresh ran or failed | Save the files and refresh if the response is not current |
| Project references could not be resolved well enough for a complete semantic graph | Restore, then call |
| More matches exist than were returned | Narrow the scope, paginate or raise the documented cap |
Bundle manifest or leading omission note | A token budget removed surrounding types, tests or sibling implementations | Increase the budget or request the missing axis explicitly |
| A name did not resolve to one unique symbol | Repeat the query with a qualified symbol name |
| A value is measured, author-supplied, inferred or not statically knowable | Preserve the uncertainty and verify the relevant runtime configuration when needed |
| The answer came from persisted memory rather than a live Roslyn workspace | Use |
The MCP profile controls automatic refresh. Off only discloses drift,
Reactive refreshes before a reading tool answers and is the normal shipped
setting, while Proactive starts analysis after saved edits settle. Automatic
refresh never sees unsaved editor buffers. Staleness is also different from
reference incompleteness: the first needs a refresh; the second normally needs a
restore followed by a refresh (after a build, a forced one).
AICB also distinguishes unknown from verified absent. Tools such as
assert_absence return confirmed, refuted or indeterminate rather than
turning missing evidence into a false negative.
The question-first architecture, limits and evidence guide explains what lives in memory, how refresh and context selection work, which claims are measured, and where the published scale benchmark stands.
Where it helps
Question | Tool |
Who calls or uses this? |
|
What is the blast radius of a change? |
|
Where is this interface implemented or overridden? |
|
Which tests exercise this symbol? |
|
What gets injected here? |
|
Which code has side effects or calls an external API? |
|
What context does an agent need for this task? |
|
How large would these answers be before I pull them? |
|
Where is this property or resource used in XAML/AXAML? |
|
Which markup bindings cannot be resolved safely? |
|
What changed between two analyzed states? |
|
Does this change set violate a policy or public contract? |
|
Is the claim that this symbol is unused, untested or absent actually supported? |
|
What evidence should a reviewer see for these changed symbols? |
|
Where are concurrency, resource-lifetime or event-subscription risks? |
|
Where did repeated structures, conventions or documentation drift apart? |
|
The default profile exposes every tool in this table except semantic_diff,
diff_review, find_by_concurrency_risk, find_by_resource_leak,
find_structural_twins, check_pattern_drift and check_doc_drift, which need the
Full Select profile, and compare_public_api, which is opt-in (see
Tool sets and Agent Skills).
These tools form a broader capability map rather than a flat search catalog:
Capability | Examples |
Semantic navigation | usages, implementations, overrides, hierarchy, DI and XAML |
Change safety | impact, tests, diagnostics, review context and public API comparison |
Runtime-risk indicators | concurrency, resources, events, external calls and side effects |
Architecture and consistency | layers, cycles, structural twins, pattern drift and documentation drift |
Verification | negative claims, baseline-to-changed claims and change-set policy |
Context economy | task packing, measurement, token budgets and compression |
The desktop app turns code-quality, security, design and architecture findings into an actionable review queue:

AICB is most useful for non-trivial C#/.NET solutions and semantic questions that plain text search cannot answer reliably. It analyzes C#; selected XAML/AXAML relationships supplement that graph. Other programming languages are out of scope.
Multi-targeted projects are loaded once per target framework by default, while
query surfaces generally deduplicate them to one logical project. Setting
analyzePreferredTfmOnly in <Solution>.aicb.json reduces analysis and export work
to the newest target-framework instance. The symbol inventory remains available,
but fan-in edges that exist only in another target can disappear, so this is a
documented precision-versus-cost choice rather than a transparent optimization.
A safe agent workflow
An agent can use AICB without memorizing the tool catalog:
Call
server_infoto verify the connection and detect binary or configuration drift. Uselist_skillsfor the complete capability map ordocs()for the built-in operating manual.Start an edit task with
prepare_taskto collect the named symbols, relevant context, covering tests and likely sibling implementations within one budget.Before changing a symbol that other code names, call
impact_of_change; usefind_tests_forwhen the task bundle does not give enough test evidence.Read uncertainty and completeness signals before treating an empty result as proof. Qualify ambiguous symbol names; restore and force-refresh incomplete projects.
Make and save the change. Then call
refresh_sessionbeforeget_diagnostics. Under the normalReactiveprofile this is usually redundant, but it remains correct in every mode and makes the intended boundary explicit.Use
review_context,evaluate_change_setorverify_claimwhen the task makes a review or policy claim; do not infer absence merely from a short search result.Finish with the repository's real build and test commands.
get_diagnosticsreports Roslyn compiler diagnostics, not third-party analyzer or runtime results.
For several independent read-only questions, batch reuses one session and returns
one bounded response. Use measure first when the likely response size matters.
Reproducible analysis, CI and review
Need | AICB workflow |
Version the portable solution rules | Commit |
Enforce a quality threshold in CI | Run |
Compare an in-place change with a baseline | Call |
Review two live analyzed states |
|
Reuse an analyzed model across processes |
|
Curate context visually | The Windows app adds a solution tree, manual context selection, detail and token controls, AI-Builder-MD preview/export, snapshots, Insights, LLM runs and a source editor. |
In GitHub Actions the gate is one step. The action at the root of this repository sets up
the .NET 10 SDK, installs the published tool, restores the solution and runs
aicb analyze; a failed gate fails the step with exit code 6, and the document is still
written:
- uses: gregordadera/aicb-roslyn-mcp@v0.5.511.1
with:
version: 0.5.511.1
solution: App.sln
output: artifacts/context.md
fail-on: "critical>0 OR debt>120min"The example pins both halves: @v0.5.511.1 fixes the action, version fixes the package it
installs. Without version the action installs the newest published package, and @main
follows every change to the action, so neither belongs in a build you depend on. A release
tag can in principle be moved; the full commit SHA of that tag is the immutable form. Further
inputs are dotnet-version, restore and args for other
aicb analyze options; the outputs are output and exit-code. See
action.yml.
Configuration precedence is axis- and surface-specific. For example, headless layer
mapping can fall back to the sidecar, while headless test detection currently resolves
from the database or built-in rules rather than the sidecar's test axis. The exact
matrix is in the
configuration guide.
A running MCP session keeps the configuration it was analyzed with; after editing the
sidecar, start a new analysis instead of assuming refresh_session re-reads it.
Suppressions hide accepted findings from suppression-aware reading surfaces, but
solution_metrics and the CLI quality gate continue to count them. A shared
suppression is therefore an explicit review decision, not a way to lower the gate.
From semantic engine to human-in-the-loop workspace
The MCP server is currently AICB's most complete and operationally mature integration surface. Its 82 registered tools cover semantic navigation, change impact, dependency injection, test discovery, architecture, quality, context packing, review and session management. Profiles expose a curated 54-tool default or the 72-tool Full Select set, while sessions, staleness signals and bounded responses make the surface practical for coding agents. These numbers describe the available product surface; they are not a published benchmark of agent outcome quality.
The active MCP profile also selects task-oriented facets: each facet connects agent
guidance, a context-template slot and the corresponding tool subset. list_skills
is the runtime source of truth for which tools are exposed, which are callable, and
which additional registered tools sit outside the active pool.
The Windows app complements that agent-facing surface with a visual workspace for people: solution navigation, manual context selection, detail and token controls, AI-Builder-MD preview and export, snapshots, Insights, reusable configuration and manual LLM runs.
Quality and solution-specific analysis profiles
A Quality Profile controls which insight producers run and the thresholds they use, such as method length, cyclomatic complexity and class size. It does not by itself define finding severity or the CLI quality gate.

Each solution also has three independent analysis axes:
Axis | Question it answers | What it controls |
Layer Profile | Where does this code belong architecturally? | Ordered namespace-pattern-to-layer mappings for layers such as Domain, Application and Infrastructure. The first matching rule wins. The profile also determines whether a detected cross-layer violation is |
Exclude Namespaces | What should stay outside the analysis? | Named namespace patterns skipped by the analyzer, using |
Test Profile | What counts as test code? | Project-name rules plus method-attribute markers. The built-in profiles recognize xUnit, NUnit and MSTest conventions, and production-focused tools can exclude the detected test code by default. |
The desktop app presents these three pickers side by side for the selected solution. The Settings pages are the library editors; the Workspace pickers choose which library entry applies to this particular solution. A per-solution choice wins over the global default.

Initialize the three axes
You do not have to set the three axes up by hand. When the desktop Context Builder loads a solution, AICB offers a setup for every axis that is still open and whose automatic setup you have not switched off:
If a
<SolutionName>.aicb.jsonbeside the solution already covers the axis, it offers to take the setting from there, without asking a model.Otherwise, if a default model profile is set up, it asks the model once for a layer map and an exclusion list and shows you the proposal. The request has been sent by the time you see the dialog; you decide whether the proposal is applied. Test code is recognized on your machine, without a model.
An axis can stay open: without a model profile, without detected tests, or when you decline. Choices you already made are never overwritten.
Successful GUI auto-initialization stores the chosen profiles in the local database.
It does not create <SolutionName>.aicb.json automatically. Use Workspace → Profiles → Export Config to write that portable sidecar, then commit it. A later GUI
can restore the supported axes from it without an LLM call; headless consumers apply
the per-axis rules described in the configuration matrix. Initialize Now performs
only an immediate sidecar restore - it does not call a model or analyze the solution.
An agent can guide the same setup explicitly:
solution_config_statusreports which axes are initialized and whether their active values come from the local database, the sidecar or neither.init_solution_configreturns proposal material: declared namespaces for the layer map, referenced namespaces for exclusions, and detected test projects and attributes for the test profile.After reviewing or adapting that proposal,
apply_solution_configcreates and activates the custom entries, marks the axes initialized and writes both the local configuration database and<SolutionName>.aicb.jsonbeside the solution.Commit the sidecar so the portable solution configuration travels with the repository. Each consumer applies the supported axes described above; do not assume every surface resolves every field identically. Later,
check_solution_config_driftreports namespaces or test projects no longer covered by that configuration.
aicb init is a different operation: it connects a repository to the MCP server
and installs the agent skill and optional symbol guard. It does not initialize
these three solution axes or create <SolutionName>.aicb.json.
See profiles and solution configuration for precedence, the sidecar schema and the full initialization behavior.
Context templates and run templates
The two template types have different responsibilities:
Template type | Purpose |
Context Template ( | Defines what goes into an export: prompt, Markdown profile, detail presets, expansion strategies, compression, quality settings and export switches |
Run Template ( | Defines how a task is executed: run type, selected context template, model defaults and run-specific options |
Detail Presets, Markdown Profiles, Expansion Strategies, Compression Rules, Pipeline Profiles and Quality Profiles are reusable building blocks referenced by a context template; a run template selects that context template.

Product direction, not a release commitment
The direction for the desktop app is a human-facing orchestration workspace: a
developer selects and constrains context, inspects intermediate results, approves
decisions and controls what an AI model runs next. Manual is the released run
type today. Iteration is intended to process selected nodes one by one, and
Preselection to let a model narrow the relevant context before the main run;
both are represented in the application but are not released yet. Pipeline
currently exists only as a placeholder in the data model and executes nothing.
Install
Install one form per machine:
You want | Install | Platform |
MCP server and CLI | Windows, Linux, macOS | |
Desktop app plus the same MCP server and CLI | Windows |
The .NET tool needs the .NET 10 SDK. Without .NET 10 it runs on the next newer .NET on the machine and needs that version's SDK. A machine that has only .NET 8 or .NET 9 cannot start it.
dotnet tool install -g aicb-roslyn-mcp
aicb --versionThen register the server with your MCP client. For clients that read .mcp.json:
{
"mcpServers": {
"aicb": {
"command": "aicb",
"args": ["mcp"]
}
}
}aicb init writes this file for you; see Connect a coding agent.
Up to 0.5.465.1 the package was called AIContextBuilder. An update does not cross that
rename: remove the old package first, then install the new one as above.
dotnet tool uninstall -g AIContextBuilderUpdate it later with dotnet tool update -g aicb-roslyn-mcp. For a container, the
repository's Dockerfile
installs the same .NET tool and serves MCP over stdio. The container runs as a non-root
user, and analysis writes obj/ into the mounted solution, so run it as the owner of the
mount and restore the solution inside the container first:
docker run --rm --user "$(id -u):$(id -g)" -v "$PWD:/src" \
-v aicb-nuget:/home/aicb/.nuget/packages --entrypoint dotnet aicb restore /src/App.sln
docker run --rm -i --user "$(id -u):$(id -g)" -v "$PWD:/src" \
-v aicb-nuget:/home/aicb/.nuget/packages aicbThe Dockerfile header explains why the restore has to run in the container.
If the tool reports that MSBuild could not be registered, the .NET it runs on found no SDK it
can use: an SDK newer than that .NET does not count (for example a .NET 10 runtime next to only
the .NET 11 SDK). Install the .NET 10 SDK; beside a .NET 10 runtime the .NET 8 and .NET 9 SDKs
work as well. Or set the environment variable DOTNET_ROLL_FORWARD=LatestMajor so that the tool
runs on the newest .NET - a preview .NET additionally needs
DOTNET_ROLL_FORWARD_TO_PRERELEASE=1.
The Windows downloads are self-contained, but analyzing a solution still needs MSBuild from a .NET SDK or Visual Studio. The installer and the programs are code-signed (publisher: Gregor Dadera); Windows SmartScreen can still warn about a new release until it has enough download history. Every release provides SHA-256 checksums.
Connect a coding agent
Run this from the project you want the agent to work on:
aicb initIt writes .mcp.json, the MCP configuration Claude Code reads, and the
aicb-csharp-context agent skill under .claude/skills/, without overwriting
existing files. If the project uses Codex or OpenCode (a .codex/ or .opencode/
folder), it also registers the server in that client's own configuration and
writes the skill to .agents/skills/, where both read skills. If it detects
Claude Code, Codex or OpenCode project configuration, it also installs a
symbol guard that blocks C# symbol searches by grep and redirects the agent
to the semantic tool. This intentionally changes agent behavior. Opt out with:
aicb init --hooks none--hooks none skips only the guard; the server is still registered. To wire a
client whose folder does not exist yet, name it: aicb init --hooks codex or
aicb init --hooks opencode.
Client-specific status:
Client | MCP setup | Skill and guard |
Claude Code |
| Skill and optional guard installed |
Codex |
| Skill in |
OpenCode |
| Skill in |
Cursor / Cline / other stdio clients | Add command | Use the published skill if the client supports Agent Skills |
Manual .mcp.json configuration for clients that read it:
{
"mcpServers": {
"aicb": {
"command": "aicb",
"args": ["mcp"]
}
}
}Verify the connection by asking the client to call server_info. Every analysis
tool accepts an absolute .sln, .slnx or .slnf path as its session, so no
separate analyze step is required. See the five-minute guide
for setup, first questions and troubleshooting.
Tools
The questions an agent asks most, and the tool that answers each one:
Tool | What it answers |
| Who uses this type, method or property? |
| What else is affected if I change this symbol, and how risky is it? |
| Which types implement this interface? |
| Which tests cover this symbol? |
| What is registered for this service, with which lifetime, and where? |
| Which code touches files, the network or a database, and which code is pure? |
| Which code does nothing reach? |
| Which compiler errors and warnings are there, without a build? |
| Where is the type or member with this name? |
| What does this symbol do, with its source and its surroundings in one answer? |
| How is the solution structured, without reading all of its source? |
| Which XAML bindings name this view-model member? |
| What do I need to read before I edit code for this task? |
| Is the server running, and which version is it? |
All tools with their parameters: docs/TOOLS.md.
Tool sets and Agent Skills
Set | Size | Purpose |
Default MCP profile | 54 tools | Curated semantic and structural tools for normal agent work |
Full Select profile | 72 tools | Default set plus the measured long tail |
Complete server surface | 82 tools | Full Select plus the opt-in session-memory, database and API-comparison tools |
This README names 35 of the 54 default tools; the references below describe all of them.
Start the Full Select profile with
aicb mcp --mcp-profile mcp-profile/full. Set AICB_MCP_TOOLS=all to add
the opt-in tools as well. The generated tool reference documents
the default set; the MCP server manual
documents all 82 tools and their parameters, and alongside them sessions and
staleness, profiles, pools and facets, and what aicb init writes - twelve
chapters in Markdown, readable in the browser and by an agent, and also
published as a PDF.
The three published counts are starting points, not fixed editions. In the
desktop MCP Profiles editor you can create or duplicate a profile, enable only
the task facets you want, and select individual core and facet tools. Every core
tool can be removed except the locked diagnostic server_info, so even a very
small task-specific tools/list is possible. The server's fixed lead-in is
standing agent guidance, not another selectable tool group. For headless setup,
AICB_MCP_TOOLS=methods:<tool>,<tool>,... exposes exactly the named functions;
class lists, lean and all are also supported. Profile and environment changes
take effect at the next server start. list_skills shows the resulting in-pool and
out-of-pool tools. See profiles, pools and facets.
Four Agent Skills ship in skills/:
aicb-csharp-contextroutes semantic C# questions to the right tool.aicb-code-reviewchecks a completed change for correctness.aicb-code-simplifierlooks for unnecessary complexity.aicb-usage-checkreports what this server was actually reached for.
The last three are opt-in: aicb init --skills=all.
Scale, releases and compatibility
AICB has no published hard project-count limit. Initial cost and peak memory are
solution-specific and grow with loaded projects, documents, target-framework
instances and graph density. The first analysis can take seconds to minutes;
subsequent questions reuse the warm graph, and eligible saved-source edits use the
incremental refresh path. For a very large repository, use a .slnf to reduce what
MSBuild loads and optionally set analyzePreferredTfmOnly to avoid analyzing every
target-framework instance. summaryOnly, query scopes and token budgets reduce
response volume; they do not necessarily reduce the underlying solution analysis.
The desktop load-perf.log and MCP usage_report provide local phase and latency
measurements. A standardized cold/warm time and RAM benchmark on three public
.NET solutions (≈ 25k, ≈ 55k and ≈ 1.8M lines of C#) is published in the
architecture and evidence guide;
these controls are still not a universal performance claim, but there is now a
measured boundary.
Public releases currently have no declared LTS window, response-time SLA or promise
that every MCP response and persisted schema remains unchanged across versions.
Operational safeguards are explicit instead: the changelog records releases;
server_info reports version, build and configuration drift; persisted analyses
carry payload-schema and analyzer identities and fall back to a live analysis when
they are incompatible; and the desktop refuses to write a database created by a
newer schema. Database migrations can be one-way, so a reliable rollback means
backing up before an update and using the older build with a separate or restored
pre-migration database. Commercial agreements can define stronger support,
response-time and version-maintenance commitments where required; see
Support.
CLI at a glance
aicb init Connect a project to the MCP server and install the agent skill.
aicb analyze Analyze a solution and emit context Markdown.
aicb export Re-render Markdown from an existing session database.
aicb import Import a constellation JSON.
aicb list List built-in and custom profiles and presets.
aicb mcp Start the stdio MCP server.
aicb call Invoke one MCP tool without an MCP client.Run aicb <command> --help for options.
Local by default
The CLI and MCP server have no outbound network capability and do not modify the source code they analyze.
There is no outbound telemetry, analytics, update check, account or license server. The MCP server records its tool calls locally for
usage_reportand the desktop app's MCP Usage page; that log never leaves the machine.The desktop app can contact only an LLM endpoint you configure: for a manual run, a model-profile connection test, or first-load proposals for Layer Profile and Exclude Namespaces when those auto-init flags are armed. The endpoint may be a local model. The Details tab is also a real editor and saves a file only when you explicitly use Save.
Opening a solution runs its MSBuild logic to resolve references, and building its compilation runs the source generators its projects reference, as in an IDE or
dotnet build. Analyze only solutions you trust. AICB does not run third-party Roslyn analyzers, with one opt-in exception:get_diagnosticswithrunSuppressors: trueruns the projects' diagnostic suppressors, as a real build does.
A small number of explicitly named tools can write configuration or an export;
their tool descriptions state this. The complete threat model and private
reporting route are in SECURITY.md.
License at a glance
Use is free for:
private, hobby and educational use by natural persons,
accredited educational institutions for teaching, learning and non-commercial research,
organizations that reach none of these thresholds: 100 employees, EUR 10 million annual turnover, 21 developers.
The thresholds apply to your organization, not to your clients. After first
reaching any one threshold, you have 90 days to agree a commercial license; use
remains free during that period. The 90 days are contractual text only: AICB
starts no license timer, sends no threshold or deadline data, blocks no feature
and does not technically stop working when the period ends. Commercial licenses
start at EUR 25 per licensed developer per month; the exact price and scope depend
on the number of users, the requested support level and any agreed priority for
improvement requests. A commercial agreement can include support, defined response
or maintenance commitments, prioritized consideration or
implementation of improvements - for example, making a generally useful analyzer
handle patterns found in the customer's code more accurately. Such work improves
the general AICB product; it does not create a customer-specific fork or specialize
AICB to one codebase. Customer code is never collected or used for improvement
automatically; examining it requires material or access deliberately provided by
the customer and a separate agreement on scope and confidentiality. Exact
deliverables, priorities and guarantees exist only when written into the individual
agreement. Connecting AICB to MCP clients, agent harnesses, scripts, build systems
and CI through its documented interfaces is permitted. Redistributing, modifying,
repackaging, reselling or offering the AICB binaries as a hosted service is not.
Contact aicb@dadera.de. See the plain-language guide,
LICENSE.txt and the full bilingual EULA.md.
Support and continued development
AICB is under active development: the changelog records every release, and published releases appear on the Releases page.
Support follows the license:
Free | Commercial agreement | |
Who | Everyone below the thresholds | Organizations at or above a threshold, or anyone who wants stronger terms |
Channel | Direct contact plus the public channels | |
Response target | Best effort | ≤ 2 business days |
Security fixes | Shipped through public releases | Fix target ≤ 10 business days for confirmed vulnerabilities |
Version maintenance | Current release | Individually agreed maintenance window |
Improvement requests | Community-driven | Prioritized consideration; agreed priorities are written into the contract |
Source access | None | Code review under NDA can be agreed |
The targets in this table are typical values an individual agreement can include;
they bind only when written into the agreement, and payment alone creates no
unstated SLA. Prices are in License at a glance. Contact
aicb@dadera.de.
Questions and feature requests are welcome in
GitHub Discussions. Report bugs
through GitHub Issues and include
aicb --version and, for MCP problems, the output of server_info. Report security
issues privately as described in SECURITY.md.
Documentation
Everything above is the short version. The three manuals below hold the full reference - 35 chapters, each manual 70,000 to 88,000 words, together about 39 times the length of this README.
Getting started - install, connect and ask the first question
Tool reference - generated reference for the default MCP profile
Architecture, limits and evidence - in-memory model, refresh, context selection, static-analysis boundaries and benchmark status
MCP server manual - the full reference in twelve Markdown chapters: connecting a client,
aicb init, sessions and staleness, profiles and facets, every tool, troubleshootingGeneral reference manual - the full reference in twelve Markdown chapters, with the printable PDF in the same folder
Desktop app reference manual - the full reference in eleven Markdown chapters, with the printable PDF in the same folder
"AIContextBuilder" and "AIContextBuilder for .NET" are product names used by Gregor Dadera; no registration is claimed.
Available Tools
54 toolsanalyze_solutionAnalyze a SolutionA
Analyze a C#/.NET solution (.sln, .slnx or .slnf) with Roslyn and cache the result as an in-memory session - the entry point of this server: it returns the session_id the other tools take as sessionId.
Calling it is optional: every tool that takes a sessionId also accepts the absolute solution path and analyzes on first use, so do not call it just to run a query. Call it to read this answer first or to pass layerProfile / dbPath. After editing .cs files call refresh_session, not this: a second analyze_solution is a full reload into a new session.
Returns JSON: sessionId, solutionPath, solutionName, projectCount, fileSetHash, layerProfile, lastAccessUtc, origin, lineNumbersAvailable - plus, only when they apply, analyzePreferredTfmOnly, incompleteRun, configInit (config axes still to set up; see solution_config_status) and agentWiring (the agent's guard hooks are missing here).
When a scanned project could not bind even its core framework types, the answer carries incompleteRun (projects and repair), because every later answer of the session inherits that shortfall. Its absence is no all-clear: an unrestored project that still binds its framework is not flagged here; get_diagnostics names its errors.
It changes no source or project file: it opens the solution through MSBuild (whose design-time build can write generated files under obj/), reads the files as they are on disk (uncommitted edits included) and keeps the model in server memory - by default for 90 minutes after the last use, at most 8 sessions. A large solution can take minutes; with a client progress token it reports progress. If the client cancels, the analysis still finishes: a same-argument retry gets it if no file changed.
Parameters: normally pass only solutionPath; layer profile, namespace exclusions and test profile then come, per axis, from the server's config DB, else the committed .aicb.json beside the solution, else built-in heuristics. layerProfile overrides the layer axis only; dbPath reads all three from another config DB.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional absolute path to a config/master DB. When given, the DB's CONFIGURED namespace-exclusion list (per-solution row, else app-global default) is applied during analysis, same as the CLI; where the DB configured none, the committed .aicb.json sidecar's list applies, and only without a sidecar the DB's built-in default (a built-in default is not configuration - solution_config_status names the list in force and its source); the DB's active test-detection profile (per-solution > global > default) is resolved for the session so the test-aware tools (find_dead_code / coverage_gaps / symbol_metrics / find_tests_for / find_by_side_effects / assert_absence / prepare_task / list_insights / get_insight / solution_metrics) honor it; AND - unless an explicit layerProfile is given - the DB's active layer-mapping profile (per-solution > app-global) drives the analysis (dependency-graph layers + LAYER_MAP), matching the insights/metrics/CLI-gate path. All three travel with the session, so downstream tools honor them without re-passing dbPath. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one - so the GUI's per-solution exclusions + test + layer profile apply automatically; else the DB-free default (the built-in exclusion list, default test heuristic, role-based layers). When a config DB is resolved and a config axis (layer/exclusions/test) is not yet initialized via the guided setup, the response carries a configInit hint pointing to solution_config_status. | |
| layerProfile | No | Optional absolute path to a layer-mapping profile JSON. Omit to use the config DB's active layer profile (per-solution > app-global) when a config DB is resolved, else the .aicb.json sidecar's profile, else role-based heuristics. | |
| solutionPath | Yes | Absolute path to the solution file to analyze (.sln, .slnx or .slnf). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Discloses traits well beyond the annotations: in-memory session lifetime (90 minutes, 8 sessions), MSBuild side effects writing under obj/, uncommitted edits are read, long runtimes with progress token, and that cancellation still completes so a retry is cheap. It correctly frames itself as not modifying source while readOnlyHint=false is explained by the obj/ generated-file caveat, so no contradiction. Minor gap: it does not say what happens when the 8-session cap is exceeded (eviction policy beyond the number).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads purpose then the optionality rule, and the return-field list and incompleteRun caveat are genuinely load-bearing given there is no output schema. It is long, though, and the parameter paragraph re-explains precedence that the schema already carries, which is the main place words could be cut.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description enumerates the returned fields including conditional ones (incompleteRun, configInit, agentWiring) and points to solution_config_status and get_diagnostics for follow-up. It also warns that absence of incompleteRun is not an all-clear, which prevents a realistic misread of the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema descriptions already spell out the config precedence chain in detail, so the description largely restates it. It does add one useful operational rule not in the schema — "normally pass only solutionPath" and that layerProfile overrides only the layer axis — but the dbPath/layerProfile precedence material is redundant with the schema, so this sits at the baseline-plus level rather than clearly above it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb, resource and technology (analyze a .sln/.slnx/.slnf with Roslyn) and states its role as the entry point that produces the session_id other tools consume. Siblings like refresh_session and get_diagnostics are explicitly positioned against it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-not-to-use guidance ("Calling it is optional... do not call it just to run a query"), the concrete reasons to call it anyway (read the answer first, pass layerProfile/dbPath), and the correct alternative after editing .cs files (refresh_session). This is about as routing-explicit as it gets.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
apply_solution_configApply a Solution ConfigurationADestructive
Apply a proposed Layer Profile + Exclude-Namespaces + Test Profile configuration for a solution. Creates a new custom layer profile / exclusion list / test profile (tagged with the source solution for provenance), activates them, and marks each touched slot initialized. proposalJson is a JSON object {"layerRules":[{"pattern":".Application.","matchType":"Contains","layer":"Application"}],"exclusions":[{"pattern":"System.","matchType":"StartsWith"},{"pattern":"System","matchType":"Exact"}]}; the test axis is given via testProposalJson {"testProjectRules":[{"pattern":".Tests","matchType":"EndsWith"}],"testAttributeNames":["Fact","Theory"]} (rules match PROJECT names) OR via testPreset = xunit|nunit|mstest|default. At least one axis must be non-empty (empty arrays/slots are skipped). matchType is Contains|StartsWith|EndsWith|Exact (an invalid matchType is rejected, not silently defaulted). An exclusion with "keep":true is a keep rule: a namespace it matches is never excluded; exclusions that are all keep rules leave the built-in list in force; the sidecar stores keep rules under "keepNamespaces". Writes to the config/master DB (the given dbPath, or the server's default - the GUI's - if omitted; created if missing) AND to the git-tracked .aicb.json sidecar next to the .sln (returned as sidecarPath - commit it so the config travels with the repo). An axis this call does not name keeps what the existing sidecar holds for it, and keys it does not know stay as they are. An existing sidecar that cannot be read (malformed, locked) is never rewritten: the call is refused before anything is written, and a file that becomes unreadable while the DB is written is left as it is too (the DB keeps the configuration, a warning says so); a keep rule the file puts inside 'exclusions' is moved to 'keepNamespaces'. A keep flag that is not a JSON boolean is rejected.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Absolute path to the aicb config/master SQLite DB to write the configuration into (created if missing). Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| testPreset | No | Optional shortcut: clone a built-in test profile (xunit|nunit|mstest|default) into a custom per-solution profile. Mutually exclusive with testProposalJson. | |
| proposalJson | No | Optional layer/exclusion proposal as a JSON object with 'layerRules' and/or 'exclusions' arrays (see tool description). Omit for a test-only apply. | |
| layeringPolicy | No | Layer-mapping policy for the new profile: 'Advisory' (default) or 'Strict'. | |
| testProfileName | No | Optional display name for the created test profile. Omit for an auto-generated name. | |
| layerProfileName | No | Optional display name for the created layer profile. Omit for an auto-generated name. | |
| testProposalJson | No | Optional test-axis proposal as a JSON object {"testProjectRules":[{"pattern":".Tests","matchType":"EndsWith"}],"testAttributeNames":["Fact","Theory"]}. testProjectRules match PROJECT names. Mutually exclusive with testPreset. | |
| exclusionListName | No | Optional display name for the created exclusion list. Omit for an auto-generated name. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Far exceeds the annotations: it discloses dual persistence (config/master DB plus the git-tracked <SolutionName>.aicb.json sidecar), names the returned sidecarPath and advises committing it, explains merge semantics for unnamed axes, and specifies refusal-before-write behavior for unreadable/locked sidecars plus the warning path when the file becomes unreadable mid-write. Validation rules (invalid matchType rejected not defaulted, non-boolean keep rejected, misplaced keep rules relocated to keepNamespaces) are also spelled out.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The lead sentence is well front-loaded and every topic is relevant, but almost all of it is delivered as one enormous run-on sentence stringing together JSON examples, keep-rule semantics, DB/sidecar duality and failure modes. Splitting into bullets or short sentences would make the same content far easier to scan; some dbPath default detail also duplicates the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a destructive, non-idempotent, 9-parameter write with no output schema, the description covers write targets, merge behavior, validation failures, partial-failure warnings and the returned sidecarPath. The main residual gap is that the return payload beyond sidecarPath (e.g. created profile IDs) is never characterized, and there is no guidance on re-running against an already-initialized slot.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (baseline 3), but the description still adds meaning the schema does not carry: full literal JSON shapes for proposalJson and testProposalJson, the matchType enumerated values and that they are validated, the "keep":true keep-rule semantics and the keepNamespaces sidecar key, and the clarification that testProjectRules match PROJECT names. This is substantive semantics, not restatement.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb ("Apply") and a precisely enumerated resource (Layer Profile + Exclude-Namespaces + Test Profile for a solution), then states what it materializes (custom layer profile / exclusion list / test profile) and that they are activated and marked initialized. An agent can tell this apart from check_solution_config_drift, solution_config_status and init_solution_config without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete selection rules: at least one axis must be non-empty, empty arrays/slots are skipped, testPreset is mutually exclusive with testProposalJson, and "Omit for a test-only apply" is implicit from the schema text. It never names a sibling tool as an alternative (e.g. check_solution_config_drift for verification or init_solution_config for first-time setup), so routing against alternatives is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
architecture_overviewGet Architecture OverviewARead-onlyIdempotent
Orient on a whole solution WITHOUT the firewall of full source. When anything was cut, the document LEADS with a block: how many sections were capped, how many entries are shown of how many in total, and one 'SECTION: shown of total' row per capped section - read it before the sections, because the per-section '+N more' lines below state one section's loss each and never the whole. Absent = nothing was cut. Renders a structural-only AI-Builder-Markdown overview: the macro/architecture graphs (layer map, service & class dependency graphs, role graph, entry points + entry-point flow, architecture flow, interface relations) plus a domain summary and a quality-hotspots section (the most complex methods + most-coupled types) - but NO per-type/per-file source-code blocks, so it stays bounded where export_markdown is a 27-29 MB firehose. BOUNDED AT SCALE: each macro section is capped at 80 entries with a '+N more' note; the layer map lists every type up to 2500 and per-layer counts above, so even a 200+-project monolith returns a usable orientation instead of overflowing the token cap (use export_markdown for the full set, or find_symbol / call_graph / get_context to drill in). PRODUCTION-FOCUSED: test projects are excluded by default (an architecture overview is otherwise dominated by every test method listed as an entry point + its flow trace, which is not part of the production architecture) - set includeTests=true to include .Tests/.Spec projects. Method-level call graphs are deliberately omitted (use call_graph / explain_symbol for a specific symbol). Multi-TFM solutions are deduplicated to one logical project per name, keeping the NEWEST TFM's instance (without it every hotspot/edge appears once per TFM). Recall-safe: works on live AND recalled sessions (on a recalled session quality-hotspot line counts are unavailable, complexity is still shown). Use this FIRST to understand a codebase's shape, then get_context / explain_symbol to drill into a symbol.
| Name | Required | Description | Default |
|---|---|---|---|
| lean | No | Lean mode (default TRUE): drop the <AI_CONTEXT_SPEC>/<AI_CONTEXT_META> format-rules preamble and any empty graph sections. Set false for the full AI-Builder-MD document contract. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| summaryOnly | No | Summary mode (default FALSE): collapse each macro-section to a count + top-N entries instead of up to 80. Use on EXTREME/very-large solutions (200+ projects, heavy generics) where even the bounded overview exceeds the token cap and would otherwise return nothing. | |
| includeTests | No | Include test projects (default FALSE - production focus: an architecture overview is otherwise flooded by every test method listed as an entry point + its flow trace, bloating the output with scaffolding that is not part of the production architecture). Set true to include *.Tests/*.Spec projects in the graphs. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only establish readOnly/idempotent/non-destructive; the description adds substantial behavior the agent could not otherwise know: the leading <TRUNCATION> block semantics and its per-section '+N more' counterpart, the 80-entry section cap, the 2500-type layer-map ceiling, multi-TFM dedup keeping the newest TFM, and degraded output on recalled sessions (hotspot line counts unavailable). None of this contradicts 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The lead sentence is well front-loaded, but the body is a ~320-word wall of ALL-CAPS emphasis, dashes and parentheticals, and roughly a third of it re-explains parameters already fully documented in the schema. The truncation-block paragraph is placed ahead of the more decision-relevant capability summary, so an agent must read deeply before learning what the tool actually returns.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the burden of explaining the return value and does so thoroughly: the section inventory, truncation signalling, size bounds at scale, test exclusion, and session-type behavior. It also flags the fallback path when output would exceed the token cap, leaving no material gap for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and each of the four parameters already carries a detailed default-plus-rationale entry, so the schema does the heavy lifting. The prose largely restates those entries (the includeTests and summaryOnly rationales are near-duplicates of the schema text) rather than adding new syntax, interaction, or edge-case meaning; baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Orient on a whole solution', renders a structural macro/architecture overview) and enumerates exactly which sections are produced (layer map, dependency graphs, role graph, entry points, hotspots) and which are excluded (no per-type/per-file source blocks). It explicitly distinguishes itself from export_markdown ('27-29 MB firehose'), call_graph, explain_symbol and find_symbol, so an agent can pick it without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit ordering rule ('Use this FIRST ... then get_context / explain_symbol to drill into a symbol') plus named alternatives with the conditions that select them: export_markdown for the full set, find_symbol/call_graph/get_context to drill in, includeTests=true for test projects, summaryOnly for 200+ project monoliths. When-not guidance is present too (method-level call graphs deliberately omitted; tests excluded by default).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
assert_absenceCheck a Negative ClaimARead-onlyIdempotent
Check a NEGATIVE claim against the analyzed model and return confirmed / refuted / indeterminate with evidence. Supported: 'no_tests:' (the symbol has no detected covering test), 'absent:.' (the semantic axis is verified-absent - developer declared 'none', NOT merely unknown), and 'unknown:.' (the axis has no provenance entry at all). is a bare name or the qualified Type.Member form - the same strings find_usages / find_tests_for / impact_of_change resolve, so the pre-edit gate's tools accept one vocabulary; a name that resolves to nothing declared says so ('resolves to no declared type or member'), which is a statement about the name, not a claim the code lacks it. axis is e.g. role/layer/domain/context/responsibility; an axis name not recorded anywhere in the solution returns 'indeterminate' with the actual recorded axes as evidence (a typo'd/invented axis is NOT silently 'confirmed'). Conservative in BOTH directions: a claim the model cannot prove is 'indeterminate', never falsely confirmed - and 'refuted' for a no_tests claim requires at least one STRONG covering test, as find_tests_for defines its tiers; the reason states the split between the strong tiers and the name-only matches, matching find_tests_for's invokesTotal. Tests that merely carry the symbol in their NAME yield 'indeterminate' with that split disclosed, not a refutation - a test named after a symbol is not proof it exercises it. Use to validate 'this service is untested' or 'role is explicitly unset' before relying on it.
| Name | Required | Description | Default |
|---|---|---|---|
| claim | Yes | The negative claim: 'no_tests:<Symbol>', 'absent:<Symbol>.<axis>', or 'unknown:<Symbol>.<axis>'. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial behavioral context beyond them: conservatism in both directions, that refutation requires a STRONG covering test per find_tests_for tiers, that name-only matches yield indeterminate with the tier split, and that typo'd/invented axes return indeterminate rather than a false confirm.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and return values, and most sentences carry distinct information. It is dense with parenthetical qualifications that border on overload, but almost none is filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, yet the description spells out return values (confirmed/refuted/indeterminate with evidence) and the edge-case returns (unresolved names, unrecorded axes). With 2 fully-covered params and annotations supplying safety, nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds real meaning beyond it: it decodes each claim token ('absent' means developer-declared none, NOT unknown; 'unknown' means no provenance entry), explains the Symbol vocabulary shared with find_usages/find_tests_for/impact_of_change, and defines what an axis is with examples (role/layer/domain/context/responsibility).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (check/assert) and a specific resource (a NEGATIVE claim against the analyzed model), and enumerates the three supported claim tokens with their precise meanings. It is clearly distinguishable from the positive-verification sibling verify_claim.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to use it ('validate this service is untested or role is explicitly unset before relying on it') and defines which claim shapes are in scope. It does not, however, name verify_claim as the positive-claim alternative, so the sibling routing is implied rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
batchRun Several Queries at OnceARead-onlyIdempotent
Run several read-only query tools in ONE round-trip against one shared session. measure is the sibling that reports what each answer would cost instead of returning it.
Use it whenever two or more questions do not depend on each other's answers; a solution path as sessionId is analyzed once.
queries is an array of {tool, args}: args is that tool's own arguments as a JSON object WITHOUT sessionId (omit it for a tool that takes none). Example: queries=[{"tool":"find_usages","args":{"symbol":"Foo"}},{"tool":"find_tests_for","args":{"symbol":"Foo"}}]. At most 16 per call: more fails the whole call, as does a sessionId that does not resolve.
Returns { results: [{tool, ok, result | error}], count, okCount }, in query order. A failing sub-query answers ok:false + error and the rest still return. A JSON tool's result is nested as an object, a Markdown tool's is the string. The answers share a response budget of about 9000 tokens: one that no longer fits is omitted with ok:false and a pointer to call that tool directly - after its work was done. 'note' on an item names arguments the tool does not have; they are ignored, not rejected.
Dispatchable is a fixed registry of read-only queries about the analyzed code, among them find_*/get_*/impact_of_change/symbol_signature/explain_symbol/calls_external/resolve_injection/symbol_metrics/list_insights. Refused per item, with the registry's names listed - call these directly where the profile exposes them: tools that mutate session state or write (such as analyze_solution/refresh_session/apply_solution_config/save_session/remember_codebase/export_markdown/install_agent_hooks), poor batch members (evaluate_change_set/init_solution_config/prepare_task/review_context), tools needing a second session or snapshot (semantic_diff/diff_review/verify_claim/compare_with_previous) and the session, configuration and server tools. A tool the active MCP profile does not expose is refused per item too, as a direct call would be - also when a refusal's list names it.
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | The read-only sub-queries: an array of { tool, args } objects. 'tool' is a read-only tool name; 'args' is that tool's argument object (without sessionId), omittable when the tool needs no arguments. Max 16. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. Shared by ALL sub-queries - do NOT repeat it inside each query's args. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnly/idempotent/non-destructive, but the description adds constraints they cannot convey: max 16 sub-queries (over-limit fails the whole call), an unresolved sessionId failing the whole call, per-item refusal semantics, partial success (ok:false + error while the rest still return), a ~9000-token shared response budget with omission behavior pointing to direct invocation, and the 'note' field for unrecognized args being ignored not rejected. This is rich behavioral disclosure well beyond the annotation set.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose then usage then return shape then failure modes then the dispatchable/refused registry. Dense and mostly waste-free for the surface area covered, though the sessionId-omission point is stated twice and the refused-tool list is long.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, yet the description supplies the return shape ({results:[{tool,ok,result|error}], count, okCount} in query order), per-item vs whole-call failure behavior, and budget-driven omission semantics. For a dispatcher with a nested query registry, this is complete enough to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3, but the description adds real meaning: the required {tool, args} shape, that args must omit sessionId, a concrete worked example, the max-16 bound, and that sessionId accepts an absolute .sln/.slnx/.slnf path analyzed on first use. It goes well beyond the schema text.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: 'Run several read-only query tools in ONE round-trip against one shared session.' It also explicitly distinguishes itself from its sibling measure, which 'reports what each answer would cost instead of returning it.' An agent can tell what this does and what it is not without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit trigger: 'Use it whenever two or more questions do not depend on each other's answers.' It also enumerates what must NOT be batched — mutating tools, poor batch members (evaluate_change_set, init_solution_config, prepare_task, review_context), tools needing a second session/snapshot, and session/config/server tools — with the registry's names. When/when-not coverage is unusually complete.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
call_graphBuild a Call GraphARead-onlyIdempotent
Build a depth-limited call graph rooted at a method NAME. direction='callees' follows project-internal calls outward; direction='callers' follows the inverse (who calls this). Returns (caller, callee) edges using method-lookup keys, cycle-safe and capped at 500 edges (truncated flag). A creation (new X(...)) is an edge to the constructor it binds, keyed 'Ns.X.X(params)', and both directions walk on through a constructor: into what it calls and creates, out to the code that creates the object. A bare name is rooted at the name, NOT at one symbol: EVERY same-named declaration in the solution is a root and the graph is their union, so a common name (e.g. 'ExecuteAsync') can pull in unrelated members and inflate the payload. The qualified 'Type.Method' form roots only that type's declarations of the name, overloads included. With direction='callers' every node also brings in the callers of the interface and abstract members it implements, at every hop as impact_of_change does (a call through the contract is recorded there); 'viaContract' names those members with their implementation counts (one implementation: exact, several: a union) and the nodes that brought them in ('creditedBy'). 'rootedAt' lists the declarations actually walked - check it when the result looks too big (then re-query a rarer or qualified name) and when it is empty (the name resolved to nothing, which an empty edge list alone does not tell you).
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max traversal depth (1-10). Default 2. | |
| method | Yes | The root method's name, bare or as 'Type.Method'. | |
| direction | No | 'callees' (default) or 'callers'. | callees |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover the safety profile (readOnly, idempotent, closed-world), and the description still adds substantial undisclosed behavior: a 500-edge cap with a truncation flag, cycle-safety, constructor-edge keying as 'Ns.X.X(params)', contract/abstract-member expansion at every hop, and the viaContract/creditedBy/rootedAt result fields. That is exactly the kind of operational detail annotations cannot carry.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and direction semantics are front-loaded, and every sentence carries non-redundant information. It is a single dense block of prose with no structural breaks, which makes the later rootedAt/viaContract guidance harder to scan than it needs to be.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 must explain returns, and it does: (caller, callee) edges with lookup keys, truncation flag, viaContract with implementation counts, creditedBy, and rootedAt. For a tool whose main failure mode is an unexpectedly huge or empty graph, the diagnostic guidance is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description genuinely adds semantics the schema does not: the bare-vs-'Type.Method' rooting distinction (union of all same-named declarations vs overloads of one type), and the consequence of 'callers' direction on node expansion. Depth is only echoed as 'depth-limited' without discussing bounds, so it stops short of 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource+scope: 'Build a depth-limited call graph rooted at a method NAME'. Immediately enumerates the two directions with their meanings, so an agent can distinguish this from impact_of_change or find_usages without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete conditional guidance: bare name is a union of every same-named declaration and can inflate payload, so 're-query a rarer or qualified name' when rootedAt is too big, and check rootedAt when the edge list is empty. What's missing is explicit routing (e.g., 'use impact_of_change instead when you need cross-contract impact') – impact_of_change is only referenced descriptively.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calls_externalFind Calls to External APIsARead-onlyIdempotent
Find the code that calls an EXTERNAL member - BCL or package - whose key contains 'pattern'. find_usages answers for solution symbols only; find_by_side_effects classifies the same calls into effect tokens.
Use it for AOT/trimming readiness, security surface or dependency footprint: pass the risky or external API as 'pattern', e.g. 'Process.Start' or 'DateTime.UtcNow'. It is the only search argument; there is no 'symbol'.
Returns scope, pattern, methodsScanned, matches - a capped envelope of at most 200 hits, sorted by type and name, not ranked - and testMatchesFiltered (units the test filter removed, outside methodsScanned; omitted at 0). A hit carries name, declaringType, namespace, matchedCalls (invoked methods and method groups, keys like 'System.IO.File.ReadAllText(string)') and matchedReads (external properties read or written, like 'System.DateTime.UtcNow'). The units scanned are methods plus every accessor and constructor with a body, under their metadata names (get_X, set_X, .ctor), and, unscoped, each top-level-statement file ('Program.cs (top-level)'); an initializer counts toward the constructor that runs it.
The pattern is a case-insensitive substring of the whole key, parameter list included, so a type name also hits the units that only pass that type to another API. It is an open vocabulary (no did-you-mean); empty is strong, not absolute. Not recorded: an external field read ('string.Empty'), a bare 'new X()', operators and conversions, indexers, event subscriptions and compiler-lowered calls (using, foreach, await). Cross-check a surprising empty against the declaring type ('DateTime', not 'DateTime.UtcNow'). A 'note' leads the answer when it is empty - it says when only the test filter emptied it - and when a project's core references did not resolve: an unresolved call records no key.
Read-only; works on a recalled session. Test-project code is excluded by default (includeTests=true includes it). scope is 'solution' or a namespace prefix, matched case-insensitively on segment boundaries.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.Infrastructure') to narrow scope. | solution |
| pattern | Yes | A substring of the external (BCL/third-party) call key to match (case-insensitive), e.g. 'Process.Start', 'File.', 'Assembly.Load', 'System.Reflection', 'JsonSerializer'. Required - a very broad pattern (e.g. 'System') truncates at 200. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test-project methods (default false - production focus; test setup/assertions calling external APIs would otherwise drown the signal). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With annotations already declaring read-only, idempotent, non-destructive behavior, the description adds substantial operational context: capped results at 200, sorting rather than ranking, what each hit contains, which units are scanned, and what kinds of external references are not recorded. It also explains empty-result notes and test-filter behavior, giving the agent a realistic model of the tool's limitations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is dense and lengthy, but it is front-loaded with purpose and usage, and most sentences add concrete caveats an agent would otherwise miss. A few details repeat schema descriptions, and the density makes it harder to scan, keeping it just below the top score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema, but the description explains the return envelope, hit fields, ordering, cap, and omitted fields. It also covers important edge cases such as note messages, unresolved references, top-level statements, and test filtering, making the definition complete for correct invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Although schema coverage is 100%, the description adds real meaning beyond the schema: pattern is a case-insensitive substring of the whole call key including parameter lists, it is an open vocabulary with no did-you-mean, empty results are strong but not absolute, and broad patterns truncate at 200. It also clarifies scope matching on namespace segment boundaries and the test-inclusion default.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence states a specific verb and resource ('find the code that calls an EXTERNAL member') and immediately distinguishes it from find_usages and find_by_side_effects. An agent can tell exactly what this tool searches and what it does not.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly names use cases (AOT/trimming readiness, security surface, dependency footprint) and gives concrete example patterns such as 'Process.Start'. It also clarifies that 'pattern' is the only search argument and there is no 'symbol', which prevents misuse.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
check_solution_config_driftCheck Solution Configuration DriftARead-onlyIdempotent
Check whether a solution's active Layer Profile, Exclude-Namespaces and Test Profile still FIT the code. solution_config_status tells you WHICH configuration is active and where it comes from.
Use it on a solution configured a while ago, or when layer or exclusion results look off; a stale axis is rebuilt with init_solution_config and apply_solution_config. On a never-configured solution only exclusion.excludedApiAreas is evaluated.
Three conservative signals: layer - declared (own) namespaces that no rule of the active layer profile maps; exclusion - EXTERNAL referenced namespaces that the active exclusion list does not cover; test - projects the default heuristic classifies as test projects that the active custom test profile's rules do not match.
Returns JSON with layer, exclusion and test, each carrying source (db / sidecar / built-in / none), name, status, stale, considered (the denominator), sample (drifted names, items/count/totalFound/truncated, max 50) and reason (the drifted count against considered). status is 'stale' from 3 drifted names on for layer and exclusion, for test above a quarter of considered projects; else 'ok' (an 'ok' with a sample is still worth reading). 'built-in-preset' and 'not-configured': the axis was NOT judged, only a custom config is (a generic preset is a choice, not drift). exclusion.excludedApiAreas, on any status: excluded areas carrying the public API, each with the keepRule to add. sidecarProblem: the .aicb.json could not be read.
It changes no configuration and creates no solution row; a missing dbPath is refused, an empty one is not opened, an older one is upgraded on open (schema, built-in rows). It judges the configuration a plain analyze_solution resolves NOW, not a layerProfile the session was analyzed with. It needs a live session, not a recalled one.
Parameters: normally pass only sessionId (an absolute .sln/.slnx/.slnf path works too). Pass dbPath only if the session was analyzed with it; otherwise this judges a configuration the analysis did not use.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional absolute path to the aicb config/master DB. If given, the config the DB holds for the solution (per-solution row, then app-global default) takes precedence over the .aicb.json sidecar; a built-in default in the DB does not. Omit to fall back to the server's default config DB (the GUI's, if resolved), else only the .aicb.json sidecar next to the .sln. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/non-destructive/idempotent, but the description adds real context: it changes no configuration and creates no solution row, a missing dbPath is refused, an empty one is not opened, an older one is upgraded on open, and it needs a live session rather than a recalled one. It also explains which statuses mean 'not judged' (built-in-preset, not-configured) and what sidecarProblem means. The gap: the 'upgraded on open (schema, built-in rows)' detail is a write side effect that sits awkwardly next to a pure read-only framing, and the description never reconciles that tension.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core verdict question before any of the return-shape detail, and the positioning against solution_config_status comes early where it matters. It is dense and long, with several back-to-back clauses (status thresholds, sample caps, sidecarProblem, dbPath caveats) that could be split for scanability, but almost every sentence carries operational content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, and the description compensates thoroughly: it enumerates the returned keys (layer, exclusion, test, source, name, status, stale, considered, sample, reason, sidecarProblem), defines the staleness thresholds, and explains that an 'ok' with a sample is still worth reading. For a multi-axis diagnostic tool this is complete enough to call and interpret correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds genuine selection guidance: normally pass only sessionId, an absolute .sln/.slnx/.slnf path also works, and dbPath only if the session was analyzed with it — otherwise the result judges a configuration the analysis did not use. That conditional is not in the schema and prevents a real misuse.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and object: check whether a solution's active Layer Profile, Exclude-Namespaces and Test Profile still fit the code. It also explicitly distinguishes itself from the nearest sibling, solution_config_status, which reports WHICH configuration is active rather than whether it still fits.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete trigger conditions ("on a solution configured a while ago, or when layer or exclusion results look off") and names the relevant alternatives and remedies: init_solution_config and apply_solution_config for a stale axis, solution_config_status for the 'which/where-from' question. It also states a scoping exclusion: on a never-configured solution only exclusion.excludedApiAreas is evaluated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_with_previousCompare with a Saved SnapshotARead-onlyIdempotent
Diff the current session against a previously saved snapshot of the SAME solution - the newest by default, or the N-th previous via snapshotsBack (0=newest saved, 1=the one before, ...). Optionally narrow the diff to a single type and/or method. Returns added/removed types plus, per changed type, added/removed methods and signature changes. Requires a sessionId and at least one earlier save_session; dbPath is optional and defaults to the server's standard config DB when omitted. Name-based, syntactic (no method-body diff). A 'note' leads the answer when the baseline was saved with the file-set hash the session still holds and the diff is empty: then it most likely compares one state with itself; with an equal hash saved by another analyzer build it says a difference can come from the analyzer.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional absolute path to the aicb SQLite DB holding the saved snapshots. Omit to use the server's standard config DB. | |
| typeName | No | Optional: restrict the diff to this type (simple name, case-insensitive). Omit for the whole-solution diff. A simple name ALSO matches the namespace-qualified form the diff renders for a type whose simple name collides in the solution - then the answer spans every type of that name and 'note' says which; pass one of those qualified names to narrow to a single type. Not a substring match: 'MyApi' never matches 'MyApiExtensions'. When a filter EMPTIES a diff that did have changes, 'note' says so and names the axis that missed, because 'isIdentical: true' then describes the filtered view and not the solution. On a diff that was ALREADY empty there is no note and none is owed: 'your filter matched nothing' and 'nothing changed' are the same state there, so a typo'd name and a real one answer identically - check the spelling with find_symbol rather than reading that agreement as confirmation. | |
| sessionId | Yes | The current session_id (the 'after' side of the diff). Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| methodName | No | Optional: within that type, restrict to this method name (case-insensitive). Omit for all methods of the type. Same disclosure rule as typeName: if the type matched and this name matches none of its added/removed/signature-changed methods, the type is dropped from the answer and 'note' says which of the two filters came up empty - an empty view here is never evidence that the method is unchanged. | |
| snapshotsBack | No | 0 = newest saved snapshot, 1 = the one before it, etc. (index into the per-solution history, newest first). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds substantive behavior: syntactic name-based comparison with no method-body diff, the exact structure of returned added/removed types and signature changes, and the conditional 'note' emitted when the baseline hash matches and the diff is empty (including the cross-analyzer-build caveat). That is real context an agent could not get from 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Core operation is front-loaded in the first clause, and each sentence maps to a distinct concern (baseline selection, filtering, return shape, prerequisites, semantics, note behavior). It runs long and the 'note' discussion is dense with parentheticals, but no sentence is pure filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-shape burden and does so ('added/removed types plus, per changed type, added/removed methods and signature changes'), plus the self-comparison caveat an agent needs to interpret an empty result. Nothing required for a correct call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description still earns credit by explaining the snapshotsBack indexing as a history walk ('0=newest saved, 1=the one before'), the dbPath default, and the two narrowing axes together with the consequence of a filter that empties a non-empty diff. Most of this value is already duplicated in the schema property descriptions, which keeps it at 4 rather than 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specific verb and resource: 'Diff the current session against a previously saved snapshot of the SAME solution', with the baseline selected by snapshotsBack. It also states the diff's granularity (name-based, syntactic, no method bodies) and return shape, which clearly separates it from save_session and from change-oriented siblings like impact_of_change or evaluate_change_set.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives a hard prerequisite ('Requires a sessionId and at least one earlier save_session') and routes one edge case to an alternative tool ('check the spelling with find_symbol'). It never states when to prefer impact_of_change or evaluate_change_set over this diff, so it stops short of full alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
coverage_gapsFind Test Coverage GapsARead-onlyIdempotent
List what is NOT covered in a scope: 'uncovered' - production methods no test code calls directly - and 'verifiedAbsent' - semantic axes a developer explicitly declared as 'none'. find_tests_for asks the opposite question for one symbol.
Use it to find untested code before claiming coverage. THE LIST IS ONE HOP, NOT A COVERAGE MEASUREMENT: a method a test reaches THROUGH another method (a CLI verb behind its command builder) is listed although it is exercised - on this server's own solution that is most of the list. So read each entry's testReachDepth: the hops to the nearest directly called method (1 = one of those calls it), ABSENT when no test reaches the method at all. Those are the real gaps. The walk follows interface and abstract dispatch; an entry reached only that way carries viaDispatch.
Returns scope, a 'note' when uncovered is non-empty or no namespace matched, symbolsScanned, uncovered and verifiedAbsent (at most 200 items each), transitivelyReached, judgedUnits, testProjectsExcluded, testFixtureTypesExcluded and reachedOnlyThroughDispatch. uncovered is sorted by type and name, not by depth, so on a large scope the cap cuts alphabetically: narrow the scope to see the rest.
What counts: test code is every method of a test project, every test-attributed method and every method or constructor of a type that declares one. Only ordinary methods are judged. A constructor is a hop: new X(...) reaches the bound overload and its callees. A call from an accessor is not read. Abstract and interface declarations are excluded, and a weak test-name match does not count.
THE POPULATION IS DISCLOSED: judgedUnits is the methods the uncovered list is drawn from, out of symbolsScanned; testProjectsExcluded and testFixtureTypesExcluded count what was set aside as test code. A gap count without its denominator is meaningless. symbolsScanned 0 means the scope matched no namespace.
Read-only. scope is 'solution' or a namespace prefix, case-insensitive, matched on segment boundaries. There is no test switch.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a namespace prefix to narrow which symbols are checked. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds substantial context beyond them: the one-hop limitation, testReachDepth/viaDispatch semantics, the alphabetical 200-item cap, the definition of test code, constructor-as-hop behavior, accessor calls not read, and the judgedUnits denominator. This is exactly the behavioral disclosure an agent needs to interpret results correctly.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and the critical one-hop caveat are front-loaded, and the sections (returns, what counts, population) are logically ordered. It is long and carries some rhetorical filler ('A gap count without its denominator is meaningless', 'THE LIST IS ONE HOP'), but the density is largely justified by the absent output schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-value burden and does so thoroughly, naming every field (scope, note, symbolsScanned, uncovered, verifiedAbsent, transitivelyReached, judgedUnits, testProjectsExcluded, testFixtureTypesExcluded, reachedOnlyThroughDispatch) plus the edge cases for symbolsScanned 0 and the note field.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: scope is case-insensitive and matched on segment boundaries, 'solution' is the default, and there is no test toggle. It also notes sessionId accepts an absolute .sln/.slnx/.slnf path analyzed on first use.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List what is NOT covered in a scope') and enumerates the two result categories, uncovered and verifiedAbsent. It also explicitly distinguishes itself from find_tests_for ('asks the opposite question for one symbol'), so an agent can route between the two without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit when-to-use ('find untested code before claiming coverage') and names the alternative sibling with the condition that selects it. It also warns about the primary misuse case (treating the one-hop list as a coverage measurement) and tells the agent to narrow scope when the 200-item cap bites.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
describe_api_surfaceDescribe Public API SurfaceARead-onlyIdempotent
List the PUBLIC API SURFACE of a solution or namespace - every externally-visible type with its externally-visible members (constructors, properties, fields, events, methods, user-defined operators), each as a compact declaration signature. The "header"/contract view: what a consumer of this assembly can actually reference, WITHOUT the source bodies (like a public-API digest, not a firehose). A type is included when its OWN declared accessibility is externally visible - public or the protected family (reachable by a subclass in another assembly); its members likewise. A property renders only the accessors that are themselves visible (a { get; private set; } shows as { get; }), a const carries its value, an enum is listed as a type (its values are not in the model). includeInternal=true additionally surfaces the internal family. PRODUCTION-FOCUSED: test projects are excluded by default (a shipped API surface is production code) - set includeTests=true to include .Tests/.Spec projects. scope='solution' (default) covers everything; a namespace prefix narrows it, and one that matches no namespace gets a 'note' ahead of typesScanned 0. The type list is capped (the true total travels in the envelope; narrow by namespace or filter to see the rest); members per type are whole. Recall-safe (reads persisted accessibility + signature facts) → works on live AND recalled sessions. Known v1 simplifications: accessibility is the type's OWN declared modifier (effective accessibility through the nesting chain is not computed - a public member of a type nested in an internal type is still listed); a type declared with NO access modifier is stored as private by the analyzer, so a modifier-omitted (compiler-internal) top-level type is not surfaced even with includeInternal. Use it to review a public contract before changing it, or as the baseline for a contract comparison - save_session then compare_with_previous, or diff_public_contract, which is outside the default profile's pool.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default - the whole solution) or a namespace prefix (e.g. 'MyApp.Contracts') to narrow the surface. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test projects (default FALSE - a shipped API surface is production code). Set true to include *.Tests/*.Spec projects. | |
| includeInternal | No | Include the internal family (internal / private-protected) types + members too (default FALSE = only the externally-visible public/protected surface). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds substantial beyond-schema behavior: how property accessors, consts, and enums render, that the type list is capped with the true total in the envelope, that it works on live AND recalled sessions, and honest "Known v1 simplifications" about accessibility computation and modifier-omitted types.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded in the first sentence, and most sentences carry load-bearing detail. However, the volume is high for a 4-param read-only tool, with heavy ALL-CAPS emphasis and stacked parentheticals that reduce scannability and add redundancy (accessibility/rendering rules are stated twice).
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-shape burden and does so well: it explains declarations are compact signatures, that member lists are whole while types are capped, and that the envelope carries the true total. Combined with the simplification caveats, an agent has everything needed to call and interpret it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real semantics the schema lacks: includeInternal surfaces the internal/private-protected family, and a namespace prefix matching no namespace yields a 'note' ahead of typesScanned 0. It reinforces the defaults for scope and includeTests rather than merely restating them.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence names a specific verb ("List") and resource ("PUBLIC API SURFACE of a solution or namespace") and immediately clarifies scope (externally-visible types with their members). It differentiates itself from siblings by naming compare_with_previous and diff_public_contract, plus the "public-API digest, not a firehose" framing that separates it from a full-documentation tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives explicit use cases ("review a public contract before changing it, or as the baseline for a contract comparison") and names the chaining alternatives (save_session then compare_with_previous, or diff_public_contract, noting the latter is outside the default profile). It does not state an explicit when-not condition beyond the firehose contrast, so it falls just 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.
detect_circular_dependenciesDetect Circular DependenciesARead-onlyIdempotent
Detect circular NAMESPACE dependencies: groups of namespaces that depend on each other in a cycle - a modularity smell the compiler allows, unlike project-reference cycles. The layer-violation insight in list_insights checks the direction rule; this answers the orthogonal 'who is mutually entangled?'.
Use it before splitting an assembly or moving types between namespaces.
Returns scope, namespacesScanned, cyclesFound and cycles, at most 100. Each cycle is a strongly connected component of two or more namespaces and carries namespaces, size, projects, spansMultipleProjects, edgeCount, edgesTruncated and edges: one 'witness' type -> type reference per directed namespace pair (fromNamespace, toNamespace, fromType, toType, typeEdgeCount). Read the witnesses as EXAMPLES, not as a work list: edgeCount counts directed namespace pairs, and typeEdgeCount says how many distinct type references cross that one boundary. Where it is above 1, removing the shown reference leaves the edge standing. Cycles that span assemblies come first, then the largest. Witness edges are capped per cycle, and edgesTruncated says when; the namespace list is complete. A cycle inside one assembly is namespace organisation; one that spans assemblies means a namespace is reused across DLL boundaries.
Edges come from the type references a type's facts record by full name - member, field, parameter, return and typeof types, base class and interfaces among them - so a same-named type in two namespaces is never conflated, and external references are ignored.
cyclesFound 0 under scope 'solution' means no cycle among the scanned namespaces. Under a prefix it only means no cycle touches a namespace starting with that text, and an unknown prefix answers the same zero.
Read-only; works on a recalled session. Test projects are excluded by default (includeTests=true includes them). scope is 'solution' or a plain case-insensitive namespace prefix: it narrows the report, not the graph, and returns a whole cycle when one of its namespaces matches.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default - all cycles) or a namespace prefix to report only cycles whose members include that prefix. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test projects (default FALSE - production focus: a test->production reference is one-way and not an architecture cycle). Set true to include them. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish read-only/idempotent, but the description goes well beyond them: it discloses the 100-cycle cap, ordering (solution-spanning first, then largest), witness edges being EXAMPLES not a work list, edgeCount/typeEdgeCount semantics, edgesTruncated capping (with the namespace list still complete), and how edges are derived from recorded type facts. This is exactly the extra behavioural context a caller needs.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose in the first clause, then alternatives, then return semantics. It is long, and the witness-edge paragraph is dense, but with no output schema every sentence is doing load-bearing work; only minor tightening is possible.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description must carry return semantics and it does: field list, caps, ordering, truncation flag, and the interpretation rule for a zero count under each scope. Combined with annotations covering safety, an agent has everything needed to call and read this correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description genuinely adds meaning: scope 'narrows the report, not the graph' and returns a whole cycle when any member matches the prefix; includeTests is justified (test->production is one-way, not an architecture cycle); sessionId accepts a .sln/.slnx/.slnf path analyzed on first use. This exceeds what the schema alone conveys.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('Detect circular NAMESPACE dependencies') and immediately scopes it as cycles among groups of namespaces, explicitly contrasting with the 'layer-violation insight in list_insights'. An agent can distinguish it from that sibling and from other architecture tools without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger ('Use it before splitting an assembly or moving types between namespaces') and a precise division of labour with list_insights (direction rule vs mutual entanglement). It also explains the interpretation of results under each scope value, including that an unknown prefix likewise answers zero, which is real guidance, not just context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
docsRead the Operating ManualARead-onlyIdempotent
The aicb operating manual - how to USE this server, as opposed to what it can tell you about your code. Call it with no arguments for the directory (each page with a one-line summary and a token estimate, so you can budget); pass one or more page ids to read them, or the route id 'init' for the whole first run in order. Pages: 'overview' (what aicb is and is not, the three ways to run it), 'install' (getting the dotnet tool, aicb init, and what it writes - the client's .mcp.json entry and the agent skill a tool install cannot deliver; for setting aicb up somewhere else, or finishing a half-done setup), 'first-context' (from a .sln to your first context - and why the full export is rarely the right call), 'navigation' (which tool answers which question about the code, the blast-radius call before editing shared code, and where plain text search is still right), 'solution-config' (layers / exclusions / test detection and the .aicb.json sidecar), 'glossary' (session, facet, MCP profile, snapshot, insight, AI-Builder MD). Start here if you have not used aicb before. No session and no solution needed.
| Name | Required | Description | Default |
|---|---|---|---|
| topics | No | Optional page or route ids. Omit for the directory. A route id ('init') expands to its pages in reading order; repeats collapse, so asking for a route and one of its pages yields one copy. Unknown ids are named back to you rather than silently dropped. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds real behavioral detail beyond them: token estimates per page for budgeting, route expansion into reading order, deduplication of repeats, and unknown ids being named back rather than dropped.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads what it is, then how to call it, then the page catalog. The page enumeration is long but each entry earns its place as a routing aid; only minor tightening is possible.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single optional-array parameter tool with rich annotations and no output schema, the description covers invocation modes, valid values, edge behavior, and prerequisites. Nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3, but the description goes further by enumerating every valid page id with its content summary ('overview', 'install', 'first-context', 'navigation', 'solution-config', 'glossary') plus the 'init' route — effectively documenting the valid value domain beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence names the specific resource (the aicb operating manual) and explicitly demarcates its scope: 'how to USE this server, as opposed to what it can tell you about your code.' That contrast cleanly separates it from the ~50 sibling code-analysis tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states explicit routing conditions: 'Start here if you have not used aicb before', explains that a bare call returns the directory, and gives per-page when-to-use cues (e.g. 'for setting aicb up somewhere else, or finishing a half-done setup'). It also notes 'No session and no solution needed', removing a common prerequisite question.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
evaluate_change_setCheck an Edit Before Writing ItARead-onlyIdempotent
Advisory policy gate: which code-quality / design-smell / layer-violation findings would this edit INTRODUCE? Ask BEFORE writing it. Cheapest form - the edit you are about to make anyway: changes: [{filePath, oldText, newText}], the snippet being replaced and what it becomes (the shape an editor takes). The full file is rebuilt here from the analyzed document, so the payload is the size of the CHANGE, not of the file, and 'operation' defaults to 'modify'. oldText must occur EXACTLY ONCE - a missing or ambiguous anchor is an error, never a silently different edit; line endings are reconciled for you; an empty newText deletes the snippet. Full-text form still works and is required for add/delete: {filePath, operation: 'modify'|'add'|'delete', newContent}. Findings are a delta against the current session, so pre-existing debt is never blamed. The changeset is applied as an in-memory Roslyn overlay (NO disk write, the session is untouched) and the amended solution is re-analyzed. Verdict: pass / warn / block. Policy: 'block_on_critical' (default) | 'block_on_warning' | 'advisory' (an unknown policy is rejected, not silently treated as advisory). Advisory only - an MCP tool cannot block; the real blocking gate is the CLI '--fail-on'. The findings delta honors the session's explicit layer profile (analyze_solution(layerProfile) / sidecar) and its resolved test-detection profile on both sides; pass dbPath to also use that DB's active QualityProfile (producer thresholds + toggles) and its configured default layer profile (per-solution > app-global; the explicit session profile still wins) - same semantics as list_insights, so the gate judges by the same configured thresholds as the CLI gate. apply_change_set is out of scope. Pass absolute file paths matching the analyzed documents.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND its configured default layer profile (per-solution > app-global) drives the layer-violation analysis on BOTH delta sides (an explicit analyze_solution(layerProfile) wins); omit to fall back to the server's default config DB (the GUI's, if the server resolved one), else the default profile + session axes, and the layer profile to the config DB the session was analysed against - the one its renders read. | |
| policy | No | Policy: 'block_on_critical' (default) | 'block_on_warning' | 'advisory'. | |
| changes | Yes | The proposed file changes. Per change: filePath (absolute), plus EITHER the anchor patch oldText + newText (preferred - 'operation' may be omitted, it defaults to 'modify') OR the full new file text newContent with operation 'modify'/'add' ('delete' takes neither). | |
| sessionId | Yes | The session_id returned by analyze_solution (the baseline). Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Far exceeds the annotations: states the changeset is applied as an in-memory Roslyn overlay with NO disk write and the session untouched, that the gate is advisory only because an MCP tool cannot block (real gate is CLI --fail-on), that oldText must occur exactly once or it is an error, and how layer/quality profiles are resolved on both delta sides.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded and most sentences carry non-redundant behavioral detail, but the prose is extremely dense and long for a four-parameter tool, packing profile-resolution and precedence caveats into a single flowing paragraph that is hard to scan.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, yet the description covers the verdict shape (pass/warn/block), the delta-vs-session finding semantics, the available policy values, and the advisory-only caveat, so an agent has everything needed to call and interpret it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: the oldText/newText anchor-patch shape, operation defaulting to 'modify', empty newText deleting, and precisely what dbPath changes (QualityProfile thresholds + default layer profile with precedence rules).
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource ('which findings would this edit INTRODUCE') with a clear noun: an advisory policy gate over a proposed change set. It also proactively rules out the confusingly-named sibling by declaring 'apply_change_set is out of scope', so an agent can separate the preview from the write.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to ask BEFORE writing, names the cheapest form (anchor patch) versus the full-text form required for add/delete, and rules out apply_change_set. It stops short of naming which sibling to use instead for the adjacent 'what will my change impact' question, so selection against impact_of_change/review_context is left implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
explain_symbolExplain a SymbolARead-onlyIdempotent
Explain a symbol: its source PLUS a chosen environment, as ONE dense AI-Builder-Markdown slice - the cold-read in a single call instead of 4-6 (get_context + find_usages + find_implementations + find_tests_for + ...). 'include' selects the environment axes (any combination): callers (the members that reference it, with their bodies, and their owner types as structure - not the calling types whole), callees (what it calls/depends on, depth 1), implementations (the types implementing it, if it's an interface), tests (its covering test cases), siblings (naming/file-convention kin), quality (complexity / efferent-coupling hotspot metrics). A partial type renders as ONE block per project it is compiled into (its declaration fragments are folded, a leading comment says which files) instead of one identical block per file; a file compiled into several projects whose block reads the same in each renders once, naming them. An empty include returns just the symbol's source - and then the manifest names the axes you could have asked for, so that answer is a stated choice rather than a silent default; an include token that names no axis is reported as dropped, whether or not a sibling token was valid. A leading manifest comment discloses what each merge axis actually found - so '(none)' is an honest negative (no impl / no caller / no test), not 'not asked' - unless its 'run:' segment says the analysis run was incomplete. Pass a type or method simple name (use find_symbol to disambiguate). Recall-safe (reads persisted facts); prefer it over export_markdown for one symbol's world. Multi-TFM solutions are deduplicated to one logical project per name (NEWEST TFM's instance, matching find_symbol's view).
| Name | Required | Description | Default |
|---|---|---|---|
| lean | No | Lean slice (default TRUE): drop the <AI_CONTEXT_SPEC>/<AI_CONTEXT_META> format-rules preamble and omit enabled-but-empty graph sections. Set false for the full AI-Builder-MD document with the format contract. | |
| budget | No | Optional token budget (floored at 8000). Compacts/drops method bodies and, when the neighborhood overflows, drops the least-relevant types. The center symbol is always kept - with its full source when that fits, otherwise as STRUCTURE (identity, members, every method signature) plus a leading note that names the measured size of the full-code render and the budget that would hold it, so a 2000-line type under budget:8000 costs ~2000 tokens, not ~24000. The bundled environment (callers / tests / siblings / implementations) is BUDGET-BOUND - under a tight budget it is dropped to fit (a leading comment names the drops so you can ask for one by name). Omitted, the slice still renders against a ceiling (the active MCP profile's token budget, else a ~10000-token default budget) that bounds the merged environment - relevant above all with include=["callees"], whose outward neighborhood is the widest slice this server produces. | |
| symbol | Yes | The type or method simple name to center on (use find_symbol to disambiguate), or the qualified Type.Member form to focus ONE declaration of a shared method name - the same string find_usages / find_tests_for / impact_of_change resolve. A bare name that matches several declarations seeds them all (a whole family can then be budget-capped), and the manifest says so and names the qualified form. | |
| include | No | Which environment axes to include (any combination, case-insensitive): callers, callees, implementations, tests, siblings, quality. Empty/omitted = just the symbol's source. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantially beyond them: manifest comments distinguishing '(none)' honest negatives from 'not asked', a 'run:' segment flagging incomplete analysis, dropped unknown include tokens being reported, per-project block folding and multi-TFM dedup. It also discloses budget-driven dropping and that the center symbol degrades to STRUCTURE rather than vanishing — exactly the behavior an agent needs to interpret output.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core contract, and nearly every sentence carries new information (axis semantics, manifest honesty, dedup rules). It is nonetheless a single very long paragraph with no structural breaks, and the trailing multi-TFM dedup sentence is the weakest-value item given find_symbol parity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the full burden and does so: it describes the return artifact, the manifest preamble, the lean-vs-full document difference, and how truncation appears in the output. Nothing an agent needs to call it correctly or interpret the result is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining cross-parameter behavior the schema does not — that an empty include returns source only and the manifest names the available axes, that invalid include tokens are reported as dropped, and that a bare symbol name seeds all matching declarations and can be budget-capped. It largely restates the budget and lean semantics already fully documented in the schema, which keeps it from a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('Explain a symbol: its source PLUS a chosen environment') and immediately defines the output artifact (one dense AI-Builder-Markdown slice). It explicitly distinguishes itself from the composite alternative ('instead of 4-6: get_context + find_usages + find_implementations + find_tests_for') and from export_markdown/find_symbol, so an agent can place it among siblings without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States when to use it (the cold-read in a single call, one symbol's world), when to use something else ('use find_symbol to disambiguate', 'prefer it over export_markdown for one symbol's world'), and what an empty 'include' means. The 'prefer it over' clause plus the named alternatives covers both directions of routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
export_markdownExport Solution as MarkdownADestructiveIdempotent
Render the cached analysis of a session as AI-Builder Markdown. No re-analysis - instant. NOTE: this renders the WHOLE solution - on a large codebase that is many megabytes, and an answer over the server's message ceiling (16,000,000 bytes as JSON unless AICB_MCP_MAX_RESPONSE_BYTES says otherwise) is not sent: the call is refused with its size, because MCP clients drop larger messages. Pass outputPath for anything but a small solution. For a bounded view prefer architecture_overview (whole-solution orientation, structural-only, no per-type source) or get_context / explain_symbol (one symbol's world). When the server has a config DB (the default: a plain 'aicb mcp' resolves the standard one), the active MCP profile drives the render: the chosen facet's template (detail presets, graphs, line numbers, quality metrics) is used; otherwise the full default render is used. Returns the Markdown; if outputPath is given it writes the file and returns a short confirmation (not the full content), so a large render does not flood the response.
| Name | Required | Description | Default |
|---|---|---|---|
| facet | No | Optional facet to render through - the task axis of this call: General (default), Exploration, Refactoring, Debugging, Review, Testing, Documentation, Architecture, or Performance. The facet picks the active MCP profile's matching template and appends a short work-style trailer with suggested next tools. Unknown/empty falls back to General; a facet whose slot has no template assigned falls back to the active context template. (The former name 'slot' is still accepted.) | |
| format | No | Optional inner notation of the rendered Markdown: 'tag' (the established AI-Builder tag format) or 'yaml' (idiomatic YAML - a lossless re-notation, not a different selection of content). Pick whichever notation you parse more reliably. When given, this explicit value wins; when omitted, the active MCP profile's OutputFormat is used (profile-aware path), else yaml (the DB-free default). The .md branding is unchanged. Any other value counts as omitted: the profile's format (else yaml) applies, and the response starts with a note naming the ignored value. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| outputPath | No | Optional absolute path to write the Markdown to (UTF-8, no BOM). When given, the tool writes the file and returns a short confirmation (path + size) instead of the full markdown - so a large (whole-solution) render does not flood the response. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnlyHint=false, destructiveHint=true, and idempotentHint=true, so the write profile is already partly known; the description still adds real value by disclosing the 16,000,000-byte response ceiling, the refusal-with-size behavior, the profile-driven rendering path, and the file-vs-inline return difference. The main gap is that it never warns that writing outputPath overwrites an existing file, which is exactly the behavior destructiveHint=true implies.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is front-loaded with purpose before constraints, and the long size-ceiling and profile-fallback sentences each carry operational information. It is on the verbose side and could be tightened, but nothing is pure filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description correctly explains return values (Markdown content vs a short confirmation when outputPath is set) and covers defaults, fallbacks, size limits, and alternatives. Only the overwrite/destructive side of writing outputPath is left implicit, which matters given destructiveHint=true.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents facet, format, sessionId, and outputPath in detail (including fallbacks and accepted path forms). The description mostly restates those semantics ('the chosen facet's template ... is used'), adding only the practical hint to use outputPath for anything but a small solution, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource ('Render the cached analysis of a session as AI-Builder Markdown') and immediately adds the distinguishing trait 'No re-analysis - instant.' It also names the sibling tools that serve adjacent needs (architecture_overview, get_context, explain_symbol), so an agent can separate this from other export/overview tools without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states explicit routing conditions: 'Pass outputPath for anything but a small solution', and 'For a bounded view prefer architecture_overview ... or get_context / explain_symbol'. When-not conditions are also covered via the size-ceiling refusal for whole-solution renders.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_binding_usagesFind XAML Binding UsagesARead-onlyIdempotent
List the {Binding ...} sites in the solution's .xaml and .axaml markup that name a member path, with what each one resolves against. find_usages carries a markup edge for a root member bound against the DataContext; this tool lists every site, redirected bindings included. find_unresolved_bindings checks whether a bound member exists on its view-model.
Use it before renaming or deleting a view-model member.
With a path: sites (view, line, path, form), siteCount, byForm, deeperSegmentSites + deeperSegmentSiteCount, pathlessBindingCount, scannedFileCount, sitesTruncated and a note. form is dataContext (no redirect), elementName, relativeSource or source. A path matches as the whole path or as its ROOT segment: 'Foo' finds {Binding Foo} and {Binding Foo.Bar}. The 'Bar' of {Binding Foo.Bar} is a member of Foo's type and is reported apart in deeperSegmentSites. On an elementName or relativeSource binding a leading 'DataContext.' is the hop to the element's view-model: {Binding DataContext.Cmd, RelativeSource=...} is a site of 'Cmd'.
Without a path: the inventory - members (member, siteCount, byForm), most-bound first, with distinctMemberCount and totalSiteCount. Lists are capped at 200; the counts are true totals. pathlessBindingCount is every binding without a plain member root (an empty {Binding}, {Binding Mode=OneWay}, an attached-property path); it counts the whole solution, whatever scope and form say.
The markup is read from disk at every call, so a markup edit needs no refresh_session. Only the {Binding} markup extension is read ({CompiledBinding} too in .axaml): a binding built in code-behind, element-syntax , {x:Bind}, {TemplateBinding} and a path assembled at runtime are invisible here - zero sites means 'verify before renaming or deleting', not proof.
Read-only; test projects are scanned too. path is a case-sensitive markup path and is not resolved as a symbol. An unknown form matches nothing, and the note says so. scope is 'solution' or a substring of the view path.
| Name | Required | Description | Default |
|---|---|---|---|
| form | No | Optional form filter: 'dataContext', 'elementName', 'relativeSource' or 'source'. Omit for all forms. Applies to both views. | |
| path | No | The exact (case-sensitive) bound member path, e.g. 'GestureLabel' or 'Foo.Bar'. Omit for the inventory view (every bound root member with its site counts). | |
| scope | No | 'solution' (default) or a view-path substring (e.g. 'AIContextBuilder.UI/Views/Dialogs') to narrow which markup files are reported. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only/idempotent/non-destructive, and the description adds substantial context beyond them: markup is re-read from disk each call so no refresh_session is needed, only the {Binding} markup extension (plus {CompiledBinding} in .axaml) is visible and code-behind/element-syntax/{x:Bind} bindings are invisible, lists are capped at 200 while counts are true totals, and test projects are scanned. This is rich disclosure well beyond the annotation set.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
It is long, but front-loaded with purpose and routing first, then output shape with/without path, then caveats, then param notes – each block carries distinct information. The final paragraph mildly restates schema content (case-sensitivity, scope values), which costs a point but does not obscure the structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 must carry the return contract, and it does: it enumerates sites/siteCount/byForm/deeperSegmentSites/pathlessBindingCount/scannedFileCount/sitesTruncated for the path view and members/distinctMemberCount/totalSiteCount for the inventory view, plus the truncation caveat. Nothing needed to invoke or interpret the tool is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema lacks: path matches the whole path or its ROOT segment ('Foo' finds {Binding Foo} and {Binding Foo.Bar}), the 'Bar' of Foo.Bar is reported separately in deeperSegmentSites, a leading 'DataContext.' on elementName/relativeSource is a hop, path is not resolved as a symbol, and an unknown form matches nothing. Some overlap with the schema's own field descriptions keeps it from a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource – listing {Binding ...} sites in the solution's .xaml/.axaml markup that name a member path. It immediately distinguishes itself from find_usages ('carries a markup edge for a root member bound against the DataContext; this tool lists every site, redirected bindings included') and find_unresolved_bindings, so an agent can select it without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It provides explicit routing rules against two named siblings and a concrete trigger: 'Use it before renaming or deleting a view-model member.' It also states when zero results are meaningful ('zero sites means verify before renaming or deleting, not proof'), which is exactly the exclusion guidance an agent needs.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_by_attributeFind Symbols by AttributeARead-onlyIdempotent
Find symbols (types, methods, properties or fields) that carry a given ATTRIBUTE - a cross-cutting query that find_symbol (name-only) cannot do. The attribute name is matched format-independently: the last name segment, with an optional 'Attribute' suffix stripped, case-insensitive. So 'Obsolete', 'ObsoleteAttribute' and 'System.ObsoleteAttribute' all match the same symbols (types store the fully-qualified attribute class, methods/properties/fields store the source-syntax name - this reconciles both). The raw stored attribute list travels with each hit so you see the ground truth. kinds = 'all' (default - types + methods + properties + fields) / 'type' / 'method' / 'property' / 'field'. Member scanning surfaces a member-level attribute like a CommunityToolkit '[ObservableProperty]' (on a backing field or a modern partial property) or a '[JsonProperty]' that a type/method-only scan misses. Use it for '[Obsolete]', '[ApiController]', '[Authorize]', test attributes, etc. The 'method' axis includes constructors and accessors with a body (named .ctor / get_X / set_X), so a [JsonConstructor] or an [Obsolete] setter is found. A partial type is one type row; 'fullName' marks namesake type rows (Foo, Foo), 'project' the twin rows of a linked file. Deterministic from Roslyn - works on recalled sessions. Capped at 200.
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Which symbol kinds to search: 'all' (default - types + methods + properties + fields), 'type', 'method', 'property', or 'field'. | all |
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.Api') to narrow scope. | solution |
| attribute | Yes | The attribute to find (e.g. 'Obsolete', 'ApiController', 'Fact'). Suffix/namespace are normalized away - required. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
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 by structured data. The description still adds real context the annotations cannot: deterministic Roslyn resolution, works on recalled sessions, and a hard cap of 200 results. Baseline 3 is appropriate since the added value is moderate rather than deep.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and scoping constraint are front-loaded, but the middle is dense and repetitive: the kinds values are re-listed even though the schema enumerates them, and attribute examples appear twice ('[Obsolete]', '[ApiController]'). Several clauses about partial types and linked-file twins feel like output detail packed into a sentence that reads as run-on.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, yet the description explains what comes back: the raw stored attribute list travels with each hit, 'fullName' marks namesake type rows and 'project' the twin rows of a linked file, plus the 200-item cap. An agent has enough to call it and interpret the response without guessing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline would be 3, but the description goes further by spelling out the attribute-name normalization ('Obsolete', 'ObsoleteAttribute', 'System.ObsoleteAttribute' all match) and clarifying that the 'method' axis includes constructors and accessors named .ctor/get_X/set_X. Those semantics are not derivable from the schema alone. The kinds enumeration is largely duplicated from the schema, which keeps it from a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
A specific verb plus resource ('Find symbols ... that carry a given ATTRIBUTE') and an explicit contrast with the sibling find_symbol ('a cross-cutting query that find_symbol (name-only) cannot do'). An agent can distinguish it from find_symbol and find_by_semantics without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States when to reach for it and names the alternative it replaces: find_symbol is name-only, this one is attribute-based. Concrete triggers are supplied ('[Obsolete]', '[ApiController]', '[Authorize]', test attributes, '[ObservableProperty]', '[JsonProperty]') and it explains why member scanning is needed when a type/method-only scan misses attributes.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_by_event_subscriptionFind Event SubscriptionsARead-onlyIdempotent
Find the TYPES that subscribe to a C# event: a '+=' whose left side resolves to an event, anywhere in the type; external events too ('Button.Click'). find_usages on a solution-declared event lists its (un)subscribing and raising METHODS.
Use it for 'who listens to this event?', where handlers are wired, and as a leak hint. A '+=' on a number, string or delegate field is no subscription and is skipped. XAML-wired handlers (Click="OnClick") are 'markupWires' (handler, viewCount, views), owe no '-=', are never 'unreleased'; no event is recorded with them, so eventName cannot match them.
Returns scope, event, typesScanned, subscriptionSitesChecked, subscriptionSitesUnresolved, matches (at most 200 types: name, namespace, events, unreleased, markupWires; sorted by namespace, name) and when they apply 'note', availableEvents, testMatchesFiltered. A partial type is one row ('files' when spread over several); 'fullName' marks namesakes, 'project' linked-file twins. A hit lists ALL event keys ('DeclaringType.EventName') the type subscribes to.
'unreleased' lists each subscription no '-=' of the type removes ('Event <- Handler'). A '-=' counts for the same event AND the same handler on ANY receiver, so an old/new swap reads released; a lambda never matches, so a lambda subscription is always listed; a subscription to an object the type owns is listed although it cannot outlive it. [] means each has a matching '-='; no list means not measured (see the note). A place to look, not a proven leak.
Reading an empty answer: availableEvents lists the events subscribed in scope; read testMatchesFiltered first if present. An EMPTY availableEvents means none was RECORDED - recognition needs a resolved left side. The site counts settle it: '0 of 0' is nothing to see, '0 of 7, 0 unresolved' a real absence, '0 of 7, 7 unresolved' an unmeasured scope.
Read-only; works on a recalled session. eventName matches exactly, never as a substring; omit it for every subscribing type. Test-project types are excluded unless includeTests=true.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.UI') to narrow scope. | solution |
| eventName | No | Filter to types subscribing to this event - the event name ('Click') or the qualified 'DeclaringType.EventName' key ('Button.Click'), case-insensitive. Omit to list every type with any subscription. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test-project types (default false - production focus; test setup that wires events would drown the signal). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent and non-destructive, but the description goes well beyond them: it explains skipped '+=' cases, XAML markupWires, 'unreleased' semantics, partial types, name collisions, and how empty results should be interpreted. This is unusually rich behavioral context for a read-only analyzer tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long, but it is front-loaded with purpose and use cases and then organized into return-value, edge-case, and empty-result sections. Given the complexity and absence of an output schema, most detail earns its place, though some sentences are dense enough to verge on over-specification.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the full burden of explaining return fields, match limits, sorting, edge cases like markupWires, and how to interpret empty and unresolved results. It is complete enough for an agent to invoke and interpret the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema carries most parameter documentation. The description still adds meaningful semantics, especially that eventName matches exactly and never as a substring, and reinforces test-project exclusion behavior beyond the schema's default-value explanation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: find the TYPES that subscribe to a C# event. It distinguishes itself explicitly from find_usages on solution-declared events, so an agent can route between them without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete when-to-use cases: 'who listens to this event?', where handlers are wired, and as a leak hint. It also names the alternative behavior of find_usages on solution-declared events and explains how to read empty results, leaving little to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_by_semanticsFind Symbols by Layer, Role or DomainARead-onlyIdempotent
Find types and methods by their resolved semantics: layer, role, domain, responsibility. Filters combine with AND, and each hit names where a matched value came from.
Use it for 'which types of layer X carry role Y?'. At least one filter is required.
layer and role match the WHOLE value, case-insensitively: role='View' is one view, not every ViewModel. Values that merely contain the query are counted in nearMisses (axis, value, symbols) and named in a leading 'note', never listed as matches. domain and responsibility are free text and match as a case-insensitive substring; responsibility exists on types only, so setting it matches no method. The echoed criteria show the mode ('role=View' vs 'domain~order').
Returns criteria, a 'note' when there are near misses, minConfidence, matches - at most 200 items (kind, name, declaringType, namespace, matched), types first - and when they apply availableAxisValues, unclassifiedAxes, verifiedAbsentAxes and nearMisses. matched lists per filtered axis the field, the value and its source: 'fact', 'ai', 'inferred' or 'none'.
The layer and role values the built-in inference assigns are listed on those parameters; there is no 'Repository' role and an enum gets none. A layer profile or an annotation adds values in its own spelling ('viewmodel-item' beside 'ViewModel'). Nothing infers a domain: that axis matches only where an annotation set one.
On zero matches availableAxisValues lists, for the queried axes, the values present under the same minConfidence (up to 50 per axis). A queried axis no symbol carries a value on at that confidence (so nothing can match it here) is in verifiedAbsentAxes when every symbol declares it 'none' via , otherwise (only some declare it, or no symbol does) in unclassifiedAxes. A queried value missing from availableAxisValues is unknown at that confidence; if it is listed there, the AND of your filters was empty. An axis you did not query is in no list.
Read-only; test-project symbols are matched like production ones.
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Match symbols whose resolved Role EQUALS this (whole value, case-insensitive). Inferred TYPE roles: Service, Helper, Model, Record, Interface, Builder, ViewModel, Converter, Controller, Middleware, Attribute, Exception, EntryPoint, ContractModel, Type - there is NO 'Repository' (a repository class is mostly 'Service'), and an enum gets no role. Methods use a category role (e.g. Query, Command, Mapping, Validation, Orchestration). <ai>-asserted roles add values of their own. Omit to not filter on role. | |
| layer | No | Match symbols whose resolved Layer EQUALS this (whole value, case-insensitive). The built-in inference assigns Domain / Application / Infrastructure / Presentation / Contracts; a layer profile adds its own names. Omit to not filter on layer. | |
| domain | No | Match symbols whose resolved Domain contains this (free text, set by an <ai> annotation - nothing infers it). Omit to not filter on domain. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| minConfidence | No | Confidence floor: 'any' (default - include inferred guesses) or 'asserted' (only fact/ai). Any other value is rejected (not silently treated as 'any'). | any |
| responsibility | No | Match TYPES whose resolved Responsibility contains this (types only; free text). Omit to not filter. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only cover the safety profile (read-only, idempotent, closed-world), and the description adds substantial behavior beyond that: AND combination of filters, whole-value vs substring matching per axis, a 200-item cap with types ordered first, nearMisses surfacing instead of matches, and the zero-match diagnostic logic distinguishing verifiedAbsentAxes from unclassifiedAxes by minConfidence. It also discloses that test-project symbols are matched like production ones, which annotations do not cover.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose and the one-filter requirement are front-loaded, and the dense diagnostic paragraphs are justified by the tool's complexity and the absence of an output schema. There is some redundancy, such as restating that domain and responsibility are case-insensitive substrings (already in the schema) and a meta-sentence pointing the reader at the parameter lists rather than stating the values.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the full burden of describing the return payload (criteria, note, minConfidence, matches with kind/name/declaringType/namespace/matched, plus the conditional diagnostic lists), and it does so completely. It also covers the failure-mode semantics an agent needs to interpret an empty result, which is the main risk for a filter tool of this kind.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description goes beyond it by explaining how filters compose (AND), how matched values are attributed per axis with a source ('fact', 'ai', 'inferred', 'none'), and how the echoed criteria encode the match mode ('role=View' vs 'domain~order'). It also clarifies that the enumerated layer/role values live on the parameters themselves and that <ai>-asserted values add their own spellings, which resolves ambiguity the schema alone leaves open.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description opens with a specific verb and resource ('Find types and methods by their resolved semantics') and enumerates the four axes (layer, role, domain, responsibility), which clearly separates it from attribute- or side-effect-based siblings. It stops short of naming an alternative tool such as find_by_attribute or find_symbol, so an agent must infer the routing from the axis names alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives a concrete use case ('which types of layer X carry role Y?') and a hard precondition ('At least one filter is required'), plus per-axis guidance on when an axis can never match (responsibility on methods, domain without an <ai> annotation). It does not say when to prefer a sibling tool or what to do if the result is empty beyond interpreting the diagnostic lists.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_by_side_effectsFind Methods by Side EffectsARead-onlyIdempotent
Find code by its side-effect profile: what a method touches in the outside world. Each unit carries effect tokens from a closed set - io, network, database, serialization, logging, cache, messaging, unknown ('unknown' = an external call the analysis could not classify) - or none, which makes it pure. calls_external lists the external calls and property accesses behind a token; an effect that comes from a 'new X()' or is inherited from a callee has no row there.
Use it for 'what hits the database or the network?' and to find pure methods. Effects are propagated along calls and creations: calling a method or building an object that writes a file counts as 'io'.
With neither effect nor purity, only impure units are listed. An effect or purity outside its vocabulary, or effect with purity='pure', is rejected with the valid values, never answered with a silent zero.
Returns scope, effect, purity, methodsScanned, matches - a capped envelope of at most 200 hits (name, declaringType, namespace, effects) - and when they apply 'note', availableEffects, methodsScannedNote and testMatchesFiltered. The units are methods plus every accessor and constructor with a body, under their metadata names (get_X, set_X, .ctor, .cctor), and, unscoped, each top-level-statement file ('Program.cs (top-level)'); the purity='pure' listing is methods-only. A hit does not say which of its effects are direct and which inherited.
On zero matches availableEffects lists the tokens present in scope, so an empty result reads 'valid token, nothing in scope records it'; the note quotes what the token means ('cache' = an external cache API, not an in-memory cache); it is omitted when nothing was scanned. A 'note' leads the answer when a project's core references did not resolve: an unresolved run reports methods as PURE that are not.
Read-only; works on a recalled session. Test-project code is excluded by default (includeTests=true includes it); testMatchesFiltered counts what the filter removed, units methodsScanned does not include.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.Infrastructure') to narrow scope. | solution |
| effect | No | Filter to methods carrying this effect token - exactly one of: io, network, database, serialization, logging, cache, messaging, unknown (case-insensitive; any other value is rejected, not answered with zero). Omit to not filter on a specific effect. | |
| purity | No | 'any' (default), 'pure' (only side-effect-free methods), or 'impure' (only methods with at least one effect). | any |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test-project methods (default false - production focus: a 'what hits the DB?' query is otherwise drowned by Seed*/Migrate_*/*RepositoryTests). Set true to also list the methods of test projects. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes well beyond the readOnly/idempotent annotations: effect propagation along calls and constructions, the 200-hit cap, methods-only purity listing, unresolved core references causing false PURE reports, test exclusion by default, and rejection of out-of-vocabulary tokens rather than silent zeros. These are exactly the failure modes an agent needs warned about.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose is front-loaded and every sentence carries information, but the middle paragraphs are dense and nested, with heavy self-quoting ('an empty result reads ...'). Slightly compressed phrasing would improve scanability on a tool an agent may call repeatedly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, yet the description enumerates the return envelope (scope, effect, purity, methodsScanned, matches, note, availableEffects, testMatchesFiltered) and explains how to read a zero-match result. For a 5-parameter analysis tool this is complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3; the description adds real meaning on top by defining what 'unknown' denotes, clarifying that purity='pure' listing is methods-only, and noting that effect combined with purity='pure' is rejected. The includeTests rationale (Seed*/Migrate_* drowning a DB query) also clarifies intent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: find code by its side-effect profile, with the closed token vocabulary spelled out. An agent can distinguish this from find_by_semantics, find_usages or calls_external without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete query intents ('what hits the database or the network?', finding pure methods) and explains the default behavior when neither effect nor purity is supplied. It stops short of explicitly naming a sibling tool to use instead, which keeps it from a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_dead_codeFind Dead CodeARead-onlyIdempotent
List dead-code suspects on two axes. kinds='type': types with no incoming reference in the reverse type fan-in, the source find_usages reads. kinds='method' (the default): PRIVATE methods whose recorded caller list is empty. kinds='all': both.
The default axis skips a private method a framework may call ([RelayCommand] or other framework attributes, partial methods, markup or designer event handlers, static Main, record PrintMembers, ShouldSerialize/Reset) or whose callers were not measured (unresolved references, explicit interface implementations). A nameof in a method's attribute (CanExecute) is a call. *.Designer.cs and *.g.cs files are read for references, never judged.
Returns scope, a 'note' first when there is one, methodsScanned, deadMethods and - when the type axis ran - typesScanned and deadTypes: at most 200 items each (methods: name, declaringType, namespace; types: name, kind, accessibility, namespace, and publicApi:true on a library's public type: outside consumers go unseen, see publicApiNote). Counters, each omitted at zero: what was not judged - methodsIneligible and typesIneligible, each split by reason (methodsIneligibleNotPrivate, -FrameworkInvoked, -UnanalyzedCallers; typesIneligibleStructural, -TestScaffolding, -FrameworkActivated, -MarkupReferenced), typesUnexamined (what the type axis would have judged had it run) - and the candidates the test filter removed, testMethodsFiltered and testTypesFiltered.
A listed candidate is a suspect: the note names what a zero fan-in does not prove and how to confirm one. The type axis exempts what it cannot see being used: interfaces, static classes, *Extensions types, test scaffolding, framework- or reflection-activated and markup-referenced types. An empty answer without a note means at least one axis judged an eligible population and found nothing; for the method axis read methodsIneligible against methodsScanned.
Read-only; works on a recalled session. Test projects are excluded by default. Any other non-blank kinds value runs both axes.
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | 'method' (default): private methods with a measured, empty caller list - see the description for what that axis does not judge; 'type': types with no incoming reference; 'all': both. | method |
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.Core') to narrow scope. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test-project methods/types (default false - production dead-code; a private test-helper without callers is not production dead code). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only/idempotent/closed-world, and the description still adds substantial behavior beyond them: what the default axis deliberately skips (framework attributes, partial methods, Main, PrintMembers), that nameof in an attribute counts as a call, that designer/generated files are read but never judged, the 200-item cap, and the meaning of the counters and publicApi. Nothing about how the tool behaves is left implicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The opening sentence is well front-loaded, but the body is a dense, run-on block with stacked parentheticals and enumerations that repeat schema-level facts (the kinds values are already described in the schema). For a four-parameter tool it is overlong and visually unstructured, even though most sentences carry genuine detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, yet the description enumerates the return shape (scope, note, methodsScanned, deadMethods, typesScanned/deadTypes, eligibility counters) and explains the zero-omission rule. Combined with the disclosed exclusion rules and the empty-answer interpretation, an agent has everything needed to call and interpret the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real semantics: the precise inclusion criteria behind kinds='method', the fact that an unrecognized kinds value falls back to both axes (a behavior not visible in the schema), and the intent of scope and includeTests. That is meaningful added meaning on top of the schema rather than duplication.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a concrete verb+resource ('List dead-code suspects') and immediately partitions the resource into two named axes with their own definitions. It also positions itself relative to the sibling it consumes ('the reverse type fan-in, the source find_usages reads'), so an agent knows what it is and how it relates to neighboring tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit selection guidance for the main knob: kinds='method' is the default, kinds='type' runs the other axis, kinds='all' runs both, and any other non-blank value runs both. It also explains the empty-result semantics and how to confirm a suspect. It stops short of saying when to prefer this tool over siblings like coverage_gaps or impact_of_change, so it is strong context without full alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_implementationsFind ImplementationsARead-onlyIdempotent
List the types that implement an interface, in the solution or external (IDisposable). The interface counterpart to get_type_hierarchy (classes) and find_overrides.
Use it before changing an interface member, to find every type that must follow.
Returns items [{name, isAbstract (absent on interfaces and unknown kinds), kind, isTestProject, namespace, declaration, via, closes, through}], count, totalFound, truncated - at most 100, items without via first, then by name. 'declaration' is a generic implementer's arity form ('PolicyWrap'); via:'back-edge' = known only from the interface's implementer list, 'inherited' = through a solution base class or interface, 'derived-interface' = an interface extending it (implements nothing). 'closes' = the type arguments closing a generic interface, through bases too ('ContentSavedNotification'; an open generic names its own type parameter); 'through' = the base or interface it comes through. Absent when empty or unreadable.
A closed query ('IHandler') keeps the types closing it with those arguments; typeArgumentFilter counts the others closing it otherwise (otherClosings) or only over their own type parameters (openClosings). typeArgumentBase keeps the types closing it with an argument that is, derives from or implements that type ('DeletedNotification'); typeArgumentBaseFilter gives familyTypes and leftOut. An unreadable closing stays, marked closing:'unresolved'.
Test-project implementers are excluded by default; testImplementationsFiltered counts them (absent = none).
An empty answer carries a 'hint' when the name is not an interface or no indexed type carries it (a did-you-mean if one is close), and a 'generatedCodeNote' when a generator that did not run may have added it. A leading 'note' marks the inventory partial when a project's core references did not resolve (restore or build, then refresh_session).
Read-only. interfaceName is the simple name, case-sensitive. Two interfaces sharing a simple name answer as one list.
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include test-project implementers (default false - production focus). | |
| interfaceName | Yes | The interface's simple name, e.g. 'ICodeAnalyzer'. An arity suffix ('IConsumer`1' / 'IConsumer<T>', or 'IConsumer`0' for the non-generic namesake) filters to that arity; a bare name keeps the merged view of every arity. A concrete type argument ('IConsumer<OrderPlaced>') keeps only the types that close it with that argument. | |
| typeArgumentBase | No | Optional: keep only the types that close the generic interface with a type argument that is this type or derives from or implements it - a simple name, case-sensitive, with an arity suffix for a generic ('DeletedNotification<T>', 'ICancelableNotification'). Only solution types form the family; when none matches, typeArgumentBaseFilter carries a note. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover read-only/idempotent/closed-world, and the description adds substantial behavior beyond them: a hard cap of 100 items with a 'truncated' flag, deterministic ordering ('items without via first, then by name'), test implementers excluded by default with a counter, partial-inventory 'note' when core references fail to resolve, and generator hints on empty results. These are exactly the traits an agent needs to interpret results correctly.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose and the 'use before changing an interface member' line are properly front-loaded, but the middle is a very dense wall of quoted field names and run-on clauses ('via', 'closes', 'through', 'closing') that is hard to parse in one pass. Most content earns its place because there is no output schema, but the packaging could be far tighter.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-shape burden and does so thoroughly — item fields, ordering, truncation, filter result fields, empty-result hints, and partial-inventory caveats are all covered. Nothing an agent needs to call this correctly or interpret its output is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3; the description still adds meaning on top: interfaceName is case-sensitive, an unreadable closing returns as closing:'unresolved', and the filter outputs (typeArgumentFilter/typeArgumentBaseFilter producing otherClosings, openClosings, familyTypes, leftOut) are explained with examples. The value is real but overlaps the already-detailed schema in places.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List the types that implement an interface') plus scope (solution or external, e.g. IDisposable), and explicitly positions itself against named siblings: the interface counterpart to get_type_hierarchy and find_overrides. An agent can pick the right one without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives a concrete trigger — 'Use it before changing an interface member, to find every type that must follow' — and names the sibling alternatives for class hierarchies and overrides. It does not state when *not* to use it (e.g. for finding call sites, use find_usages), so it stops short of full routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_overridesFind OverridesARead-onlyIdempotent
List the override-to-base relationships for methods of a given name - the class-inheritance counterpart to find_implementations (which covers interfaces). Each row pairs an overriding method with the nearest ancestor in its base-class chain that declares the virtual/abstract method it overrides: 'Derived.M(params) overrides Base'.
One call answers both 'who overrides this virtual/abstract method?' (impact, before you change a base method) and 'what does this override?' (comprehension). For a type's base and derived types use get_type_hierarchy; for the callers of a method use find_usages.
Returns a capped envelope: items (the rows, sorted), count, totalFound, truncated - at most 100 rows. Empty items means no method of that name is an override. When the overridden base is a BCL/framework virtual outside the solution (object.ToString, Stream.Dispose) the row reads '... overrides (external base)'.
Types render in their DECLARATION FORM ('Strategy.M(...) overrides ResilienceStrategy', the render get_type_hierarchy uses), so a generic and a non-generic namesake stay separate rows. A row carries no namespace: two same-named types that differ only by namespace collapse into one row, so read a row as the relationship, not as one attributed type; 'mergedNamesakes' names each such row and its types.
Read-only: it reads persisted facts and also works on a recalled session. Parameters: a qualified methodName ('Widget.ToString') matches nothing. There is no type filter, and each overload is a row of its own. An empty answer carries 'nearest' when a close declared method name exists - for a qualified methodName the bare method name.
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| methodName | Yes | The method's exact (case-sensitive) simple name, e.g. 'ToString' or 'Dispose'. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already carry the full safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real behavior beyond that: a hard 100-row cap with a truncated flag, external-BCL bases rendering as '(external base)', declaration-form rendering, and namespace-based row collapsing via mergedNamesakes. It does not mention auth or rate limits, but for a read-only query tool the added result-shaping behavior is substantial.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose, then use cases, then alternatives, then return shape - a sensible order with little padding. It runs long for a 2-parameter tool and the final sentence about 'nearest' in empty answers is dense, but each sentence carries distinct information rather than restating structured fields.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description carries the return-shape burden and does so: it names the envelope fields (items, count, totalFound, truncated), the row format, the 100-row cap, the empty-items meaning, and the empty-answer 'nearest' hint. Edge cases (external bases, merged namesakes, qualified names) are all covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds meaning the schema lacks: a qualified name like 'Widget.ToString' matches nothing (schema only says 'simple name'), there is no type filter, and each overload is its own row. It also clarifies that sessionId accepts a recalled session. These are genuine usage constraints beyond the field docs.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List the override-to-base relationships for methods of a given name') and immediately distinguishes itself from the closest sibling by naming find_implementations and the axis of difference (class inheritance vs interfaces). An agent can tell this apart from interface-implementation and hierarchy tools without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use framings ('who overrides this virtual/abstract method?' before changing a base method; 'what does this override?' for comprehension) and routes to two named alternatives with conditions: get_type_hierarchy for base/derived types and find_usages for callers. Nothing is left to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_resource_usagesFind XAML Resource UsagesARead-onlyIdempotent
Resource-key fan-in across the solution's XAML/AXAML markup AND its C# sources - the question the C# symbol graph cannot answer because resources are wired by string key, not by symbol. With a key: where it is DEFINED (x:Key, file:line), every REFERENCE (file:line + kind: 'static'/'dynamic' for the markup extension, since a theme-swapped brush must be dynamic; 'theme' for WinUI's {ThemeResource}; 'code' for a C# string literal equal to the key; 'callerMemberName' for a C# member named like the key that reads it through a [CallerMemberName] resource accessor), and same-file duplicate definitions (in a compiled resource dictionary a duplicate silently shadows a neighboring key; a same-named key in DIFFERENT files is usually a theme pair, so only same-file counts as a collision). themeReferenceCount and callerMemberNameReferenceCount appear only when not zero. Without a key: the audit view - every never-referenced key (deletion candidates; deleting a still-referenced key compiles clean and throws only at runtime) + all same-file collisions + every referenced key no markup defines: misspelledKeyCandidates (one slip from a defined key) and notDefinedInSolutionKeys (most often a theme's or the platform's key - unknown, not broken). Reads the CURRENT .xaml/.axaml/.cs files on disk (bin/obj/.vs excluded) - never stale after an edit, no refresh_session needed, works on recalled sessions. STRING keys only (a structural x:Key="{x:Type ...}" is out of scope); the ResourceKey= long form, the element and a markup extension the solution derives from StaticResourceExtension/DynamicResourceExtension are read. XML-commented markup is ignored. Still invisible: a key assembled at runtime, a non-.cs source, a resource-extension subclass from a referenced library, a library template resolving the key from its own dll - zero references means 'verify before deleting', not proof. Lists capped at 200.
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The exact (case-sensitive) resource key, e.g. 'TextPrimaryBrush'. Omit for the audit view (never-referenced keys, same-file collisions, keys no markup defines). | |
| scope | No | 'solution' (default) or a view-path substring (e.g. 'AIContextBuilder.UI/') to narrow which files are reported. In the audit view the scope narrows the DEFINITIONS under audit; references still count solution-wide, so a key referenced outside the scope is not a false orphan. For the keys no markup defines it is the other way round: the scope narrows the REFERENCES under audit, and a definition anywhere in the solution counts. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the readOnly/idempotent annotations, the description discloses important behavior: it reads current files on disk, excludes bin/obj/.vs, works on recalled sessions without refresh_session, only handles string keys, ignores XML-commented markup, and caps lists at 200. It also explains collision semantics and caveats around runtime-assembled keys and library templates, which is unusually rich context for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with purpose and modes, but it is extremely dense and long, with several run-on clauses covering edge cases and limitations. Much of the detail is useful, yet the lack of structure and the sheer volume make it harder to scan than necessary.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given a complex tool with no output schema, the description covers the return shape well: definitions with file:line, reference kinds, duplicate handling, conditional count fields, and the full audit-view categories. It also states major limitations and what remains invisible, making it complete enough for an agent to invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the input schema already documents key, scope, and sessionId semantics thoroughly. The description reinforces the key/no-key distinction and scope behavior but adds little parameter syntax or format detail beyond what the schema already provides, so the baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb and resource: resource-key fan-in across XAML/AXAML markup and C# sources. It explicitly distinguishes the tool from the C# symbol graph by explaining that XAML resources are wired by string key rather than symbol, so an agent can immediately tell what this tool covers that find_usages does not.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It clearly defines two modes: passing a key to get definitions/references, and omitting it for an audit view of never-referenced keys, collisions, and undefined keys. It also gives strong context about when zero references should be treated as 'verify before deleting.' It does not explicitly name sibling tools like find_usages or find_binding_usages as alternatives, which keeps it from a 5.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_symbolFind a Symbol by NameARead-onlyIdempotent
Find types, methods, properties, fields, events, enum members and operators whose name contains the query (case-insensitive). Returns each match with kind ('type'/'method'/'property'/'field'/'event'/'enum_member'/'operator'), name, declaring type, namespace, a signature, and 'project' where two hits would read alike. Use this to locate a symbol before find_usages / call_graph / get_context - every kind listed here is one find_usages / impact_of_change resolve, an operator by its metadata name with its uses (a == b, a cast, an implicit conversion) as the fan-in. Types are listed first, then methods, then properties (handwritten + source-generated - a generated property carries a '// source-generated' note in its signature), then fields, events and enum members (an enum member's signature is its qualified Enum.Member form, the string the fan-in tools take), then user-defined operators + conversions. A user-defined operator is found by its METADATA name (query 'op_Equality' / 'op_Addition' / 'op_Implicit'; 'op_' lists them all). Not indexed, so an empty answer is expected for them: local variables, parameters, labels, namespaces, and C# generated into obj/ that carries real declarations (protobuf/Grpc.Tools, T4, Refit), and a Blazor component written only in a .razor file - a zero-hit answer says which in 'generatedSourcesNote'. Results are ranked by match quality FIRST - exact name, then case-insensitive exact, then prefix, then substring - and only within one rank by the kind order above; an exact match is therefore never hidden by the cap behind weaker substring hits. Returns a capped envelope (items/count/totalFound/truncated), max 100 - if truncated, the exact/prefix matches are the ones you got; narrow the query (a longer substring) to see the weaker rest. If the query matches nothing, the response carries a 'nearest' suggestion - the closest declared symbol name (a likely typo/case-mismatch); a matched symbol never carries one. With no nearest either, a 'note' says a missing name is not a missing feature.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | A substring of the symbol name to search for (type, method, property, field, event, enum member or operator). | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes well past the readOnly/idempotent annotations: discloses ranking order (exact > case-insensitive exact > prefix > substring, then kind order), that the cap never hides an exact match, the 100-item cap, the items/count/totalFound/truncated envelope, the 'nearest' typo suggestion, and the 'generatedSourcesNote'/'note' fields. That is rich behavioral context an agent could not infer from annotations alone.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core purpose and the 'use before X' routing are front-loaded, but the body is a dense run-on with parenthetical stacking and some redundancy ('a generated property carries a // source-generated note' repeated thematically by the generatedSourcesNote discussion). The ordering, cap, and typo-suggestion facts earn their place; the phrasing around them does not always.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description compensates fully: it names the returned fields (kind, name, declaring type, namespace, signature, project), the envelope shape, and the auxiliary 'nearest'/'generatedSourcesNote'/'note' fields. For a 2-parameter tool with no output schema, nothing an agent needs to interpret results is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3; the description adds real query semantics beyond the schema — case-insensitive matching, and the non-obvious requirement to search user-defined operators by METADATA name ('op_Equality', 'op_' to list all), plus how enum members must be qualified. The operator naming rule is the kind of thing that would otherwise cause silent zero-hit queries.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb and an enumerated resource set ('Find types, methods, properties, fields, events, enum members and operators whose name contains the query'), then immediately distinguishes itself from find_usages / call_graph / get_context. An agent can tell exactly what class of answer to expect without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'Use this to locate a symbol before find_usages / call_graph / get_context', naming the alternatives and the ordering constraint. It also states the exclusion set (locals, parameters, labels, namespaces, obj/-generated code, .razor-only components), which is a 'when-not-to-expect-results' rule rarely stated this precisely.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_tests_forFind Tests for a SymbolARead-onlyIdempotent
Find the tests that likely cover a symbol: test methods that call it, read it, build it or are named after it. Static evidence, no coverage run (coverage_gaps asks the reverse).
Use it before changing a symbol, to see what pins it, and after, to pick tests. Only a method with a test attribute counts (default: Fact, Theory, Test, TestMethod, TestCase(Source)).
Returns items [{testType, testMethod, project, matchReason}] (+ 'testTypeFullName' where two read alike), count, totalFound, truncated (max 50), invokesTotal, dispatchTotal (omitted at 0) and an optional 'note' after the list. matchReason is one of eleven tiers, in sort order: 'invokes' (it calls the target), 'invokes-via' (through one method or constructor), 'command' (it executes the target's [RelayCommand] command), 'command-via', 'accesses' (it reads or writes the target property or field; for a type, a static one), 'accesses-via', 'constructs' (it builds the target type; type and constructor queries only), 'constructs-via', 'dispatch' (it calls an interface or abstract member the target implements; a test double may have run), 'dispatch-via' and 'name' (a guess: the test's or its class's name mentions the symbol - for Type.Member, both names). The first eight are strong; over the whole result invokesTotal counts them and dispatchTotal the contract rows, the rest are name guesses.
Evidence reaches two hops at most (the test and one method, constructor or getter it calls). The 'note' says so on an empty answer and on a non-constructor one whose strong rows are all '-via', and names other misleading cases: an undeclared name or type segment (name noise), an event or enum member (name tier only), a nested 'Outer.Inner' type, a constructor query, no strong row, contract rows, construction rows (matched by simple name), and tests left out for only reading a constant.
Read-only. symbol is case-sensitive: a type's simple name, a member name bare or as 'Type.Member' (only that type's member), or 'Type.Type' for the constructor.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The type name, or the member name - bare or in the qualified Type.Member form - to find covering tests for. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the read-only/idempotent profile, and the description adds substantial context beyond them: static analysis with no coverage run, a two-hop evidence ceiling, a 50-item truncation cap, and an explicit warning that a 'note' flags misleading cases (name noise, event/enum members, nested types, constructor queries). It even ranks the eleven matchReason tiers by reliability, which is exactly the kind of confidence calibration annotations cannot express.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and the coverage_gaps contrast are correctly front-loaded, and most content is load-bearing given there is no output schema. However, the matchReason taxonomy and the trailing caveat sentence are compressed into dense run-ons ('the rest are name guesses', the long list of misleading cases) that are hard to parse in one pass. It is information-rich but over-stuffed relative to what an agent needs before invoking.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-value burden and does so fully: field names, the truncation cap, the meaning of invokesTotal/dispatchTotal, and the conditions under which 'note' appears. Combined with 100% parameter coverage and annotations for the safety profile, nothing needed to call or interpret the tool is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline would be 3, but the description adds meaning the schema lacks: symbol matching is case-sensitive, and 'Type.Type' selects the constructor (the schema only mentions the bare and Type.Member forms). It also clarifies that 'Type.Member' scopes to that type's member only. The sessionId parameter is left to the schema, which documents it well.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('Find the tests that likely cover a symbol') and immediately enumerates the detection modes (calls it, reads it, builds it, named after it). It explicitly contrasts itself with the sibling coverage_gaps ('coverage_gaps asks the reverse'), so an agent can route between the two without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete when-to-use conditions on both sides of a change ('before changing a symbol, to see what pins it, and after, to pick tests') and names the complementary tool for the inverse question. It also states the qualifying condition for a hit ('Only a method with a test attribute counts', with the default attribute list), which prevents misuse on non-test code.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_unresolved_bindingsFind Unresolved XAML BindingsARead-onlyIdempotent
List silently broken XAML bindings: a {Binding X} whose root member does NOT exist on its confidently resolved DataContext view-model (typo, removed/renamed member, or wrong DataContext) - the defect class that NEITHER the compiler NOR render-smoke tests catch.
Use it after renaming or removing view-model members. It judges the ROOT member of a binding path only. To see where a member or a resource key is bound use find_binding_usages / find_resource_usages.
Covers WPF/WinUI .xaml (view-model via d:DesignInstance or a unique FooView->FooViewModel convention) and Avalonia .axaml ({Binding}/{CompiledBinding}, only via x:DataType). Conservative BY SKIPPING: a binding whose DataContext scope cannot be typed with certainty (ControlTemplate, any Style but the element's own inline one, runtime DataContext, keyed resources, a DataType-less template unless - WPF only - its host's ItemsSource types it), or whose view-model has an unverifiable external base, is never flagged. Source-generated ([ObservableProperty]/[RelayCommand]) and inherited members count as resolved. Two false-report classes were measured: a HierarchicalDataTemplate's own ItemsSource mis-pinned onto its content (8/8 false on MahApps.Metro, fixed), and a d:DesignInstance hint judged where code-behind sets DataContext = this (25/25 false on a ReactiveUI example; such a page is skipped). A hit is still evidence to verify at its file and line, not proof.
Returns JSON: count and unresolvedBindings (view, viewModel, member, line; one entry per site), plus markupFilesScanned and bindingSitesInMarkup from a live disk walk, which tell a clean zero from 'no markup at all'. The denominator of count: sitesJudged (root member checked on a resolved type) and sitesSkipped, by reason in sitesSkippedBy; judgementNote names any gap to bindingSitesInMarkup. Both null on a recalled session.
Read-only. The findings come from the LIVE analysis: call refresh_session after edits. A recalled DB snapshot reports none, and a 'note' says so when the session looks recalled.
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only say read-only/idempotent; the description adds the substantive behavior: conservative skip-list of untypeable DataContext scopes, what counts as resolved (source-generated, inherited), two concrete measured false-positive classes and their fixes, and the crucial caveat that a hit is evidence to verify, not proof. It also warns that recalled sessions report nothing and that refresh_session is needed after edits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loads the definition and the primary use case, and every block (scope, skip behaviour, false-positive evidence, return shape, freshness) carries distinct information. It is dense — the parenthetical skip-list and the return-shape sentence pack a lot — but nothing is filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description takes on return-value disclosure and does it well: count, unresolvedBindings fields, markupFilesScanned/bindingSitesInMarkup as a clean-zero guard, sitesJudged/sitesSkipped/sitesSkippedBy denominator, judgementNote, and nulls on a recalled session. Combined with the caveat that findings need file/line verification, an agent has what it needs to interpret results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the sole parameter's meaning (session_id from analyze_solution, or an absolute .sln/.slnx/.slnf path) is fully documented in the schema. The description adds only indirectly, via the refresh_session/live-vs-recalled guidance about session state, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a precise verb+resource (list silently broken XAML bindings), pins the exact defect class (root member absent on a confidently resolved DataContext), and explicitly distinguishes scope from the two closest siblings (find_binding_usages / find_resource_usages). An agent can tell this apart from those without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger ('use it after renaming or removing view-model members'), a scope boundary ('judges the ROOT member of a binding path only'), and names the alternative tools for the adjacent question. Also states the coverage boundary (WPF/WinUI .xaml, Avalonia .axaml via x:DataType).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_usagesFind Usages of a SymbolARead-onlyIdempotent
List who uses a symbol: its direct fan-in. impact_of_change adds the closure and risk; calls_external covers external members.
Use it before changing or deleting a symbol, not grep. What is listed depends on resolvedKind: 'type' - the types that reference it (a doc cref too, unmarked), plus markup views; 'method' - its callers, overloads unioned; 'property' or 'field' - its readers and writers; 'event' - its raisers and (un)subscribers; 'enum_member' - its references; 'operator' ('op_Equality') - its uses, casts too; 'constructor' ('Type.Type') - the type's construction and injection sites. Test users included.
Returns symbol, resolvedKind and usedBy, a capped envelope (items, count, totalFound, truncated; at most 100). An item is {name, file, line}, one per user: file is solution-relative, line where its declaration starts (not the reference); 'files' [{file, line}] for a type declared in several; absent if unknown; users sharing a name add 'fullName' (a type), 'project'. Optional members qualify it: 'note' ahead of the list (an empty or constructor answer, unresolved core references), 'namesakes' (several types share it, unioned), 'collision' (a same-named symbol of another kind, not counted), 'viaContract' + 'viaContractNote' (a qualified method's contract callers), 'selfReferences' (users of a member on its own type), 'textuallyInvisibleUsers' (users that never name it), 'nearest' (on 'not_found': a close declared name), 'resourceKeyNote' (a type markup keys: its views are in find_resource_usages).
An empty usedBy on a resolved symbol is not proof of dead code: an entry point, DI, reflection, a source generator and unrecorded markup forms leave no reference. 'not_found' is not 'undeclared': a delegate type and a qualified or nested type name answer it too; 'note' may say why.
Read-only. symbol is case-sensitive. A type takes its simple name. A member takes 'Type.Member' for one type's, or a bare name: that answers for ONE kind, the first in the order above with users, unioned over its same-named members.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The exact (case-sensitive) type, method, property, field, event, enum-member or operator (metadata) name - the qualified Type.Member form for a member - or 'Type.Type' for a type's CONSTRUCTOR (see the tool description: the answer is the type's construction/injection sites, overloads unioned). | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include users declared in test projects (default true). false lists production users only, BEFORE the 100-item cap, and 'testUsersFiltered' says how many were left out; viaContract keeps counting every caller. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only, idempotent and non-destructive, yet the description adds substantial context: results vary by resolvedKind, output is capped at 100 with truncation flags, and empty or 'not_found' answers have specific non-obvious meanings (entry points, DI, reflection, generators). It falls short of a 5 only in that a few glossary entries (e.g. 'resourceKeyNote', 'textuallyInvisibleUsers') are named without saying what the agent should do with them.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and sibling routing are front-loaded, and every paragraph carries actionable content. The middle section is very dense — a long semicolon-delimited glossary of resolvedKind values and optional members — which makes it harder to scan than it needs to be, though it is not padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 must carry the return contract, and it does: symbol/resolvedKind/usedBy, the capped envelope with items/count/totalFound/truncated, and the per-item {name, file, line} shape including the caveat that line is the declaration site. With a complex, kind-dependent result set, this level of detail is what the agent needs.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so 3 is the baseline; the description exceeds it by explaining the naming rules for `symbol` beyond the schema's phrasing — bare names answer for exactly one kind, chosen by a stated precedence and unioned across namesakes. It does not re-explain includeTests, which the schema already covers well.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence gives a specific verb and resource ('List who uses a symbol: its direct fan-in') and immediately disambiguates from the two nearest siblings: impact_of_change (closure + risk) and calls_external (external members). An agent can select it without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states the triggering situation ('before changing or deleting a symbol') and explicitly rules out the naive alternative ('not grep'). Combined with the named sibling alternatives for transitive impact and external members, the when/when-not decision is fully resolved.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_contextGet Code Context for a SymbolARead-onlyIdempotent
Return a dense, token-budgeted AI-Builder-Markdown slice of the code around a symbol: the symbol's source plus its expanded neighborhood (direct dependencies + callees, depth 1). Pass a type or method simple name (use find_symbol first to disambiguate). budget caps the output in tokens (floored at 8000); omit for full bodies. The fastest single-symbol retrieval - prefer it over export_markdown (which renders the WHOLE solution) when you only need one symbol's context. Multi-TFM solutions are deduplicated to one logical project per name, keeping the NEWEST TFM's instance (matching find_symbol's view; export_markdown keeps the unfiltered per-TFM render). Need a CHOSEN environment of one symbol (callers / tests / implementations / quality)? use explain_symbol. Bundling a whole task from a natural-language goal? use pack_for_task (read) or prepare_task (edit-ready: + covering tests & siblings).
| Name | Required | Description | Default |
|---|---|---|---|
| lean | No | Lean slice (default TRUE): drop the repeated <AI_CONTEXT_SPEC> format-rules preamble and the <AI_CONTEXT_META> block, and omit any enabled-but-empty graph section (the ones that would otherwise render just '- none'). On a focused single-symbol slice that boilerplate is >4x the actual signal. The PATH_LEGEND, COMPRESSION_LEGEND (decoding keys) and all non-empty sections are kept. Set false to get the full AI-Builder-MD document with the format contract. | |
| budget | No | Optional token budget (floored at 8000). Caps the slice TWO ways: it compacts/drops method bodies AND - when the expanded neighborhood still overflows - drops the least-relevant non-seed types entirely, ranked by closeness to the seed and in-slice fan-in. The seed itself is never dropped: it renders with its full source when that fits the budget, otherwise as STRUCTURE (identity, members, every method signature) with a leading note naming the measured size of the full-code render and the budget that holds it. A leading comment discloses how many types were dropped. Omitted, the slice still renders against a ceiling (the active MCP profile's token budget, else a ~10000-token default budget) that bounds the neighborhood; pass a value for a tighter slice. | |
| symbol | Yes | The type or method simple name to center the slice on. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeQualityMetrics | No | When true, also emit the <QUALITY_HOTSPOTS> section plus complexity=""/ce="" tag attributes for the sliced symbols (cyclomatic complexity, efferent coupling). Default false (leaner slice). Set true when reviewing code quality / picking refactor targets. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial non-obvious behavior: the 8000-token budget floor, the two-way budget compaction, that the seed is never dropped and degrades to STRUCTURE, disclosure comments for dropped types, and Multi-TFM dedup keeping the NEWEST TFM's instance.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose in the first sentence, then routing. The routing paragraph is long and slightly dense with parentheticals, but each clause carries actionable routing or behavioral information rather than filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, yet the description explains the return shape (AI-Builder-Markdown, kept legends, dropped sections, optional QUALITY_HOTSPOTS) and the constraints that govern it. Nothing an agent needs to call this correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter docs are already rich, but the description still adds decision value beyond the schema, e.g. when to pass includeQualityMetrics (reviewing quality / picking refactor targets) and the practical meaning of omitting budget versus tightening it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: returns a dense, token-budgeted Markdown slice of the code around a symbol, including its depth-1 neighborhood. It also explicitly differentiates itself from export_markdown (whole solution) and explain_symbol (chosen environment), so an agent can pick it apart from siblings without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit routing: prefer over export_markdown for a single symbol, use explain_symbol for callers/tests/implementations/quality, use pack_for_task or prepare_task for whole-task bundling. It also states the prerequisite (use find_symbol first to disambiguate).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_diagnosticsGet Compiler DiagnosticsARead-onlyIdempotent
Compiler errors and warnings without a build: every C# project of the session is compiled in memory, in seconds. list_insights reports design findings instead.
Use it after editing .cs files: refresh_session, THEN this - the diagnostics come from the session's snapshot, not from disk, and an answer known to be behind the disk leads with verdict:'stale'. After a build call refresh_session(force: true); a restore needs no force.
Returns verdict (only when stale or inconclusive), projectsScanned, errorCount, warningCount, infoCount and diagnostics: at most 200 items (id, severity, message, location, category, project), while the counts cover the full set; with errors, the default lists only them (warningsNotListed). A multi-targeted project reports a diagnostic once; #pragma-suppressed ones are excluded. No analyzer runs, the SDK's included; source generators that load do run.
Disclosures say what the counts leave out:
incompleteProjects, incompleteRatio, suppressedDiagnosticsTotal: projects whose core references did not resolve (e.g. no targeting pack). Their diagnostics are counted, not listed. Read that total as a MAGNITUDE, not as one half of a ratio with errorCount. verdict:'inconclusive' + reliable:false fire only when a strict majority of projects is incomplete.
cascadeFromIncomplete:true on an item: inherited from an incomplete project.
generatedCodeGaps: code a source generator or the WPF markup compiler writes is missing.
designTimeBuildFailures: MSBuild reported a failure loading a project (a warning reads alike); its compiler options may be incomplete.
suppressors: references whose DiagnosticSuppressors a real build runs (see runSuppressors).
Needs a live session (a recalled one is rejected); writes nothing. scope: 'solution' or a case-insensitive substring of an item's location - for a file under the solution folder its relative path, with the OS separator (backslash on Windows). It filters the ANSWER, not the work: every project is compiled either way.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a file-path substring (e.g. 'MyApp.Core' or 'Settings.cs') that filters the RESULT. It is matched against a diagnostic's location as the answer prints it, so a directory separator is a backslash on Windows. It does not reduce the work: all projects are compiled either way (see the tool description) - it saves response tokens, not latency. | solution |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| severityFloor | No | Minimum severity to include: 'auto' (default), 'error', 'warning', 'info', or 'hidden'. 'auto' counts warnings as 'warning' does, but when the compile has errors it lists only the errors (warningsNotListed says how many warnings it left out of the list); 'warning' lists both. | auto |
| runSuppressors | No | Run the DiagnosticSuppressors the projects' analyzer references declare, as a real build does, so a diagnostic they suppress is not counted. Off by default: a suppressor is code of the analyzed solution and runs inside this server (see SECURITY.md); the answer's suppressors member says where it would matter. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Goes far past the annotations: no analyzer runs (SDK's included), loadable source generators do run, 200-item list cap while counts cover the full set, multi-target dedup, #pragma exclusions, live-session requirement with recalled sessions rejected, and a bulleted disclosure list (incompleteProjects, cascadeFromIncomplete, generatedCodeGaps, designTimeBuildFailures, suppressors) explaining how to read each field, including the warning to treat suppressedDiagnosticsTotal as a magnitude not a ratio half.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core purpose and call ordering, then structured into return shape and a bulleted caveat list. It is long, and portions (scope substring matching, severityFloor 'auto' behavior) restate the schema almost verbatim, but nearly every sentence carries distinct information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 carries the full burden of explaining return values — and it does: verdict, projectsScanned, errorCount/warningCount/infoCount, the diagnostics item shape, the listing-vs-counting asymmetry, and the meaning of each disclosure field. Nothing needed to interpret the result is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond it: 'It filters the ANSWER, not the work: every project is compiled either way,' and the note that suppressors are solution code executed inside the server (pointing at SECURITY.md). Some of the scope/severityFloor text duplicates the schema descriptions, which keeps this below 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource+mechanism: 'Compiler errors and warnings without a build: every C# project of the session is compiled in memory, in seconds.' It also explicitly distinguishes itself from the nearest sibling, list_insights, which 'reports design findings instead.'
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit ordering ('refresh_session, THEN this'), the reason (diagnostics come from the session snapshot, not disk), the behavior when stale, and the exception for builds vs restores (refresh_session(force: true)). It also names the alternative tool for a different class of question.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_insightGet Insight DetailsARead-onlyIdempotent
Get the full detail of one insight (incl. the per-item Details list) by its id. Discover ids via list_insights (the producers that found issues). Ids are producer-level. An unknown/typo'd id is rejected with the known producer ids; a registered producer that found nothing this session reports that explicitly (distinct from a typo - list_insights lists only producers WITH findings, so a 0-finding id is not discoverable there). Details default to the top 20 items (a '(... and N more)' marker discloses the rest); pass maxDetails to raise that cap for a full per-item drill-down. Pass dbPath to use the active QualityProfile from that DB (same semantics as list_insights, incl. the explicit-layerProfile precedence). Triage-filtered like list_insights, on BOTH axes: detail lines removed by a suppression ('by design', DB + sidecar) or by a dismissal ('seen', solution record) are gone, and 'suppressedDetailCount' reports the two ADDED TOGETHER (absent = none) - so it is not a count of sidecar entries. A producer silenced outright reports as 'registered but 0 hits'.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins). Omitted, the QualityProfile falls back to the server's default config DB (the GUI's, if resolved), else the default profile, and the layer profile to the config DB the session was analysed against - the one its renders read. | |
| insightId | Yes | The producer-level insight id, e.g. 'quality-long-methods' (discover via list_insights; an unknown id is rejected WITH the known ids). | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| maxDetails | No | Optional cap on the returned Details list (default 20). Raise it (e.g. 200) for a full per-item drill-down of this insight; a '(... and N more)' marker still discloses any remainder beyond the value. Applies only to this call; ignored (default cap) when omitted or <= 0. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial behavior beyond them: the default 20-item cap and '(... and N more)' remainder marker, the error contract for unknown ids (rejected WITH the known producer ids), the 0-findings reporting case, and the triage-filtering semantics where 'suppressedDetailCount' sums suppression + dismissal counts and is absent when zero. None of this is derivable from 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core action and the discovery route, and every sentence carries operational information. It is dense to the point of heavy nesting (multiple stacked parentheticals in the triage sentence), which costs some readability, but nothing is filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description carries the return-shape burden and does so: it describes the Details list, the truncation marker, and 'suppressedDetailCount' presence/absence semantics. For a 4-param read tool with annotations covering safety, nothing needed to invoke or interpret the call is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3, but the description adds real meaning: insightId is characterized as producer-level with a concrete example shape, maxDetails is framed as call-scoped with an explicit drill-down intent, and dbPath is condensed to a reference ('same semantics as list_insights') rather than restated. It stops short of 5 because much of the dbPath/maxDetails text parallels the schema wording.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource with scope: 'Get the full detail of one insight ... by its id', and explicitly names the payload ('incl. the per-item Details list'). It distinguishes itself from the sibling list_insights ('the producers that found issues') so an agent can route correctly without opening either schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the discovery path explicitly ('Discover ids via list_insights'), explains the when-not edge case (a registered producer with 0 findings is not discoverable via list_insights), and gives concrete conditions for the optional params (pass maxDetails for a full drill-down, pass dbPath for DB-scoped thresholds). Alternatives and their selection conditions are spelled out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_type_hierarchyGet Type HierarchyARead-onlyIdempotent
Walk one type's inheritance in both directions: baseChain upward, derivedTypes downward, plus the interfaces the type declares. The type-level counterpart to find_overrides; for the types that implement an interface use find_implementations.
Use it before changing a base class.
Returns type, resolvedKind (class, record, struct, interface, enum or 'not_found'), baseChain, interfaces and derivedTypes, a capped envelope (items, count, totalFound, truncated; at most 100). baseChain lists the nearest base first; when the chain leaves the solution the last entry NAMES the external base ('ObservableObject (external)'). derivedTypes is transitive, one entry per type, reading 'Derived : DirectBase'; test-project types are included, unmarked. interfaces holds what the type itself declares - one inherited through a base class is not repeated - and for an interface query its base interfaces. Every link is arity-qualified ('Foo' vs 'Foo'); types sharing a name are written by full name ('Ef.User : Core.User'), adding '[Project]' where the full name is shared too.
Optional members ahead of the lists qualify them: 'mergedNamesakes' (several declared types share the simple name; the view merges them), 'separatedNamesakes' (derivations from a same-named type that is NOT the resolved one, typically a framework base shadowed by an in-solution namesake, were excluded and are counted here), 'hint' (an interface query: derivedTypes covers class inheritance only), 'note' (unresolved core references: partial until restore or build, then refresh_session).
'not_found' answers three empty lists: no type of that name is declared - also for an external base, a delegate type, a namespace-qualified name, a nested 'Outer.Inner' form, or an arity suffix no declaration has. A trailing 'nearest' gives a close declared type name, for a qualified form the simple name.
Read-only; works on a recalled session. typeName is the simple name, case-sensitive. A bare name merges a generic type with its non-generic namesake ('mergedArities' says so).
| Name | Required | Description | Default |
|---|---|---|---|
| typeName | Yes | The type's exact (case-sensitive) simple name, e.g. 'GraphSectionRendererBase'. Add an arity suffix ('Repository<T>' or 'Repository`1') to disambiguate a generic from a same-named non-generic type. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnly/idempotent/non-destructive, but the description goes well beyond them: a capped envelope (items, count, totalFound, truncated; max 100), transitive derivedTypes semantics, external-base naming, the not_found contract, and refresh/restore caveats. These are behaviors an agent cannot infer from the annotations or schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded correctly: purpose first, then return shape, then edge cases, then the not_found contract. It is long and dense, but with no output schema most of the return-value detail is load-bearing rather than filler; a few clauses (arity-qualification, '[Project]' marking) push toward over-explanation.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and a conceptually complex return, the description fully specifies the response fields, the truncation limit, ordering rules, namesake merging/separation, and the three-empty-list not_found behavior. Nothing an agent needs to interpret or call the tool is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and both parameters are already documented in the schema (case-sensitivity, arity suffix, session_id sourcing). The description nonetheless adds meaning beyond the schema: a bare name merges a generic with its non-generic namesake and 'mergedArities' signals it, plus the recalled-session requirement.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence gives a precise verb+resource: 'Walk one type's inheritance in both directions' naming baseChain, derivedTypes and declared interfaces. It explicitly differentiates from siblings, calling itself the type-level counterpart to find_overrides and directing interface-implementation queries to find_implementations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states a concrete situation ('Use it before changing a base class') and names two alternatives with the condition that selects them (find_overrides for overrides, find_implementations for interface implementers). When-to-use and when-to-use-something-else are both explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
impact_of_changeEstimate Impact of a ChangeARead-onlyIdempotent
Estimate the blast radius of changing a symbol: its direct users, their dependents and a risk level.
Call it first, before any edit to a symbol other code names (a rename, signature, default value): a compile checks names, not what a consumer assumes.
Returns directCount and transitiveCount (one per declaration, tests included), productionImpactCount (transitive, no tests), risk and directImpact (max 20, items as in find_usages). risk reads productionImpactCount: 0 none, 1-4 low, 5-20 medium, over 20 high; it counts dependents, not what the change means. If one cycle dominates a high closure, 'saturation' leads the counts and risk reads the direct production fan-in.
Per kind: a type - the closure of types that reference it; a method or operator - its caller closure through interface and abstract dispatch; a property, field, event or enum member - the code that touches it (transitive = direct). A qualified method also counts its contracts' callers ('viaContract').
An interface or abstract method or type adds 'implementers' per contract: what a signature change breaks. Then risk reads 'riskBasis'.total = closure + implementers (production implementing types; on a type only direct ones, 'indirect' lists the rest). 'namesakes' splits merged contracts; 'riskBasis'.note flags no production caller.
'registration', 'serializers', 'attachedProperty' trail, moving no count: what only a DI registration reaches; a property's serializer sites; a dependency property's accessor or wrapper markup users.
A 'note' before the counts flags misleading numbers: directCount 0 on a resolved symbol (DI or reflection may reach it), unresolved core references, productionImpactCount 0 on an all-test solution, and 'not_found' (risk 'none' is no measurement; 'nearest' gives a close name). 'collision' names a same-named symbol of another kind, not counted.
Read-only. symbol is case-sensitive and resolves as in find_usages: a type by simple name, a member bare (one kind) or 'Type.Member'. For a constructor ('Type.Type') use find_usages.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The exact (case-sensitive) type, method, property, field, event, enum-member or operator (metadata) name to assess - or the qualified Type.Member form for a member. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so 'Read-only.' adds nothing; but the description contributes genuinely non-structured behavior: how risk maps to productionImpactCount thresholds, saturation overriding counts on cycle-dominated closures, 'riskBasis'/'implementers' appearing for interface and abstract symbols, and 'note'/'collision'/'not_found' edge states. The disclosure is rich but so compressed and jargon-heavy that an agent must parse it repeatedly to act on it.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and the call-it-first rule are correctly front-loaded, but the body degenerates into a dense wall of single-quoted field names and per-kind clauses that are hard to scan and partly redundant with each other. Several sentences ('registration', 'serializers', 'attachedProperty' trail, moving no count) pack multiple concepts into one line at the cost of readability.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 carries the return-value burden entirely, and it does: it names every count and risk field, explains what each counts and excludes, and covers degenerate results such as zero direct counts, all-test solutions, unresolved references and name collisions. For a tool of this complexity, an agent has enough to interpret the response correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and both parameters already document case sensitivity and the Type.Member form, so the baseline applies. The description nevertheless adds resolution meaning: a type by simple name, a member bare (implying single kind) or qualified, and that constructors must go elsewhere. The sessionId handling is left entirely to the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: 'Estimate the blast radius of changing a symbol' and enumerates the output dimensions (direct users, dependents, risk level). It separates itself from find_usages by framing itself as the pre-edit decision tool rather than a usage listing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use: 'Call it first, before any edit to a symbol other code names (a rename, signature, default value)', plus the rationale that a compile checks names, not consumer assumptions. It also routes a specific case out to a sibling: constructors ('Type.Type') should use find_usages, and points to find_usages for resolution semantics.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
init_solution_configPropose a Solution ConfigurationARead-onlyIdempotent
Collect the raw material for the guided setup of a solution's Layer Profile, Exclude-Namespaces and Test Profile - step 1 of 2; apply_solution_config is the step that writes.
Use it when solution_config_status or the configInit hint of analyze_solution reports an axis as not initialized, or when check_solution_config_drift reports one as stale. Propose a mapping from the returned material, then call apply_solution_config with it. To only see what is configured, use solution_config_status.
Returns JSON: solutionPath; declaredNamespaces - the solution's own namespaces, the source for layer-mapping rules (test-project and framework namespaces are left out); referencedNamespaces - every namespace a using directive names, the solution's OWN included, heaviest first (a hand-written global using ahead of any file count), each {namespace, documents} (hand-written files whose own using names it), plus generatedDocuments (build-written files, obj/) and globalUsingProjects / implicitGlobalUsing (an SDK implicit using) where they apply - neither says what the code leans on: only the external/framework ones are exclusion material, never exclude your own; testProjects - what the default heuristic classifies as test projects; detectedTestAttributes - the test attributes present in the code; frameworkApiAreas - areas the built-in exclusion list removes although at least 15% of the public method signatures name them (Dapper: System.Data), each with the keepRule to put into exclusions so the rest of the list still applies; proposalFormat - the JSON shape apply_solution_config expects. The first three lists are capped envelopes (items/count/totalFound/truncated, max 300); the other two are plain arrays.
Read-only: it writes no configuration and no DB row and marks nothing as initialized. It walks the warm session workspace (no re-analysis), so it needs a live session; a recalled one is rejected with an error.
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations declare readOnly/idempotent/non-destructive, and the description goes well beyond them: it writes no configuration, no DB row, marks nothing initialized, walks the warm session workspace without re-analysis, and requires a live session because a recalled one is rejected with an error. That is exactly the operational context annotations cannot express.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with step 1 of 2 and the when-to-use conditions, and the return-value detail is necessary because no output schema exists. It is dense and the return paragraph runs long with semicolon-chained clauses, but no sentence is filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description fully specifies the return shape: solutionPath, declaredNamespaces vs referencedNamespaces, capped envelope semantics with max 300, generatedDocuments/globalUsing caveats, frameworkApiAreas with keepRule guidance, and proposalFormat. It also tells the agent how to consume the result ('Propose a mapping from the returned material'), including the critical rule never to exclude the solution's own namespaces.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the sessionId description already covers the .sln/.slnx/.slnf path fallback, so the schema carries most of the load. The description still adds a constraint the schema lacks: the session must be live, and a recalled session errors out, which materially narrows acceptable sessionId values.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Collect the raw material for the guided setup of a solution's Layer Profile, Exclude-Namespaces and Test Profile') and explicitly frames itself as step 1 of 2 with apply_solution_config as the writer. That makes it unmistakable against its closest siblings, apply_solution_config and solution_config_status, without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Names the exact triggering conditions (solution_config_status or the configInit hint of analyze_solution reporting an axis as not initialized, or check_solution_config_drift reporting one as stale) and the follow-on call ('then call apply_solution_config with it'). It also gives an explicit not-for-this alternative: 'To only see what is configured, use solution_config_status.'
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
install_agent_hooksInstall Agent HooksADestructiveIdempotent
Install the aicb symbol guard into this project for an agent harness, so a C#-symbol question is REFUSED on a text search and redirected to the tool that answers it. Writes the guard script plus the harness's wiring entry (.claude/settings.json, .codex/hooks.json or opencode.json) and nothing else - no .mcp.json, no skills, and only inside the directory of the session's own solution. Omit 'harness' to install for the harness that is calling. An existing guard or wiring is kept unless force=true. Restart or reconnect the client afterwards, then call refresh_session so the session stops reporting the guard as missing.
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite an existing guard script and rewrite an existing wiring entry. | |
| harness | No | Which harness to install for: claude-code, codex or opencode. Omit to use the harness the calling MCP client belongs to. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds substantive context beyond them: the exact write footprint, the containment rule (only inside the session's own solution directory), the non-destructive default that force overrides, and the operational requirement to restart the client and then call refresh_session so the guard stops being reported missing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the purpose and the write footprint before the operational caveats, and every clause carries information. The single dense paragraph is slightly heavy, but there is little that could be cut without losing routing or safety detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a mutating installer with no output schema, the description covers the write scope, the safety default, the containment boundary, and the post-install recovery step. It stops short of describing failure modes (e.g. what happens if sessionId is unknown or the harness is unsupported), but nothing critical for correct invocation is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so all three parameters are already documented, including the harness enumeration values and the force overwrite semantics. The description largely restates the schema's 'omit harness' and 'kept unless force=true' behavior rather than adding format or edge-case detail, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (install), resource (the aicb symbol guard), and precisely scopes what is written: the guard script plus one harness wiring entry, explicitly excluding .mcp.json and skills. It even names the concrete target files (.claude/settings.json, .codex/hooks.json, opencode.json), so the agent can distinguish it from every sibling at a glance.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear usage conditions: omit 'harness' to target the calling harness, existing guard/wiring is preserved unless force=true, and it names the follow-up sequence (restart/reconnect, then call refresh_session). It does not explicitly contrast against sibling config tools like apply_solution_config or init_solution_config, so it stops short of full alternative routing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
instantiation_sitesFind Instantiation SitesARead-onlyIdempotent
Find where a type is constructed and where it is injected: the narrow 'who creates or obtains an instance of X?' that find_usages (every reference) cannot answer. resolve_injection answers the other half - what is registered for a type.
Use it before changing a constructor, and to see whether anything but a test builds a type.
'created': a method, constructor, accessor or top-level code that runs 'new X(...)', a target-typed new or a record 'with'; a field or property initializer is attributed to the constructor the compiler runs it in, so such a site is named '.ctor' ('.cctor' for a static one). 'injected': a type that takes X as a constructor parameter - no container is consulted. A parameter wrapped in another type (Lazy) is recorded under the outer type, and an array of X is not a creation of X.
Returns typeName, a 'note' when there is one, createdByCount, createdByTests, injectedIntoCount, injectedIntoTests, sites - at most 200 items (name, declaringType, namespace, kind, isTestProject), created sites first - and 'nearest'. The four counts are true totals within scope. Test-project sites are included, not filtered: isTestProject marks each, and createdByTests == createdByCount with a non-zero total means every recorded construction site is in a test project. A type the DI container builds has no recorded production site, so that reading is not proof.
A 'note' covers two zeros: with no site at all it names the construction paths this fact cannot see and the markup views naming the type; with injectedIntoCount 0 it names those of its interfaces something is injected under - a DI consumer takes the interface, so query that name. 'nearest' gives a close declared name when no site was found and the name matches no declaration.
Read-only; works on a recalled session. typeName is matched on its simple name: namespace and generic arguments are dropped, namesakes are unioned, and an external type ('List', 'HttpClient') is a valid query. scope is 'solution' or a namespace prefix on the SITE's namespace.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'solution' (default) or a namespace prefix (e.g. 'MyApp.Core') to narrow which sites are scanned. | solution |
| typeName | Yes | The type whose instantiation/injection sites to find (simple name; namespace + generic args are normalized away, e.g. 'OrderService' or 'List'). | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark it read-only and non-destructive, and the description adds substantial behavior beyond that: it defines 'created' vs 'injected', explains attribution of field/property initializers to '.ctor'/'.cctor', notes that Lazy<X> is attributed to the outer type and arrays do not count, explains test-project inclusion, return ordering, 200-item cap, and what a 'note' and 'nearest' mean. No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long, but the complexity of the tool justifies most of the detail. It is front-loaded with purpose and usage, then moves into behavioral definitions and return semantics; the density is high but most sentences convey necessary edge-case information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the return-value burden and does so thoroughly: it explains the response fields, counts, site ordering, 200-item limit, test-project flags, and the special meanings of 'note' and 'nearest'. It is complete for an agent to invoke and interpret the tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents all three parameters. The description adds extra semantic nuance beyond the schema: typeName matching on simple name, dropping namespace and generic arguments, unioning namesakes, accepting external types like 'List', and clarifying that scope applies to the SITE's namespace.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: 'Find where a type is constructed and where it is injected.' It explicitly distinguishes itself from find_usages ('every reference') and resolve_injection ('what is registered for a type'), so an agent can select it without opening sibling schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It gives concrete when-to-use guidance: 'Use it before changing a constructor, and to see whether anything but a test builds a type.' It also names the alternative tools and the precise question each answers, making the routing decision explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_insightsList Code InsightsARead-onlyIdempotent
List code-quality / async / design-smell insights for a session (long methods, fat interfaces, unused types, missing async suffixes, many-parameter methods, ...). Runs against the live analyzed solution; each insight is aggregated per producer, with the count of its detail lines ('detailsCount'; get_insight lists them). Pass dbPath to use the active QualityProfile (producer thresholds + toggles) from that DB; omit it for the default profile (DB-free). Honors the session's active test-detection profile (resolved by analyze_solution(dbPath)) for the production-focused producers. An explicit analyze_solution(layerProfile) drives the layer-violation insight and wins over the DB-configured profile (same precedence as solution_metrics and the CLI gate). THIS ANSWER IS TRIAGE-FILTERED, on BOTH triage axes: findings the solution marked intentional (a suppression - in the DB or in the git-tracked .aicb.json sidecar) AND findings a user dismissed as seen (in the solution record, NOT in the sidecar) are removed, and an insight whose findings are all gone does not appear at all. Every insight that lost lines carries 'suppressed' with the count of what BOTH axes removed together (absent = nothing filtered), so a shrinking number is never mistaken for a codebase that improved - but do not read that count as a sidecar entry count, because some of it is dismissal. Note 'title' is producer text computed BEFORE filtering, so on a partially filtered insight it still names the pre-filter total - 'detailsCount' + 'suppressed' are the real split. 'remediationCostMinutes' is a coarse order-of-magnitude estimate from fixed per-finding rules, not measured effort. Pass files - say the files a change touches - for the findings about the types they declare, with their detail lines.
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Optional C# files, each absolute or relative to the solution folder: the answer keeps the findings about the types these files declare and becomes an object {files, notInSolution, insights}. 'files' are the ones the solution holds, solution-relative; 'notInSolution' the ones it does not (a deleted or non-C# file, a typo), as given. Each insight carries its in-scope 'details' with 'detailLocators' (up to 20, then a '(... and N more)' line), and 'detailsCount' counts the in-scope lines; 'title', 'remediationCostMinutes' and 'suppressed' stay the whole-solution numbers. A line matches by its locator's simple type name, so a same-named type elsewhere matches too; a line about a file of top-level statements matches by that file; any other line with no type locator is left out, while an insight about the solution as a whole (no lines, no type locator) stays, with detailsCount 0. Omitted or empty: the solution-wide array above. | |
| dbPath | No | Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins). Omitted, the QualityProfile falls back to the server's default config DB (the GUI's, if resolved), else the default profile, and the layer profile to the config DB the session was analysed against - the one its renders read. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only cover the safe-read profile, and the description adds genuinely non-obvious behavior: results are triage-filtered on two axes (intentional suppressions in DB or .aicb.json sidecar, plus user dismissals in the solution record only), fully-filtered insights vanish, and 'suppressed' merges both axes. It also warns that 'title' is computed pre-filtering and that remediationCostMinutes is a coarse fixed-rule estimate, which prevents real misinterpretation of the output.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose and triage-filtering caveats are front-loaded, but the paragraph is a dense run-on that repeats the files-parameter semantics almost verbatim from the schema and stacks precedence rules mid-sentence. Signal is high, but several clauses (the sidecar-vs-dismissal aside, the title caveat) could be tightened without losing meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and a non-trivial return shape, the description carries the burden well: it explains the solution-wide array versus the {files, notInSolution, insights} object, what detailsCount, suppressed and remediationCostMinutes mean, and the pre-filter title caveat. An agent has enough to call it and interpret results correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3; the description still adds value by explaining the precedence consequences (an explicit analyze_solution(layerProfile) wins over the DB-configured profile, matching solution_metrics and the CLI gate) and the session's test-detection profile. The files-parameter prose largely restates the schema's own long description rather than extending it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('List code-quality / async / design-smell insights for a session') and enumerates concrete finding kinds (long methods, fat interfaces, unused types, missing async suffixes). It also positions itself against the sibling that drills in: insights are aggregated per producer and get_insight lists the detail lines.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives clear conditional guidance for the optional inputs: pass dbPath to use that DB's active QualityProfile, omit it for the DB-free default; pass files for findings about types a change touches. It does not spell out when to prefer this over sibling diagnostics tools (get_diagnostics, find_dead_code, architecture_overview), only implying the get_insight split.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_mcp_profilesList MCP ProfilesARead-onlyIdempotent
List the MCP profiles in the server's config DB - each with its id, name, the slots that have a template assigned (General appears exactly when a profile-wide template is set), the profile-wide templateId (null = none), whether it carries a skill, its effective tool-set (toolSelection: the class-level CSV, or a 'methods:'-prefixed function-name list when the profile curates individual tool functions; null = lean core), whether it is the active one, AND the render config it applies (tokenBudget / outputFormat / overflowPolicy - a null tokenBudget/overflowPolicy means inherit: the template then the active PipelineProfile decides). Requires the server to be started with --db-path. Use the ids with 'aicb mcp --mcp-profile ' to pin the profile at server start - that is the only way to change it; there is no runtime switch tool.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, so the safety bar is low; the description instead adds real behavioral context — the --db-path prerequisite and the fact that profile selection is immutable at runtime. Null-handling rules (null templateId, null tokenBudget means inherit through template then active PipelineProfile) are disclosed, though some of this drifts into return-shape territory rather than behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded, but the body is a single sprawling sentence with stacked parentheticals and an ALL-CAPS 'AND' joining two unrelated payload descriptions (identity fields vs. render config). Splitting the return-field inventory from the usage note would make it far more scannable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 carries the burden of explaining the return shape — and it does, field by field, including null semantics and the two toolSelection encodings. Combined with the stated prerequisite and the 'no runtime switch' constraint, an agent has everything needed to call and interpret this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The tool takes zero parameters, so per the rubric the baseline is 4. The description correctly adds no parameter guidance because none is needed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource ('List the MCP profiles in the server's config DB') and enumerates the exact fields returned. No sibling tool in the list covers MCP profile configuration, so it is unambiguously distinguishable.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States the prerequisite ('Requires the server to be started with --db-path') and explains what to do with the results ('Use the ids with aicb mcp --mcp-profile <id> to pin the profile at server start'). It also pre-empts a fruitless search by stating there is no runtime switch tool. It never frames when to call this versus another tool, but no viable alternative exists.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_skillsList Tools and FacetsARead-onlyIdempotent
The server's capability map: a tools INDEX naming EVERY tool this server has - each exactly once, grouped into three lists by pool state (inPool.core = the tools every profile exposes, in reach-for-them order; inPool.extras = the rest of the active pool, alphabetical; outOfPool = exists but the active tool set does not expose it) - plus the sections that group them by name: the always-on navigation CORE (listed in no menu because it needs none), the task FACETS (id + guidance + template slot + the facet's tool menu), the cross-cutting guidance styles, and the legacy functional skill bundles. Use it to discover specialized long-tail tools (e.g. get_insight, find_by_concurrency_risk, coverage_gaps, find_unresolved_bindings) beyond that core - and to check whether ANY tool you want is merely in outOfPool rather than nonexistent. Tools outside the active pool become reachable via an MCP profile whose facet menu or bundle names them (see list_mcp_profiles / 'aicb mcp --mcp-profile '), or via the AICB_MCP_TOOLS override. By default the answer omits the per-tool descriptions, which is what makes it cheap; pass detail="full" when you need them. No session needed.
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | How much per-tool text to include: "lean" (default) - bare names in their pool groups; "full" - additionally each tool's one-line description. Case-insensitive. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, closed-world, non-destructive), so the bar is lower. The description adds genuinely useful behavior: by default per-tool descriptions are omitted for cheapness, detail="full" includes them, and no session is needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The intent is front-loaded ('capability map'), but the body is one very long sentence with deeply nested parentheses enumerating pool states and sections, which hurts scannability. It is information-dense but not efficiently structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 carries the burden of describing the return shape, and it does: three pool-state lists, the navigation CORE, task FACETS, guidance styles, and legacy bundles. Nothing needed to call or interpret the result is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single `detail` parameter is fully documented in the schema, so baseline is 3. The description reinforces the lean-vs-full tradeoff and its cost rationale, but adds little format or syntax detail beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource - an index naming every tool the server has - and even enumerates the three pool groupings it returns. It distinguishes itself from the similar-sounding list_mcp_profiles and list_insights by describing a capability map rather than profiles or insights.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use cases: discovering specialized long-tail tools (name examples) and checking whether a wanted tool is merely in outOfPool rather than nonexistent. It also explains the alternative paths (an MCP profile that names the tool, or the AICB_MCP_TOOLS override).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
measureMeasure Answer SizesARead-onlyIdempotent
Report how BIG a read-only query's answer would be - its exact token count - WITHOUT returning the answer. Use it to decide before you pull: whether a call is worth making, what 'budget' to pass a slice tool (get_context/explain_symbol/pack_for_task), or whether to narrow 'scope' first. Same shape as batch: pass the shared session_id once plus 'queries', an array of {tool, args} where 'args' is that tool's own arguments WITHOUT the sessionId. Example: queries=[{"tool":"explain_symbol","args":{"symbol":"OrderService","include":["callees"]}}] → {tool, ok, tokens, chars, returned, totalFound, truncated, budgetNote}. 'tokens' is the real tokenizer count (cl100k_base) of the exact text the tool would return; 'returned/totalFound/truncated' are passed through when the tool answers with a capped envelope, so you also see whether you would be seeing everything. The Markdown slice tools (get_context / explain_symbol / pack_for_task) have no such envelope - they disclose budget pruning in prose, so 'budgetNote' carries that disclosure verbatim: if it says types were dropped, the answer you are pricing is already CUT (an axis you asked for can be missing entirely), and a larger 'budget' is what buys it back. IMPORTANT: measure does NOT make the query cheaper to RUN - the server does the full work either way; it makes the answer cheap to INSPECT (you pay ~50 tokens instead of the answer). So measure to DECIDE, then call once - do not measure every call by reflex. Dispatches the same read-only tools as batch, and refuses the same ones for the same four reasons - mutation is only the first of them; the refusal message names which one applies. Like batch, sub-queries follow the ACTIVE POOL: an out-of-pool tool is refused per item. Max 16 queries per call.
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | The read-only queries to measure: an array of { tool, args } objects, exactly as for batch. Max 16. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. Shared by ALL queries - do NOT repeat it inside each query's args. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds substantial context beyond them: it does not reduce query execution cost, it costs ~50 tokens instead of the full answer, it enforces a 16-query cap, it follows the active pool, and it refuses the same tools as batch for four named reasons. The only minor gap is that it doesn't detail per-item failure semantics beyond 'the refusal message names which one applies'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Dense and front-loaded – the core 'token count without the answer' claim and the decide-then-call usage rule come first, followed by mechanics. It is long, and the 'Max 16 queries per call' statement duplicates the schema description, but nearly every sentence carries information an agent needs.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, yet the description fully specifies the return payload ({tool, ok, tokens, chars, returned, totalFound, truncated, budgetNote}) and explains the semantics of the ambiguous fields, including how budgetNote surfaces prose-level budget pruning. An agent has everything needed to call and interpret this tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description goes further: it clarifies that sessionId is shared once and must NOT be repeated inside each query's args, describes the {tool, args} item shape, and supplies a worked example with real args. That is meaningfully more than the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a precise verb+resource: it reports the exact token count of a read-only query's answer without returning it. It explicitly distinguishes itself from sibling batch ("Same shape as batch") and from the actual answering tools it prices, so an agent can route correctly without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete when-to-use conditions (decide whether a call is worth making, what budget to pass get_context/explain_symbol/pack_for_task, whether to narrow scope first) and an explicit when-not ("measure to DECIDE, then call once - do not measure every call by reflex"). It also explains what it refuses and why, which is strong alternative-routing guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pack_for_taskPack Context for a TaskARead-onlyIdempotent
Goal-driven context packing: given a natural-language task, seed on every symbol the goal names (type or method), expand the neighborhood, and return a token-budgeted AI-Builder-Markdown bundle - with goal-aware trimming that keeps the most task-relevant methods when the budget is tight. Name the symbols you care about in the goal (e.g. 'refactor OrderService.Cancel and Validate'). budget caps output tokens (floored at 8000). Multi-TFM solutions are deduplicated to one logical project per name (NEWEST TFM's instance, matching find_symbol's view). For an EDIT-ready bundle that also pulls in the covering tests + naming/file siblings (and, on a profile-aware server, renders through the facet's template), use prepare_task instead.
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | The task description (name the relevant types/methods in it). Once the goal names a symbol exactly, its other words only steer the trimming and seed nothing of their own; a goal naming no symbol is matched by name segments instead ('cancel order' -> CancelOrder). | |
| lean | No | Lean slice (default TRUE): drop the repeated <AI_CONTEXT_SPEC>/<AI_CONTEXT_META> preamble and omit enabled-but-empty graph sections ('- none'). Keeps PATH_LEGEND / COMPRESSION_LEGEND and all non-empty sections. Set false for the full AI-Builder-MD document. | |
| facet | No | Optional facet - the task axis of this call: General, Exploration, Refactoring, Debugging, Review, Testing, Documentation, Architecture, or Performance. pack_for_task always renders the lean bundle (its render deliberately stays template-free - use prepare_task for a template-shaped bundle); the facet appends a short work-style trailer with suggested next tools. (The name 'slot' is accepted too.) | |
| budget | No | Optional token budget (floored at 8000). Caps the slice TWO ways: it compacts/drops method bodies AND - when the expanded neighborhood still overflows - drops the least-relevant non-seed types entirely. Exact type names and exact method names with one owner are pinned; broad subword/ambiguous same-name families may be capped by closeness and in-slice fan-in. A leading comment discloses how many types were dropped. Omitted, the bundle still renders against a ceiling (the active MCP profile's token budget, else a ~10000-token default budget) that bounds the neighborhood; pass a value for a tighter bundle. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeQualityMetrics | No | When true, also emit the <QUALITY_HOTSPOTS> section plus complexity=""/ce="" tag attributes (cyclomatic complexity, efferent coupling) for the packed symbols. Default false. Set true when the task is a refactor/quality pass. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (readOnly, idempotent, non-destructive), and the description adds substantial non-obvious behavior: the 8000-token budget floor, two-way budget enforcement (body compaction plus dropping least-relevant non-seed types), pinned exact names, a dropped-types comment, multi-TFM dedup to the NEWEST TFM, and the default ~10000-token ceiling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with the core behavior in the first sentence, then progressively narrower detail. It is dense and on the long side, with some parenthetical tangents (the 'slot' alias, the profile-token-budget aside), but nearly every clause carries actionable information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description compensates by describing the return shape (lean vs full AI-Builder-MD, PATH/COMPRESSION legends, quality hotspots section), so an agent knows what it will receive. Combined with the routing to prepare_task and the session/prerequisite context, nothing essential is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description genuinely enriches it: the goal's symbol-matching semantics (exact names suppress other words; segment matching for 'cancel order' -> CancelOrder), the lean default's effect on preamble/sections, and budget's dual enforcement. Only the facet enum values are left entirely to the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a precise verb+resource: 'Goal-driven context packing' that seeds on goal-named symbols, expands the neighborhood, and returns a token-budgeted Markdown bundle. It explicitly distinguishes itself from the closest sibling by routing edit-ready/template work to prepare_task.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use conditions (name symbols in the goal to steer seeding; use prepare_task for an EDIT-ready or template-shaped bundle; set includeQualityMetrics for refactor/quality passes). Alternatives and exclusions are named rather than implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
prepare_taskPrepare Context for an EditARead-onlyIdempotent
Build an EDIT-ready context bundle for a task goal: the source of the symbols the goal names, their dependency neighborhood, the test methods that cover them and 1-2 naming/file-convention siblings (the test, the factory, the validator you'd otherwise miss) - as one token-budgeted AI-Builder-MD document.
Prefer this over pack_for_task when you're about to EDIT, not just read. pack_for_task packs the goal-seeded neighborhood alone, without covering tests and siblings. For one symbol use get_context or explain_symbol; for blast radius and test coverage as numbers use review_context.
Returns text, not JSON. It starts with a manifest comment (goal | seeds | tests | siblings | render) so you can see what was covered - and what was NOT ((none)); after a source edit a staleness comment precedes it. 'render' names the path that produced the body. 'template' is the default, because a plain 'aicb mcp' resolves the standard config DB: the chosen facet's template (graphs, detail, line numbers, quality) in the active profile's notation - YAML under the built-in profiles. 'lean' is the fallback of a server without a config DB: tag Markdown. Multi-TFM solutions are deduplicated to one logical project per name (NEWEST TFM's instance, matching find_symbol's view).
Read-only. Parameters: a tight budget drops neighborhood types, tests and siblings first. A type the goal names, or the one owner of a method it names, is never dropped (too large, it renders as structure: members and signatures); the owners of a method name several types share can be dropped. A leading note names the drops. lean and includeQualityMetrics act on the lean render only, so not on a default server.
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | The task description - name the relevant types/methods in it (e.g. 'refactor OrderService.Cancel and its validation'). Once the goal names a symbol exactly, its other words only steer the trimming and seed nothing of their own; a goal naming no symbol is matched by name segments instead ('cancel order' -> CancelOrder). | |
| lean | No | Lean slice (default TRUE): on the lean-render path, drop the repeated <AI_CONTEXT_SPEC>/<AI_CONTEXT_META> preamble and omit enabled-but-empty graph sections ('- none'); keeps PATH_LEGEND / COMPRESSION_LEGEND, the manifest and all non-empty sections. Set false for the full AI-Builder-MD document. (Ignored on the profile-aware slot-template render path, which the active profile controls.) | |
| facet | No | Optional facet to work under - the task axis of this call: General (default), Exploration, Refactoring, Debugging, Review, Testing, Documentation, Architecture, or Performance. On a server with a config DB (the default: a plain 'aicb mcp' resolves the standard one) the facet's template shapes the render; it always appends a short work-style trailer with suggested next tools. (The former name 'slot' is still accepted.) | |
| budget | No | Optional token budget (floored at 8000). Applies to BOTH the lean and the profile-aware template render path: it compacts/drops method bodies AND drops the least-relevant types when the neighborhood overflows. A type the goal names, and the one owner of a method name it names, is never dropped - one whose own source does not fit renders as structure (members and signatures). The owners of a method name several types share are capped like the neighborhood: some are reduced to structure, some dropped. The bundled covering tests/siblings are BUDGET-BOUND - under a tight budget they are dropped to fit (a leading comment names the drops so you can ask for one by name). Overrides any MCP-profile/template token budget. Omitted, the bundle still renders against a ceiling (the MCP profile's token budget, else the facet template's, else a ~10000-token default budget) that bounds the neighborhood. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include the test methods that cover the seeded symbols (default true). | |
| includeSiblings | No | Include 1-2 naming/file-convention siblings of the seeded types (default true). | |
| includeQualityMetrics | No | When true, also emit the <QUALITY_HOTSPOTS> section plus complexity=""/ce="" tag attributes for the bundled symbols (lean path). Default false. Set true for a refactor/quality pass. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare read-only/idempotent/non-destructive, but the description goes well beyond them: return format is text not JSON, the leading manifest comment reveals coverage and gaps ((none)), staleness precedes it after a source edit, multi-TFM solutions dedupe to the newest TFM, and tight budgets drop neighborhood/tests/siblings with a leading note naming the drops. It also documents the never-dropped guarantees for named types and single method owners.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded correctly, with purpose first and usage routing second. However it is long, and substantial portions (the template vs lean render path, facet trailer, budget behavior) duplicate the parameter descriptions already present in the schema, which is padding for a reader who has the schema.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 must carry the return-value burden and does: it explains the manifest comment, staleness line, render/template/lean distinctions, and the text-vs-JSON format. For an 8-parameter, complex bundle-builder, nothing an agent needs to call it correctly is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds real meaning beyond the schema: the precise drop order under a tight budget, the never-drop rules, the fact that lean/includeQualityMetrics act only on the lean render path, and the interaction between budget and the profile/template ceiling. These cross-parameter behaviors are not in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource: 'Build an EDIT-ready context bundle for a task goal', then enumerates exactly what the bundle contains (symbol source, dependency neighborhood, covering tests, convention siblings). It actively distinguishes itself from siblings by naming pack_for_task, get_context, explain_symbol, and review_context with the conditions that separate them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit routing: 'Prefer this over pack_for_task when you're about to EDIT, not just read', 'For one symbol use get_context or explain_symbol', 'for blast radius and test coverage as numbers use review_context'. Both when-to-use and when-not-to-use are stated, with alternatives named.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
refresh_sessionRefresh a SessionAIdempotent
Re-analyze the session's solution after YOUR code edits - call it once you have changed .cs files, otherwise find_usages / impact_of_change / list_insights / get_context may keep answering from the STALE pre-edit graph (a silent source of wrong results). Cheap to call speculatively: a W0 file-set-hash check skips the expensive Roslyn re-run when nothing actually changed, and a C# file whose timestamp moved while its text stayed the snapshot's (a save without an edit) does not count as a change either. That check reads SOURCE files. A restore that rewrote a project's assets file after the load is noticed anyway and reloads through MSBuild; a plain build is not seen - after one, an analysis that reported unresolved references retries once by itself, and 'force' is the deterministic way to demand a reload. Reuses the warm workspace. Returns { changed, reason, session, mode } - 'mode' names the path the re-analysis took ('incremental' = document texts replayed into the warm snapshot without an MSBuild reload, else 'full-reload') and is absent when nothing was re-analyzed. The incremental path can stop engaging without any visible symptom - answers stay correct, calls just get slow again - so 'mode' is how you notice.
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-analyze even when no source file has changed. Use it after a restore/build that was meant to repair unresolved references - those live in build output the file-set hash does not cover, so an ordinary call can legitimately answer 'unchanged'. Costs a full MSBuild reload; leave false for the normal after-an-edit refresh. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations only declare readOnly=false/idempotent=true/destructive=false; the description goes far beyond by disclosing the W0 file-set-hash fast path, timestamp-vs-text comparison, assets-file restore detection via MSBuild, the one-shot auto-retry after an unresolved-reference build, warm-workspace reuse, and the observable-side-effect warning that the incremental path can silently stop engaging. Consistent with annotations (a state-mutating but idempotent cache refresh).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and the stale-graph warning, and nearly every clause carries operational information. It is dense and long for a single paragraph, with nested parentheticals ('a silent source of wrong results', the timestamp caveat) that take effort to parse but are not padding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, and the description compensates by naming the return shape { changed, reason, session, mode } and explaining how to interpret 'mode' including its absence and the silent-degradation symptom. For a 2-parameter tool with annotations, nothing an agent needs in order to call or interpret it is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so baseline is 3; the description adds marginal meaning by framing force as the deterministic override and explaining why an ordinary call can legitimately answer 'unchanged' in the restore/build case. Most of this overlaps the schema's own force description, so it does not clear the bar for a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Re-analyze the session's solution after YOUR code edits') and immediately contrasts its role with named siblings (find_usages / impact_of_change / list_insights / get_context) that go stale without it. An agent can tell exactly what this does and why it exists.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger ('once you have changed .cs files'), an explicit consequence of skipping it (stale pre-edit graph), and explicit guidance on the force alternative ('force' is the deterministic way to demand a reload; leave false for the normal after-an-edit refresh). It also pre-empts false positives (save without edit, plain build) so the agent knows when a no-op result is legitimate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
resolve_injectionResolve Dependency InjectionARead-onlyIdempotent
Resolve a Microsoft DI or MEF registration: what is registered for a service, with lifetime and site. Not usage (find_usages), implementers (find_implementations), construction (instantiation_sites).
It reads Add{Singleton,Scoped,Transient}, TryAdd*, descriptor adds built at the call, AddHostedService, project-local helpers registering their own type arguments, and a foreach over a static new(typeof(Service), typeof(Impl)) table. A key, and a closing, is a service of its own (IRepo, IRepo); open IRepo<> is read. Not read: a descriptor built elsewhere, AddHttpClient-style helpers, Scrutor, other containers. Umbraco collection builders are listed apart (collectionBuilders).
Returns JSON: registrations (serviceType, implementationType [= service if self/instance], lifetime, note, location, project, declaringMethod, key, targetFrameworks: a multi-targeted project's call is one row; note 'inferred, not read' = from a package helper's call shape AddSingletonAs().As(): lifetime from its name, never ambiguous or a winner) and: multiRegistration / registrationSites; ambiguous (possible conflict: ONE site registers several implementations of one service, receivers not compared, not consumed as a collection); effectiveRegistration (2+ calls: the winner a single-service resolve gets, read in ONE straight-line site; else null + reason); consumedAsCollection; constructorConsumerCount (plain ctor parameters); otherConsumers (GetService outside a registration factory, [Inject], @inject: per form); optionalDependencies (optional ctor parameters: yes/no/unknown).
An empty list says why: resolvedKind 'not_found' plus 'nearest' = no such name; else a 'note' names the forms not read and which the solution holds - empty means 'not statically visible', never 'not registered'.
Test projects count only with includeTests=true; testRegistrationsFiltered counts what that hid. interface is the SERVICE type (a self-registered class too); a closed form (IRepo) lists that closing and IRepo<> (typeArgumentFilter: the rest).
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | Optional: narrow to registrations whose file path contains this substring. | |
| interface | Yes | The interface simple or fully-qualified name, e.g. 'ICodeAnalyzer'. A simple name lists every type of that name; a qualified one ('App.Settings.IPanel') leaves out same-named types of other namespaces and says how many. A closed generic form ('IHandler<Saved>') lists only the registrations serving that closing; 'IHandler' or 'IHandler<T>' lists every closing. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | Include registrations declared in test projects (default false - production focus). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: exactly which registration forms are read vs. skipped (descriptor built elsewhere, AddHttpClient helpers, Scrutor, other containers) and what an empty result means. It is dense and useful, though some phrasing is ambiguous enough to slightly muddy the behavioral picture.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose and exclusions are well front-loaded, but the body is a wall of dense, fragmented sentences with heavy parenthetical nesting ('A key, and a closing, is a service of its own'). Given the tool's complexity some density is warranted, yet several clauses repeat schema content and could be trimmed.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the full burden of explaining the returned JSON and does so in detail (registrations fields, ambiguous, effectiveRegistration, consumer counts, empty-result reasons). It also covers test filtering, making it nearly complete for a complex tool, only undermined slightly by the phantom parameter name.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents interface/sessionId/site/includeTests thoroughly, and the description's interface explanation largely restates it. It also references 'typeArgumentFilter', which is not an actual parameter in the schema, adding confusion rather than meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence gives a specific verb, resource, and scope ('Resolve a Microsoft DI or MEF registration: what is registered for a service, with lifetime and site') and immediately names the three siblings it is not (find_usages, find_implementations, instantiation_sites). An agent can distinguish it from neighbors without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicit exclusions route the agent: usage vs. implementers vs. construction each map to a named alternative tool. It also states the includeTests toggle's effect and the empty-list semantics ('never not registered'), which function as usage rules.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
review_contextGet Review ContextARead-onlyIdempotent
Assemble review context for a set of changed symbols in ONE call: per symbol its fan-in, the transitive change impact with a risk level, the types that implement it (if an interface) and the test methods that likely cover it. It bundles what find_usages, impact_of_change, find_implementations and find_tests_for answer one symbol at a time.
Use this before reviewing or refactoring to see blast radius + test coverage at a glance. It does not name the callers (use find_usages or impact_of_change for that list) and returns no code (use explain_symbol).
Returns a JSON array ordered by symbol NAME - index it by 'symbol', never by request position. Per entry: symbol, resolvedKind, directUsages, transitiveImpact, risk (none/low/medium/high), implementations (names; test doubles are listed too, find_implementations filters them by default), coveringTests (testType, testMethod, project, matchReason), coveringTestsTotal, coveringTestsTruncated. An unresolved name reads resolvedKind 'not_found' with a 'note' and no risk; a 'note' also flags a risk graded on the direct fan-in or on implementers alone. For a bare name several types share, the counts are their union and no note says so - find_usages names the namesakes.
'coveringTests' is find_tests_for's list: strongest evidence first, capped at 50 per symbol. The cap keeps the 50 strongest rows: name guesses go first, strong rows too once there are more than 50. find_tests_for stops at the same 50, so narrow the symbol rather than re-query. 'invokesTotal' (strong rows) and 'dispatchTotal' (rows reaching the symbol through an interface or abstract member) count the WHOLE list and can exceed the rows shown; coveringTestsTotal minus both is the name guesses. For a qualified method, directUsages and transitiveImpact include callers credited through such a member - see 'viaContract' / 'viaContractNote'.
Read-only. Parameters: symbols must not be empty and takes the strings find_usages resolves - a type's simple name, or a member bare or as Type.Member.
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | The changed type/method names to assemble review context for. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover the safety profile (read-only, idempotent, non-destructive), yet the description adds substantial behavioral detail: results are ordered by symbol NAME and indexed by 'symbol' rather than request position, the 50-row cap and its retention policy, invokesTotal/dispatchTotal semantics, 'not_found' handling with notes, union counting for shared bare names, and test doubles included. Very little about runtime behavior is left implicit.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Purpose is front-loaded and nearly every sentence carries unique semantics (ordering key, cap policy, count attribution, namesake caveat). It is, however, a dense unformatted block without headers or bullets, which makes the return-shape details harder to scan than they need to be given the volume.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description carries the full burden and does so: every returned field (symbol, resolvedKind, directUsages, transitiveImpact, risk, implementations, coveringTests and its subfields, coveringTestsTotal/Truncated) is documented along with edge cases like not_found and unioned counts. Nothing an agent needs to interpret the response is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, and the description goes beyond it by stating that symbols must not be empty and that it accepts the exact strings find_usages resolves (a type's simple name, or a member bare or as Type.Member). It does not elaborate on sessionId beyond what the schema already documents.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Opens with a specific verb+resource+scope ('Assemble review context for a set of changed symbols in ONE call') and enumerates exactly what is bundled: fan-in, transitive impact with risk level, implementers, covering tests. It explicitly names the four siblings it consolidates (find_usages, impact_of_change, find_implementations, find_tests_for), so an agent can place it precisely in the toolset.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
States the triggering situation ('Use this before reviewing or refactoring to see blast radius + test coverage at a glance') and gives explicit exclusions with routing alternatives: it does not name callers (use find_usages or impact_of_change) and returns no code (use explain_symbol). When-to-use, when-not-to-use, and alternatives are all present.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
save_sessionSave a Session SnapshotA
Persist the current session's analyzed model as a named Manual snapshot in an aicb DB, so a later session can diff against it with compare_with_previous.
Use it BEFORE a bulk mechanical change (a rename sweep, a signature migration) and call compare_with_previous afterwards. An ordinary edit needs no snapshot: git diff and the tests cover it.
Returns JSON: snapshotId, sessionId, solutionId, name, lineNumbersAvailable and totalSnapshots (the snapshots that DB now holds for this solution).
It writes to the aicb DB, not to the solution's source or configuration: one new snapshot row, plus the solution's record when the DB does not know the solution yet; a DB file that does not exist is created. Nothing is overwritten: every call adds a snapshot under a fresh id, and name is a label, not a key. The snapshot keeps the line spans, but a session recalled from it reports lineNumbersAvailable false: its lines mean 'as analyzed', not the current working tree.
Parameters: sessionId is a live or recalled session's id or an absolute .sln/.slnx/.slnf path. Omit dbPath to use the server's standard config DB (the same one the GUI uses); when the server resolved none, the call fails with 'dbPath is required'.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for this snapshot (e.g. 'before refactor'). | |
| dbPath | No | Optional absolute path to the aicb SQLite DB to persist into. Omit to use the server's standard config DB. | |
| sessionId | Yes | The session_id whose current state to snapshot. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations, the description discloses the write target: the aicb DB, not source or configuration. It explains exactly what is added, that a missing DB file is created, that nothing is overwritten, that every call adds a fresh snapshot id, that name is a label rather than a key, and that recalled snapshots report lineNumbersAvailable false.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with purpose and usage, then return values, write behavior, and parameter nuances. Although detailed, every sentence carries operational information for a stateful snapshot tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
There is no output schema, but the description lists the JSON return fields and explains the persistence semantics. For a non-idempotent DB-writing tool, the description is complete enough for an agent to decide when and how to call it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is already 100%, but the description still adds useful meaning: sessionId may be a live or recalled session id or an absolute solution path, and omitting dbPath uses the server's standard config DB unless none was resolved, in which case the call fails with 'dbPath is required'.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: persist the current session's analyzed model as a named Manual snapshot in an aicb DB. It also names the sibling tool used afterward, compare_with_previous, so the agent can distinguish this from diff/compare tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says to use this before a bulk mechanical change and call compare_with_previous afterwards. It also states that ordinary edits need no snapshot because git diff and tests cover them, giving a clear when-not-to-use condition.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
server_infoGet Server InfoARead-onlyIdempotent
Report this SERVER's own identity and health: name, version, build commit, the config DB's schema version, and drift warnings about the server binary. Needs no session - a reachability smoke-check.
Call it first after connecting and after an update or restart: the commit answers the question the version number cannot - 'is the binary I am talking to built from the code I just landed?'. It says nothing about a solution's configuration (solution_config_status: what is active; check_solution_config_drift: does it still fit the code), about which tools exist (list_skills) or about how they were used (usage_report).
Returns plain text, not JSON. Line 1 is the identity: 'aicb MCP server (AIContextBuilder) v (commit )'. Compare the commit against git rev-parse HEAD (the full sha, so a short hash is its prefix): one version number can cover DIFFERENT builds. A build with no resolvable git revision omits the commit. 'Config DB schema: user_version=N ()' follows when a config DB is resolved.
Then, only when they apply: ANALYZER DRIFT - this build's commit against the HEAD of each repo of a solution this server analyzed, per repo with its solution and HEAD (it cannot tell which is yours); also in-sync and ahead; silent with no session; a repo not knowing this commit gets no line. SCHEMA DRIFT - the config DB's schema is newer than this binary: rebuild or reinstall. PENDING MIGRATION - the reverse: the DB is older; the line says how to migrate it. TOOL POOL DRIFT - the active profile lists tools this binary does not register: a newer build wrote it (rebuild or reinstall) or the tool was retired (re-save the profile). That check is tool-NAME level; a new parameter on an existing tool is not detected, the commit is the finer signal. CONFIG DRIFT - the active MCP profile changed since this server started: restart or reconnect to load the current tools and instructions.
Read-only: it reads the config DB's schema version and, for the analyzer line, queries git in the analyzed solution's repository.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial beyond-schema context: no session required, plain-text rather than JSON return, that it reads the config DB schema version and shells out to git in the analyzed repo, and that analyzer drift is silent without a session. It also discloses a real limitation ('a new parameter on an existing tool is not detected') so the agent knows the boundary of the check.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with identity and the recommended call point before any drift detail, and each drift paragraph pairs a symptom with an action (rebuild, re-save, restart, migrate). The drift block is dense and heavy on parentheticals, running longer than a no-parameter tool strictly requires, but almost every clause carries distinct diagnostic value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description takes on the full burden of explaining the return value and does so precisely: line 1 format, the literal 'Config DB schema: user_version=N' line, the omitted-commit case, and each conditional drift section tied to a remedy. Everything an agent needs to call and interpret the result is present.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Zero parameters with an empty object schema, so there is nothing for the description to disambiguate; the baseline applies. The space it would spend on parameters is instead spent on interpreting the return payload, which is the more useful investment here.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The opening sentence names a specific resource and scope ('this SERVER's own identity and health') and enumerates the exact fields returned: name, version, build commit, config DB schema version, drift warnings. It then explicitly distinguishes itself from three siblings (solution_config_status, check_solution_config_drift, list_skills, usage_report), so an agent can route correctly without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives an explicit trigger ('Call it first after connecting and after an update or restart') plus the reasoning behind the commit check. It also names the tools to use instead for adjacent questions and states the conditions under which drift sections do or do not appear ('silent with no session'), leaving nothing to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
solution_config_statusGet Solution Configuration StatusARead-onlyIdempotent
Check whether a solution's Layer Profile, Exclude-Namespaces and Test Profile have been initialized via the guided setup, and which Layer Profile / Exclusion List / Test Profile is currently active. 'initialized' is an explicit marker for all three slots (stamped by apply_solution_config - it is NOT inferred from having an active id, which a user can also set manually via the Settings panel); the testProfile slot additionally reports the effective per-solution active test-detection profile. Pass the session_id; dbPath is optional - omit it to use the server's default config DB (the same one the GUI uses), if the server resolved one. With no DB (or an empty file) the answer comes from the sidecar and the built-in defaults, and no database is opened or created; a dbPath that does not exist is refused. Each slot names the config IN FORCE for the analysis - resolved exactly as analyze_solution resolves it - and its source: 'db' (the per-solution row or the app-global default), 'sidecar' (the committed .aicb.json applies, which it does whenever the DB configured nothing for the axis - a built-in default is not configuration), 'built-in' (the built-in exclusion list, applied when nothing configured one and no sidecar names one) or 'none' (the heuristic). A repo with a valid .aicb.json sidecar but no DB row reads initialized=true, source:sidecar, not a misleading uninitialized. Use this on solution start: if a slot is not initialized, offer to run init_solution_config + apply_solution_config.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Absolute path to the aicb config/master SQLite DB that holds the per-solution configuration. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one; with none, or an empty file, the sidecar answers alone. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark it read-only, idempotent, non-destructive, and closed-world. The description adds substantial context beyond annotations: initialized is an explicit marker, not inferred from an active id; source values db, sidecar, built-in, none are explained; no DB is opened or created when absent; nonexistent dbPath is refused; and sidecar-only repos are correctly reported as initialized.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded, then behavior and parameter notes follow in a logical order. It is dense and somewhat long for a status tool, with some overlap between description and schema, but most sentences carry useful configuration-resolution detail.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a status tool with no output schema, the description is complete enough: it explains initialization markers, active-profile resolution, source labels, sidecar fallback, DB behavior, and the recommended follow-up when configuration is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents both parameters. The description still adds useful semantics: sessionId should be passed from analyze_solution, dbPath is optional and defaults to the server's config DB, and a nonexistent dbPath is refused — details not fully captured by the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: check whether a solution's Layer Profile, Exclude-Namespaces, and Test Profile are initialized and which profiles are active. It names related tools like apply_solution_config and analyze_solution, making the status-checking role clear without opening schemas.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says to use it on solution start and what to do if a slot is not initialized: offer init_solution_config and apply_solution_config. It also explains when dbPath can be omitted and what happens with no DB or empty file.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
solution_metricsGet Solution MetricsARead-onlyIdempotent
The solution-wide quality rollup in one call - the numbers the CLI '--fail-on' quality gate evaluates. symbol_metrics ranks single methods; list_insights shows the findings behind the severity counts.
Use it for a before/after number, or to try a gate expression.
Returns metrics {typeCount, methodCount, complexityMax, complexityAvg, methodsOverComplexityThreshold, ceMax, caMax}, scope (always 'production'), testMethodCount, testTypeCount, severities {critical, warning, info, ok}, debtMinutes, debtApprox, debtRating, complexityThreshold, qualityProfile, layerProfile (when one is in force), knownGateMetrics and, with failOn, gate {expression, passed, violatedClauses}. degradedProducers appears when an insight producer failed; severities and debt are then incomplete. debtMinutes is a coarse estimate from fixed per-finding rules, not measured effort; debtApprox rounds it (1 d = 8 h).
PRODUCTION code only - test projects, per the session's test profile, are excluded from every number, and testMethodCount / testTypeCount give the excluded side. Types are logical (partial fragments merged, multi-TFM deduplicated); methods exclude constructors and accessors. methodsOverComplexityThreshold counts STRICTLY greater than complexityThreshold, while symbol_metrics' minComplexity is inclusive. ceMax / caMax: coupling maxima (caMaxNote: same-named types could raise caMax). severities count insights - one per producer that found something - not findings. The rollup is NOT triage-filtered: suppressed and dismissed findings still count, as in the CLI gate, so debt and severities can be higher than what list_insights shows.
failOn takes the tokens in knownGateMetrics; this gate is advisory, the blocking one is the CLI's.
Profiles: the active QualityProfile of the config DB in force (see dbPath); the session's layer profile, else the one dbPath (or, omitted, the session's analysis DB) configures. Writes nothing of its own; an older dbPath DB is upgraded on open, as the server's own is at startup. Works on a recalled session.
| Name | Required | Description | Default |
|---|---|---|---|
| dbPath | No | Optional path to an AIContextBuilder SQLite DB. When set, the complexity threshold and producer toggles come from that DB's active QualityProfile (same semantics as list_insights); omit to fall back to the server's default config DB (the GUI's, if resolved), else the default profile. Omitted, the layer profile comes from the config DB the session was analysed against. | |
| failOn | No | Optional quality-gate expression to evaluate against the rollup (CLI '--fail-on' syntax, e.g. 'critical>0 OR debt>120min OR ce-max>50'). An invalid expression or unknown metric is rejected with the known tokens. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations cover only the read-only/idempotent safety profile; the description adds substantial behavior: production-only scope with test counts reported separately, degradedProducers signalling incomplete severities/debt, debtMinutes being a coarse per-finding estimate, severities counting insights not findings, strict vs inclusive threshold semantics, and non-triage-filtered counting of suppressed findings.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded with purpose and routing, and nearly every sentence carries a distinct behavioral fact. It is dense to the point of strain in the closing profiles paragraph, where nested parentheticals ('the one dbPath (or, omitted, the session's analysis DB) configures') slow parsing, but little is genuinely expendable.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, yet the description enumerates the returned fields (metrics, scope, severities, debt, gate, degradedProducers) and their caveats, plus scope/profile behavior and the DB-upgrade side effect. An agent has everything needed to call it and interpret the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description still adds meaning: failOn must use tokens from knownGateMetrics and is rejected with the known tokens on error, and dbPath controls which QualityProfile supplies the threshold. sessionId's .sln path acceptance is only restated from the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: the 'solution-wide quality rollup in one call' that the CLI '--fail-on' gate evaluates. It explicitly distinguishes itself from symbol_metrics (single methods) and list_insights (findings behind severity counts), so an agent can pick it without opening the schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives concrete when-to-use conditions ('a before/after number, or to try a gate expression') and names the two nearest alternatives with the axis that separates them. It also warns that this gate is advisory while the blocking one is the CLI's, which prevents misuse.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
symbol_metricsMeasure Method ComplexityARead-onlyIdempotent
Report method complexity: McCabe CYCLOMATIC complexity (independent paths) and COGNITIVE complexity (how hard the method is to follow: nesting is penalised, boolean-operator runs collapse), plus the parameter count - for one method by name, or as a ranking of the hotspots. solution_metrics gives the solution-wide rollup.
Use it before touching an unfamiliar method, and to find where the complexity sits. Both metrics measure CODE SHAPE, not runtime cost; for a hot path use a profiler.
With symbol (mode 'symbol'): every method unit of that exact, case-sensitive name - bare for all same-named ones, 'Type.Member' for one type's. scope, includeTests, minComplexity and rankByCognitive are ignored. Accessors, constructors and operators answer by metadata name ('get_Items', '.ctor', 'op_Equality'); '.ctor' is every constructor unit of the solution, 'Type..ctor' one type's. Without symbol (mode 'ranked'): methods only, sorted by cyclomatic complexity descending - by cognitive with rankByCognitive=true - and filtered to complexity >= minComplexity (inclusive; 0 = no floor).
Returns scope, mode, metricMeaning, minComplexity, methodsScanned, methods - at most 200 items (name, declaringType, namespace, cyclomaticComplexity, cognitiveComplexity, parameterCount; project when two projects compile one type) - and when they apply 'note', minComplexityBoundary, 'nearest' (a close declared name when a lookup matched no method) and testMethodsFiltered. In a ranking, test-project methods are excluded by default (includeTests=true includes them); testMethodsFiltered counts those that cleared the floor, and the note names the strongest one when it would have ranked inside the shown list. The note also says when the two axes would have listed different methods.
An empty ranking means nothing cleared the floor - or the scope matched nothing: methodsScanned 0, plus a note. An empty lookup means no METHOD of that name; a bare property or type name gets a note saying so.
Read-only; works on a recalled session.
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | When ranking: 'solution' (default) or a namespace prefix to narrow scope. Ignored when symbol is given. | solution |
| symbol | No | Exact (case-sensitive) method name to report - bare (every same-named method) or in the qualified Type.Member form (that type's member only). Omit to rank all methods by complexity. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. | |
| includeTests | No | When ranking: include test-project methods (default false - production hotspots; CC-heavy test harnesses would otherwise skew the top-N). Ignored in the by-name symbol lookup (which always returns the named method). | |
| minComplexity | No | When ranking (no symbol): only include methods whose ranking complexity (cyclomatic, or cognitive when rankByCognitive=true) >= this. 0 (default) = no filter. | |
| rankByCognitive | No | When ranking: rank + filter by COGNITIVE complexity instead of cyclomatic (default false). Both numbers are always present per method; this only changes the sort + minComplexity axis. Ignored in the by-name symbol lookup. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already cover readOnly/idempotent/non-destructive/non-open-world, yet the description adds substantial behavior: a 200-item cap, default exclusion of test-project methods with a rationale, empty-ranking vs empty-lookup semantics, nearest-name notes, and testMethodsFiltered accounting. This is rich context beyond what structured fields provide.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Front-loaded: the first sentence delivers the core purpose and metrics, then modes and return shape follow. It is dense and long with some redundancy against the schema (mode-ignore rules restated), but nearly every sentence carries distinct information for a genuinely complex tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema exists, so the description carries the return-shape burden and does so fully: it enumerates every returned field (scope, mode, metricMeaning, methodsScanned, methods, note, minComplexityBoundary, nearest, testMethodsFiltered) and explains edge-case returns for empty rankings and lookups.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds mode-interaction semantics (scope/includeTests/minComplexity/rankByCognitive are ignored in symbol mode) and the metadata-name convention for accessors/constructors/operators ('get_Items', '.ctor', 'op_Equality') that the schema does not explain. Some of the ignore-when text overlaps the schema's own 'Ignored when symbol is given' notes, capping it below 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource: reports McCabe cyclomatic and cognitive complexity plus parameter count for a method or as a ranking. It explicitly distinguishes itself from the sibling solution_metrics (solution-wide rollup) and from profilers (runtime cost).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives explicit when-to-use ('before touching an unfamiliar method, and to find where the complexity sits') and when-not (for runtime cost use a profiler). Mode selection is spelled out with the exact triggering parameter (symbol present vs absent), so the agent knows which sibling and which mode to pick.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
symbol_signatureGet Symbol SignatureARead-onlyIdempotent
Return a symbol's signature(s) WITHOUT the body: the type declaration, the method/operator signature or a member's declaration (property, field, event, enum member - the last as its qualified Enum.Member form), plus its XML doc and its declaring file + start line - for understanding an API without reading the whole file/body, and for navigating straight to it. 'file' is the fragment's OWN file (for a partial type a method points at the file the METHOD lives in, not at the first type fragment); it is omitted only when the snapshot carries no path. 'line' is where the declaration starts, a leading attribute included; it is null for an enum member and a source-generated property (no line fact is modeled for them). Exact (case-sensitive) name match; multiple results for overloads or name collisions; one declaration compiled in two projects is two results, each with its 'project'. A member also takes 'Type.Member' (that type's only), a type a qualified name ('Ns.Type', 'Outer.Inner') and a constructor 'Type.Type' (kind 'constructor', each declared overload; a primary constructor's line is null, a record's is not listed). A user-defined operator matches by its METADATA name ('op_Equality' / 'op_Implicit' / …). Leaner than get_context (which returns the full source). Returns a capped envelope (items/count/totalFound/truncated), max 50. Matching is EXACT, so a typo or case-mismatch returns an empty list rather than an error - when nothing matched, the response therefore carries a 'nearest' suggestion (the closest declared name), which distinguishes 'you spelled it differently' from 'this symbol genuinely has no signature' - and, where the run skipped generated C# under obj/, a 'generatedSourcesNote' naming the third possibility: the declaration exists in code this index never read.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The exact (case-sensitive) type, method, property, field, event, enum-member or operator name (e.g. 'op_Equality'), bare or qualified ('Type.Member', 'Ns.Type'), or 'Type.Type' for a type's constructors. | |
| sessionId | Yes | The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly/idempotent/non-destructive, but the description adds substantial behavior beyond them: a capped envelope of max 50, exact case-sensitive matching that returns an empty list rather than an error, a 'nearest' suggestion on no-match, and a 'generatedSourcesNote' when generated code was skipped. It also discloses subtle semantics like 'file' pointing at the fragment's own file for partial types and 'line' being null for enum members and source-generated properties.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose is front-loaded in the first clause, which is good, but the remainder is an unusually long, unstructured run of edge cases crammed into a single dense block. For a 2-parameter tool the volume is high and hard to scan, though most sentences do carry distinct information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
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 carries the full burden of explaining returns — and it does: the items/count/totalFound/truncated envelope, the 50 cap, multiple results for overloads/collisions, per-project duplication, and the nearest/generatedSourcesNote fields. An agent has everything needed to call this correctly and interpret results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so both parameters are already documented, giving a baseline of 3. The description goes beyond that by specifying operator matching via metadata names ('op_Equality', 'op_Implicit'), constructor form 'Type.Type', qualified names ('Ns.Type', 'Outer.Inner'), and the exactness/case-sensitivity of matching — real added meaning over the schema text.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first clause names a specific verb+resource ('Return a symbol's signature(s) WITHOUT the body') and immediately enumerates exactly what forms are returned (type declaration, method/operator signature, member declaration, enum member) plus the attached XML summary and file/line. An agent can distinguish this from get_context and find_symbol without opening any schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It states the intended use case ('for understanding an API without reading the whole file/body, and for navigating straight to it') and explicitly routes away from get_context ('Leaner than get_context (which returns the full source)'). It lacks an explicit when-not-to-use clause (e.g. when you actually need the body, use get_context), 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.
usage_reportReport Tool UsageARead-onlyIdempotent
Report the server-side tool-call telemetry: what the CallTool filter recorded into the config DB's tool_calls table, across every client that used this DB - not this conversation's transcript. list_skills shows the pool; this shows what was called.
Use it to see how often, how reliably and at what cost each tool is used. READ THE SCOPE FIRST: the filter sits on the tools/call pipeline. A one-shot aicb call writes the same row under the client name 'aicb-call' when given a --db-path, and nothing without one. A sub-query inside batch or measure records the PARENT call and no child row. So every count here is a LOWER BOUND, and a tool at 0 was not called THROUGH THIS DOOR rather than not called. A batch parent's row does carry a tally of its sub-queries, returned as subQueries: read it before calling a tool unused.
Returns totals (totalCalls, errorCalls, errorRatePct, distinctTools, distinctSessions, clientSessions, firstTs, lastTs, clients, serverVersions); tools, ranked by calls, each with errors, duration (ms) and result size (chars) as average, p50, p90 and max, plus - when non-zero - errorClasses (exception type names; McpException is a failure the tool raised on purpose), argumentBindingErrors (an argument the tool does not have), ignoredArgumentCalls (the call answered anyway) and aliasApplied; protocolVersions and clientEras (who called, on which protocol revision); facets; subQueries; recordedVia; and poolCoverage (poolSize, poolToolsFired, poolToolsNeverCalled, outOfPoolTools). Read coverage THERE, not from distinctTools: that figure counts every tool called including ones outside the pool, so holding it against the pool size overstates coverage.
The answer carries shapes only - names, counts, exception type names - no code, no argument values and no session reference. Without a readable config DB it answers available:false.
Read-only and session-less. sinceDays narrows every figure to the last N days (1..3650, so 0 means one day; omit it for the whole log); the cutoff comes back as windowSinceIso.
| Name | Required | Description | Default |
|---|---|---|---|
| topTools | No | Cap on the per-tool breakdown, ranked by call count (default 30; clamped to 1..200). | |
| sinceDays | No | Only count calls from the last N days (omit for the whole log; clamped to 1..3650). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already say readOnly/idempotent/non-destructive, and the description adds behaviour the annotations cannot: every count is a lower bound, batch parents record subQueries tallies instead of child rows, the response is shapes-only (no code, no argument values, no session refs), and an unreadable config DB yields available:false. This is exactly the extra context the lower annotation bar asks for.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Five dense paragraphs are justified for a tool with this many semantic traps, and the scope warning is front-loaded with a 'READ THE SCOPE FIRST' marker. The long parenthetical enumerations of return fields are heavy prose that could be tightened, but almost every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema and only two parameters, the description carries the full burden of explaining returns and does so: totals, per-tool percentiles, errorClasses, argumentBindingErrors, poolCoverage, subQueries, recordedVia, and the available:false fallback. Nothing an agent needs to interpret or trust the report is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so sinceDays and topTools are already documented, but the description adds semantics beyond the schema: that omitting sinceDays means the whole log, that the cutoff is echoed as windowSinceIso, and that every figure is narrowed by the window. It leaves topTools entirely to the schema, so it stops short of a 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Report the server-side tool-call telemetry ... recorded into the config DB's tool_calls table') and explicitly bounds the scope against the conversation transcript and against the sibling list_skills ('list_skills shows the pool; this shows what was called'). An agent can distinguish it from every neighbouring tool without opening a schema.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Gives a use case ('to see how often, how reliably and at what cost each tool is used'), a routing rule versus list_skills, and an explicit anti-misuse warning about reading poolCoverage rather than distinctTools. It also names the situations that produce misleading zeros (one-shot aicb call without --db-path, sub-queries inside batch/measure), which is usage guidance of an unusually high order.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
verify_claimVerify a Claim About a ChangeARead-onlyIdempotent
Verify a structured claim about a change by diffing two analyzed sessions (baseline → changed). Supported claim types (MVP): 'no_new_api' (no types/methods were ADDED AND no method signatures changed) and 'symbol_removed_unused' (the named symbol was removed AND had no usages in the baseline's static fan-in graph). Returns a verdict of confirmed / refuted / indeterminate with a reason + evidence. NOTE THE SCOPE OF 'no_new_api': it is about ADDITIONS and SIGNATURE CHANGES, so a REMOVAL does not refute it - a change set that only deletes public API is legitimately 'confirmed'. Removals are therefore never silent: the reason states the boundary and every removal the same diff records is listed as evidence, prefixed '-'. For the removal question ask verify_claim(symbol_removed_unused), or diff_public_contract (outside the default profile's pool). Conservative in BOTH directions: what the diff cannot prove is never falsely confirmed - and never falsely refuted either, because 'was not removed' is a claim about the change that is only made once the string resolves to something this diff could report on. A name that resolves to nothing, a property/field/event/enum member (the diff models types and methods only), and the simple name of a removed type the diff had to render by its FULL name because it is ambiguous, each return 'indeterminate' naming that cause - not a confident 'was not removed'. A removed method whose only baseline callers called an interface or abstract member it implemented (find_usages' viaContract) is 'indeterminate' too: such a call ran its body only when the instance was of its type, and the reason says whether that credit was exact. Baseline and changed must be two states: the same session twice, or two sessions of one solution with an equal file-set hash and an empty diff, answers 'indeterminate' and says so. Unsupported claim types return indeterminate.
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | The symbol name the claim is about (required for symbol_removed_unused) - a bare name or the qualified Type.Member form, the same strings find_usages / impact_of_change / find_tests_for resolve. A removed type whose simple name is ambiguous solution-wide is recorded under its FULL name; pass that full name for it. A namespace-qualified TYPE name is accepted here even when nothing was removed - this tool resolves it against the baseline's declared type identities, which the fan-in tools (simple name only) do not, and the answer then names the simple name to carry on with. A dotted name no namespace declares stays unresolved rather than falling back to whatever type carries its last segment. | |
| claimType | Yes | Claim type: 'no_new_api' or 'symbol_removed_unused'. | |
| changedSessionId | Yes | The changed session_id (after the change). | |
| baselineSessionId | Yes | The baseline session_id (before the change). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond the read-only annotations, it discloses verdict states, evidence behavior, conservative indeterminate causes, session-state requirements, ambiguity handling, and viaContract limitations. Nothing contradicts 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The purpose and supported claim types are front-loaded, and the detail is mostly justified by the tool's complexity. However, the description is dense and repetitive in places, especially around the conservative indeterminate cases.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a complex verification tool with no output schema, the description explains return values, indeterminate conditions, evidence, and edge cases thoroughly. An agent has enough information to call it correctly and interpret likely outcomes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the baseline is 3, but the description adds meaningful semantics for `symbol`, including required usage for symbol_removed_unused and accepted qualified-name forms. It also explains claim-type behavior beyond the schema enum-like text.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource: verify a structured claim about a change by diffing two analyzed sessions. It names the supported claim types and distinguishes this tool from alternatives such as diff_public_contract and find_usages.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly says when to use each claim type, when to use the alternative diff_public_contract, and that unsupported claim types return indeterminate. The 'no_new_api' scope note directly prevents misuse for removal questions.
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.
6 tool updates
v0.5.46517- Changed
call_graph1 field changed- changed
Input schema / properties / method / descriptionPrevious value: -"The root method's name."New value: +"The root method's name, bare or as 'Type.Method'."
- Changed
find_resource_usages2 fields changed- changed
Input schema / properties / key / descriptionPrevious value: -"The exact (case-sensitive) resource key, e.g. 'TextPrimaryBrush'. Omit for the audit view (never-referenced keys + same-file collisions)."New value: +"The exact (case-sensitive) resource key, e.g. 'TextPrimaryBrush'. Omit for the audit view (never-referenced keys, same-file collisions, keys no markup defines)." - changed
Input schema / properties / scope / descriptionPrevious value: -"'solution' (default) or a view-path substring (e.g. 'AIContextBuilder.UI/') to narrow which files are reported. In the audit view the scope narrows the DEFINITIONS under audit; references still count solution-wide, so a key referenced outside the scope is not a false orphan."New value: +"'solution' (default) or a view-path substring (e.g. 'AIContextBuilder.UI/') to narrow which files are reported. In the audit view the scope narrows the DEFINITIONS under audit; references still count solution-wide, so a key referenced outside the scope is not a false orphan. For the keys no markup defines it is the other way round: the scope narrows the REFERENCES under audit, and a definition anywhere in the solution counts."
- Changed
list_insights1 field changed- changed
Input schema / properties / files / descriptionPrevious value: -"Optional C# files, each absolute or relative to the solution folder: the answer keeps the findings about the types these files declare and becomes an object {files, notInSolution, insights}. 'files' are the ones the solution holds, solution-relative; 'notInSolution' the ones it does not (a deleted or non-C# file, a typo), as given. Each insight carries its in-scope 'details' with 'detailLocators' (up to 20, then a '(... and N more)' line), and 'detailsCount' counts the in-scope lines; 'title', 'remediationCostMinutes' and 'suppressed' stay the whole-solution numbers. A line matches by its locator's simple type name, so a same-named type elsewhere matches too; a line with no type locator is left out, while an insight about the solution as a whole (no lines, no type locator) stays, with detailsCount 0. Omitted or empty: the solution-wide array above."New value: +"Optional C# files, each absolute or relative to the solution folder: the answer keeps the findings about the types these files declare and becomes an object {files, notInSolution, insights}. 'files' are the ones the solution holds, solution-relative; 'notInSolution' the ones it does not (a deleted or non-C# file, a typo), as given. Each insight carries its in-scope 'details' with 'detailLocators' (up to 20, then a '(... and N more)' line), and 'detailsCount' counts the in-scope lines; 'title', 'remediationCostMinutes' and 'suppressed' stay the whole-solution numbers. A line matches by its locator's simple type name, so a same-named type elsewhere matches too; a line about a file of top-level statements matches by that file; any other line with no type locator is left out, while an insight about the solution as a whole (no lines, no type locator) stays, with detailsCount 0. Omitted or empty: the solution-wide array above."
- Changed
resolve_injection1 field changed- changed
Input schema / properties / interface / descriptionPrevious value: -"The interface simple or fully-qualified name, e.g. 'ICodeAnalyzer'. A closed generic form ('IHandler<Saved>') lists only the registrations serving that closing; 'IHandler' or 'IHandler<T>' lists every closing."New value: +"The interface simple or fully-qualified name, e.g. 'ICodeAnalyzer'. A simple name lists every type of that name; a qualified one ('App.Settings.IPanel') leaves out same-named types of other namespaces and says how many. A closed generic form ('IHandler<Saved>') lists only the registrations serving that closing; 'IHandler' or 'IHandler<T>' lists every closing."
- Changed
solution_config_status1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Absolute path to the aicb config/master SQLite DB that holds the per-solution configuration. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one."New value: +"Absolute path to the aicb config/master SQLite DB that holds the per-solution configuration. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one; with none, or an empty file, the sidecar answers alone."
- Changed
symbol_signature1 field changed- changed
Input schema / properties / symbol / descriptionPrevious value: -"The exact (case-sensitive) type, method, property, field, event, enum-member or operator name (e.g. 'op_Equality'), bare or qualified ('Type.Member', 'Ns.Type')."New value: +"The exact (case-sensitive) type, method, property, field, event, enum-member or operator name (e.g. 'op_Equality'), bare or qualified ('Type.Member', 'Ns.Type'), or 'Type.Type' for a type's constructors."
4 tool updates
v0.5.46516- Changed
find_implementations1 field changed- added
Input schema / properties / typeArgumentBaseAdded value: +{ + "default": null, + "description": "Optional: keep only the types that close the generic interface with a type argument that is this type or derives from or implements it - a simple name, case-sensitive, with an arity suffix for a generic ('DeletedNotification<T>', 'ICancelableNotification'). Only solution types form the family; when none matches, typeArgumentBaseFilter carries a note.", + "type": [ + "string", + "null" + ] +}
- Changed
find_usages1 field changed- added
Input schema / properties / includeTestsAdded value: +{ + "default": true, + "description": "Include users declared in test projects (default true). false lists production users only, BEFORE the 100-item cap, and 'testUsersFiltered' says how many were left out; viaContract keeps counting every caller.", + "type": "boolean" +}
- Changed
get_diagnostics3 fields changed- added
Input schema / properties / runSuppressorsAdded value: +{ + "default": false, + "description": "Run the DiagnosticSuppressors the projects' analyzer references declare, as a real build does, so a diagnostic they suppress is not counted. Off by default: a suppressor is code of the analyzed solution and runs inside this server (see SECURITY.md); the answer's suppressors member says where it would matter.", + "type": "boolean" +} - changed
Input schema / properties / severityFloor / defaultPrevious value: -"warning"New value: +"auto" - changed
Input schema / properties / severityFloor / descriptionPrevious value: -"Minimum severity to include: 'error', 'warning' (default), 'info', or 'hidden'."New value: +"Minimum severity to include: 'auto' (default), 'error', 'warning', 'info', or 'hidden'. 'auto' counts warnings as 'warning' does, but when the compile has errors it lists only the errors (warningsNotListed says how many warnings it left out of the list); 'warning' lists both."
- Changed
list_insights1 field changed- added
Input schema / properties / filesAdded value: +{ + "default": null, + "description": "Optional C# files, each absolute or relative to the solution folder: the answer keeps the findings about the types these files declare and becomes an object {files, notInSolution, insights}. 'files' are the ones the solution holds, solution-relative; 'notInSolution' the ones it does not (a deleted or non-C# file, a typo), as given. Each insight carries its in-scope 'details' with 'detailLocators' (up to 20, then a '(... and N more)' line), and 'detailsCount' counts the in-scope lines; 'title', 'remediationCostMinutes' and 'suppressed' stay the whole-solution numbers. A line matches by its locator's simple type name, so a same-named type elsewhere matches too; a line with no type locator is left out, while an insight about the solution as a whole (no lines, no type locator) stays, with detailsCount 0. Omitted or empty: the solution-wide array above.", + "items": { + "type": [ + "string", + "null" + ] + }, + "type": [ + "array", + "null" + ] +}
10 tool updates
v0.5.46514- Changed
analyze_solution1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Optional absolute path to a config/master DB. When given, the DB's CONFIGURED namespace-exclusion list (per-solution row, else app-global default) is applied during analysis, same as the CLI; where the DB configured none, the committed .aicb.json sidecar's list applies, and only without a sidecar the DB's built-in default (a built-in default is not configuration - solution_config_status names the list in force and its source); the DB's active test-detection profile (per-solution > global > default) is resolved for the session so the test-aware tools (find_dead_code / coverage_gaps / symbol_metrics / find_tests_for / find_by_side_effects / assert_absence / prepare_task / list_insights / get_insight / solution_metrics) honor it; AND - unless an explicit layerProfile is given - the DB's active layer-mapping profile (per-solution > app-global) drives the analysis (dependency-graph layers + LAYER_MAP), matching the insights/metrics/CLI-gate path. All three travel with the session, so downstream tools honor them without re-passing dbPath. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one - so the GUI's per-solution exclusions + test + layer profile apply automatically; else the DB-free default (no exclusions, default test heuristic, role-based layers). When a config DB is resolved and a config axis (layer/exclusions/test) is not yet initialized via the guided setup, the response carries a configInit hint pointing to solution_config_status."New value: +"Optional absolute path to a config/master DB. When given, the DB's CONFIGURED namespace-exclusion list (per-solution row, else app-global default) is applied during analysis, same as the CLI; where the DB configured none, the committed .aicb.json sidecar's list applies, and only without a sidecar the DB's built-in default (a built-in default is not configuration - solution_config_status names the list in force and its source); the DB's active test-detection profile (per-solution > global > default) is resolved for the session so the test-aware tools (find_dead_code / coverage_gaps / symbol_metrics / find_tests_for / find_by_side_effects / assert_absence / prepare_task / list_insights / get_insight / solution_metrics) honor it; AND - unless an explicit layerProfile is given - the DB's active layer-mapping profile (per-solution > app-global) drives the analysis (dependency-graph layers + LAYER_MAP), matching the insights/metrics/CLI-gate path. All three travel with the session, so downstream tools honor them without re-passing dbPath. Omit to use the server's default config DB (the same one the GUI uses), if the server resolved one - so the GUI's per-solution exclusions + test + layer profile apply automatically; else the DB-free default (the built-in exclusion list, default test heuristic, role-based layers). When a config DB is resolved and a config axis (layer/exclusions/test) is not yet initialized via the guided setup, the response carries a configInit hint pointing to solution_config_status."
- Changed
evaluate_change_set1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND its configured default layer profile (per-solution > app-global) drives the layer-violation analysis on BOTH delta sides (an explicit analyze_solution(layerProfile) wins); omit to fall back to the server's default config DB (the GUI's, if the server resolved one), else the default profile + session axes."New value: +"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND its configured default layer profile (per-solution > app-global) drives the layer-violation analysis on BOTH delta sides (an explicit analyze_solution(layerProfile) wins); omit to fall back to the server's default config DB (the GUI's, if the server resolved one), else the default profile + session axes, and the layer profile to the config DB the session was analysed against - the one its renders read."
- Changed
export_markdown1 field changed- changed
Input schema / properties / format / descriptionPrevious value: -"Optional inner notation of the rendered Markdown: 'tag' (the established AI-Builder tag format) or 'yaml' (idiomatic YAML - a lossless re-notation, not a different selection of content). Pick whichever notation you parse more reliably. When given, this explicit value wins; when omitted, the active MCP profile's OutputFormat is used (profile-aware path), else yaml (the DB-free default). The .md branding is unchanged; an unrecognized explicit value falls back to tag."New value: +"Optional inner notation of the rendered Markdown: 'tag' (the established AI-Builder tag format) or 'yaml' (idiomatic YAML - a lossless re-notation, not a different selection of content). Pick whichever notation you parse more reliably. When given, this explicit value wins; when omitted, the active MCP profile's OutputFormat is used (profile-aware path), else yaml (the DB-free default). The .md branding is unchanged. Any other value counts as omitted: the profile's format (else yaml) applies, and the response starts with a note naming the ignored value."
- Changed
find_implementations1 field changed- changed
Input schema / properties / interfaceName / descriptionPrevious value: -"The interface's simple name, e.g. 'ICodeAnalyzer'. An arity suffix ('IConsumer`1' / 'IConsumer<T>', or 'IConsumer`0' for the non-generic namesake) filters to that arity; a bare name keeps the merged view of every arity."New value: +"The interface's simple name, e.g. 'ICodeAnalyzer'. An arity suffix ('IConsumer`1' / 'IConsumer<T>', or 'IConsumer`0' for the non-generic namesake) filters to that arity; a bare name keeps the merged view of every arity. A concrete type argument ('IConsumer<OrderPlaced>') keeps only the types that close it with that argument."
- Changed
find_usages1 field changed- changed
Input schema / properties / symbol / descriptionPrevious value: -"The exact (case-sensitive) type, method, property, field, event or enum-member name - the qualified Type.Member form for a member - or 'Type.Type' for a type's CONSTRUCTOR (see the tool description: the answer is the type's construction/injection sites, overloads unioned)."New value: +"The exact (case-sensitive) type, method, property, field, event, enum-member or operator (metadata) name - the qualified Type.Member form for a member - or 'Type.Type' for a type's CONSTRUCTOR (see the tool description: the answer is the type's construction/injection sites, overloads unioned)."
- Changed
get_insight1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins); omit to fall back to the server's default config DB (the GUI's, if resolved), else the default profile + the explicit session layer profile."New value: +"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins). Omitted, the QualityProfile falls back to the server's default config DB (the GUI's, if resolved), else the default profile, and the layer profile to the config DB the session was analysed against - the one its renders read."
- Changed
impact_of_change1 field changed- changed
Input schema / properties / symbol / descriptionPrevious value: -"The exact (case-sensitive) type, method, property, field, event or enum-member name to assess - or the qualified Type.Member form for a member."New value: +"The exact (case-sensitive) type, method, property, field, event, enum-member or operator (metadata) name to assess - or the qualified Type.Member form for a member."
- Changed
list_insights1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins); omit to fall back to the server's default config DB (the GUI's, if resolved), else the default profile + the explicit session layer profile."New value: +"Optional path to an AIContextBuilder SQLite DB. When set, producer thresholds + toggles come from that DB's active QualityProfile AND the configured default layer profile (DefaultLayerProfileName / per-solution) drives the layer-violation analysis (an explicit analyze_solution(layerProfile) wins). Omitted, the QualityProfile falls back to the server's default config DB (the GUI's, if resolved), else the default profile, and the layer profile to the config DB the session was analysed against - the one its renders read."
- Changed
resolve_injection1 field changed- changed
Input schema / properties / interface / descriptionPrevious value: -"The interface simple or fully-qualified name, e.g. 'ICodeAnalyzer'."New value: +"The interface simple or fully-qualified name, e.g. 'ICodeAnalyzer'. A closed generic form ('IHandler<Saved>') lists only the registrations serving that closing; 'IHandler' or 'IHandler<T>' lists every closing."
- Changed
solution_metrics1 field changed- changed
Input schema / properties / dbPath / descriptionPrevious value: -"Optional path to an AIContextBuilder SQLite DB. When set, the complexity threshold and producer toggles come from that DB's active QualityProfile (same semantics as list_insights); omit to fall back to the server's default config DB (the GUI's, if resolved), else the default profile."New value: +"Optional path to an AIContextBuilder SQLite DB. When set, the complexity threshold and producer toggles come from that DB's active QualityProfile (same semantics as list_insights); omit to fall back to the server's default config DB (the GUI's, if resolved), else the default profile. Omitted, the layer profile comes from the config DB the session was analysed against."
48 tool updates
v0.5.46513- Changed
analyze_solution1 field changed- changed
Input schema / properties / solutionPath / descriptionPrevious value: -"Absolute path to the .sln file to analyze."New value: +"Absolute path to the solution file to analyze (.sln, .slnx or .slnf)."
- Changed
apply_solution_config1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
architecture_overview1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
assert_absence1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
batch1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution (or an absolute .sln path to self-init once). Shared by ALL sub-queries - do NOT repeat it inside each query's args."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. Shared by ALL sub-queries - do NOT repeat it inside each query's args."
- Changed
call_graph1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
calls_external1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
check_solution_config_drift1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
compare_with_previous1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The current session_id (the 'after' side of the diff)."New value: +"The current session_id (the 'after' side of the diff). Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
coverage_gaps1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
describe_api_surface1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
detect_circular_dependencies2 fields changed- changed
Input schema / properties / includeTests / descriptionPrevious value: -"Include test projects (default FALSE - production focus: a test->production reference is one-way and not an architecture cycle). Set true to include *.Tests/*.Spec projects."New value: +"Include test projects (default FALSE - production focus: a test->production reference is one-way and not an architecture cycle). Set true to include them." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
evaluate_change_set1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution (the baseline)."New value: +"The session_id returned by analyze_solution (the baseline). Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
explain_symbol1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
export_markdown1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_binding_usages2 fields changed- changed
Input schema / properties / path / descriptionPrevious value: -"The exact (case-sensitive) bound member path, e.g. 'GestureLabel' or 'Foo.Bar'. Omit for the inventory view (every bound path with its site counts)."New value: +"The exact (case-sensitive) bound member path, e.g. 'GestureLabel' or 'Foo.Bar'. Omit for the inventory view (every bound root member with its site counts)." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_by_attribute1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_by_event_subscription1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_by_semantics4 fields changed- changed
Input schema / properties / domain / descriptionPrevious value: -"Match symbols whose resolved Domain contains this (free text - derived from naming/namespace). Omit to not filter on domain."New value: +"Match symbols whose resolved Domain contains this (free text, set by an <ai> annotation - nothing infers it). Omit to not filter on domain." - changed
Input schema / properties / layer / descriptionPrevious value: -"Match symbols whose resolved Layer EQUALS this (whole value, case-insensitive). Clean-Architecture layers: Domain / Application / Infrastructure / Presentation / Contracts. Omit to not filter on layer."New value: +"Match symbols whose resolved Layer EQUALS this (whole value, case-insensitive). The built-in inference assigns Domain / Application / Infrastructure / Presentation / Contracts; a layer profile adds its own names. Omit to not filter on layer." - changed
Input schema / properties / role / descriptionPrevious value: -"Match symbols whose resolved Role EQUALS this (whole value, case-insensitive). Inferred TYPE roles (closed set): Service, Helper, Model, Record, Interface, Enum, Builder, ViewModel, Converter, Controller, Middleware, Attribute, Exception, EntryPoint, ContractModel, Type - there is NO 'Repository' (repositories are 'Service'). Methods use a category role (e.g. Query, Command, Mapping, Validation). <ai>-asserted roles may differ. Omit to not filter on role."New value: +"Match symbols whose resolved Role EQUALS this (whole value, case-insensitive). Inferred TYPE roles: Service, Helper, Model, Record, Interface, Builder, ViewModel, Converter, Controller, Middleware, Attribute, Exception, EntryPoint, ContractModel, Type - there is NO 'Repository' (a repository class is mostly 'Service'), and an enum gets no role. Methods use a category role (e.g. Query, Command, Mapping, Validation, Orchestration). <ai>-asserted roles add values of their own. Omit to not filter on role." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_by_side_effects2 fields changed- changed
Input schema / properties / includeTests / descriptionPrevious value: -"Include test-project methods (default false - production focus: a 'what hits the DB?' query is otherwise drowned by Seed*/Migrate_*/*RepositoryTests). Set true to also list methods in *.Tests/*.Spec projects."New value: +"Include test-project methods (default false - production focus: a 'what hits the DB?' query is otherwise drowned by Seed*/Migrate_*/*RepositoryTests). Set true to also list the methods of test projects." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_dead_code2 fields changed- changed
Input schema / properties / kinds / descriptionPrevious value: -"'method' (default) private methods with no caller · 'type' types with no incoming reference · 'all' both."New value: +"'method' (default): private methods with a measured, empty caller list - see the description for what that axis does not judge; 'type': types with no incoming reference; 'all': both." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_implementations1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_overrides1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_resource_usages1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_symbol1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_tests_for1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_unresolved_bindings1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
find_usages1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
get_context1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
get_diagnostics2 fields changed- changed
Input schema / properties / scope / descriptionPrevious value: -"'solution' (default) or a file-path substring (e.g. 'MyApp.Core' or 'Services/') that filters the RESULT. It does not reduce the work: all projects are compiled either way (see the tool description) - it saves response tokens, not latency."New value: +"'solution' (default) or a file-path substring (e.g. 'MyApp.Core' or 'Settings.cs') that filters the RESULT. It is matched against a diagnostic's location as the answer prints it, so a directory separator is a backslash on Windows. It does not reduce the work: all projects are compiled either way (see the tool description) - it saves response tokens, not latency." - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
get_insight1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
get_type_hierarchy1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
impact_of_change1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
init_solution_config1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
install_agent_hooks1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"Session id, or the absolute .sln/.slnx/.slnf path (self-init)."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
instantiation_sites1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
list_insights1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
measure1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution (or an absolute .sln path to self-init once). Shared by ALL queries - do NOT repeat it inside each query's args."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use. Shared by ALL queries - do NOT repeat it inside each query's args."
- Changed
pack_for_task1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
prepare_task3 fields changed- changed
Input schema / properties / budget / descriptionPrevious value: -"Optional token budget (floored at 8000). Applies to BOTH the lean and the profile-aware template render path: it compacts/drops method bodies AND drops the least-relevant types when the neighborhood overflows. The goal-named seeds are never dropped - one whose own source does not fit renders as structure (members and signatures); the bundled covering tests/siblings are BUDGET-BOUND - under a tight budget they are dropped to fit (a leading comment names the drops so you can ask for one by name). Overrides any MCP-profile/template token budget. Omitted, the bundle still renders against a ceiling (the MCP profile's token budget, else the facet template's, else a ~10000-token default budget) that bounds the neighborhood."New value: +"Optional token budget (floored at 8000). Applies to BOTH the lean and the profile-aware template render path: it compacts/drops method bodies AND drops the least-relevant types when the neighborhood overflows. A type the goal names, and the one owner of a method name it names, is never dropped - one whose own source does not fit renders as structure (members and signatures). The owners of a method name several types share are capped like the neighborhood: some are reduced to structure, some dropped. The bundled covering tests/siblings are BUDGET-BOUND - under a tight budget they are dropped to fit (a leading comment names the drops so you can ask for one by name). Overrides any MCP-profile/template token budget. Omitted, the bundle still renders against a ceiling (the MCP profile's token budget, else the facet template's, else a ~10000-token default budget) that bounds the neighborhood." - changed
Input schema / properties / facet / descriptionPrevious value: -"Optional facet to work under - the task axis of this call: General (default), Exploration, Refactoring, Debugging, Review, Testing, Documentation, Architecture, or Performance. On a profile-aware server (aicb mcp --db-path) the facet's template shapes the render; it always appends a short work-style trailer with suggested next tools. (The former name 'slot' is still accepted.)"New value: +"Optional facet to work under - the task axis of this call: General (default), Exploration, Refactoring, Debugging, Review, Testing, Documentation, Architecture, or Performance. On a server with a config DB (the default: a plain 'aicb mcp' resolves the standard one) the facet's template shapes the render; it always appends a short work-style trailer with suggested next tools. (The former name 'slot' is still accepted.)" - changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
refresh_session1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
resolve_injection1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
review_context1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
save_session1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id whose current state to snapshot."New value: +"The session_id whose current state to snapshot. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
solution_config_status1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
solution_metrics1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
symbol_metrics1 field changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use."
- Changed
symbol_signature2 fields changed- changed
Input schema / properties / sessionId / descriptionPrevious value: -"The session_id returned by analyze_solution."New value: +"The session_id returned by analyze_solution. Also takes an absolute .sln/.slnx/.slnf path, analyzed on first use." - changed
Input schema / properties / symbol / descriptionPrevious value: -"The exact (case-sensitive) type, method, property, field, event, enum-member or operator name (e.g. 'op_Equality')."New value: +"The exact (case-sensitive) type, method, property, field, event, enum-member or operator name (e.g. 'op_Equality'), bare or qualified ('Type.Member', 'Ns.Type')."
54 tool updates
- First observed
analyze_solution - First observed
apply_solution_config - First observed
architecture_overview - First observed
assert_absence - First observed
batch - First observed
call_graph - First observed
calls_external - First observed
check_solution_config_drift - First observed
compare_with_previous - First observed
coverage_gaps - First observed
describe_api_surface - First observed
detect_circular_dependencies - First observed
docs - First observed
evaluate_change_set - First observed
explain_symbol - First observed
export_markdown - First observed
find_binding_usages - First observed
find_by_attribute - First observed
find_by_event_subscription - First observed
find_by_semantics - First observed
find_by_side_effects - First observed
find_dead_code - First observed
find_implementations - First observed
find_overrides - First observed
find_resource_usages - First observed
find_symbol - First observed
find_tests_for - First observed
find_unresolved_bindings - First observed
find_usages - First observed
get_context - First observed
get_diagnostics - First observed
get_insight - First observed
get_type_hierarchy - First observed
impact_of_change - First observed
init_solution_config - First observed
install_agent_hooks - First observed
instantiation_sites - First observed
list_insights - First observed
list_mcp_profiles - First observed
list_skills - First observed
measure - First observed
pack_for_task - First observed
prepare_task - First observed
refresh_session - First observed
resolve_injection - First observed
review_context - First observed
save_session - First observed
server_info - First observed
solution_config_status - First observed
solution_metrics - First observed
symbol_metrics - First observed
symbol_signature - First observed
usage_report - First observed
verify_claim
TDQS
Scored across 54 tools
Most tools target a genuinely distinct question (find_usages vs impact_of_change vs call_graph, resolve_injection vs instantiation_sites), and descriptions actively cross-reference each other to steer selection. But several clusters overlap heavily: get_context / explain_symbol / pack_for_task / prepare_task / export_markdown / architecture_overview all return code context, and find_usages / review_context / impact_of_change / call_graph all answer 'who depends on this'. The disambiguation burden is pushed onto long prose instructions rather than tool identity, so misselection is plausible for an agent that skims.
All names are consistently snake_case, and the majority follow a verb_noun shape (find_usages, impact_of_change, list_insights, analyze_solution, refresh_session). Deviations exist in form rather than casing: bare nouns/verbs (measure, batch, docs) and noun_phrase names (symbol_metrics, coverage_gaps, architecture_overview, server_info, usage_report). Readable and predictable enough, but not a uniform pattern.
54 tools is far past the point where a flat tool list is navigable, and several are near-siblings that exist only to save round-trips (review_context vs four single-symbol tools; measure vs batch). The server does provide a pool/profile mechanism (list_skills, list_mcp_profiles) and explicitly notes some tools sit outside the default pool, which mitigates but does not fix the sprawl. The surface is heavy relative to what an agent can reliably pick from.
For a Roslyn code-intelligence domain the coverage is unusually deep: symbol search, fan-in/fan-out, impact, hierarchy, overrides, implementations, DI resolution, instantiation, tests, coverage gaps, insights, complexity metrics, XAML bindings/resources, namespace cycles, config lifecycle and session snapshots. Gaps are minor and mostly write-side or profile-gated (no rename/apply refactor tool, apply_change_set and diff_public_contract are referenced as out of pool). Agents can work around these via the advisory gate plus external tooling.
Maintenance
Related MCP Connectors
Deterministic context layer for your codebase: change impact, blast radius, answers with receipts.
Ask a codebase what calls what: search, blast radius, paths between symbols, and diffs.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Search indexed code, trace dependencies, assess change impact, and recall repository memory.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceProvides efficient code navigation and graph-based analysis for AI agents, enabling symbol resolution, callers, implementations, and type schemas with minimal token usage.-
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents and IDEs to query a local structural code graph and retrieve focused, token-bounded context on code entities, Git relationships, callers/callees, impact, paths, and recorded mistakes for more efficient sessions.67 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to retrieve bounded, focused context from a local structural code graph, including source entities, Git relationships, and recorded project memory. It supports exploring structure, inspecting callers, callees, and impact, and carrying prior mistakes into later sessions without reading full files.67 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables AI coding agents to query a local structural code graph and receive focused, token-bounded context about source entities, relationships, Git co-change, and selected project memory without reading full files.67 npmMIT