Skip to main content
Glama

T-Zero

High-performance AST context pruner & MCP server for AI coding assistants.
Reduces codebase prompt tokens by up to 94.9% while preserving complete class contracts, typed signatures, and cross-file dependencies.

PyPI Version PyPI Downloads Python Version TDQS Score Tests Security License

Why T-Zero • Quickstart • Benchmarks • Tools Reference • Architecture • Türkçe


Why T-Zero?

When an AI coding assistant (Cursor, Claude Code, Antigravity IDE, Windsurf, Cline) reads your codebase, feeding full source files wastes 80% to 95% of your context window on internal loop bodies, routine calculations, and local variables. The model needs to know what your modules expose and call, not 100 lines of boilerplate implementation inside each method.

T-Zero acts like an on-the-fly .pyi / .d.ts declaration generator for your AI context window:

┌─────────────────────────────────┐
│     Full Source Codebase        │  (166,996 raw tokens — $0.50/query, 18s latency)
└────────────────┬────────────────┘
                 │
                 ▼  [ T-Zero Native AST Parser ]
                 │  Strips routine bodies, preserves signatures, types & docs
                 ▼
┌─────────────────────────────────┐
│     T-Zero AST Skeleton Tree    │  (8,465 tokens — $0.025/query, 2.1s latency)
└─────────────────────────────────┘

Before vs. After AST Pruning

# BEFORE: Raw source file (1,240 tokens)
class PaymentGateway:
    def __init__(self, api_key: str, timeout: int = 30):
        # 30 lines of connection pooling, socket configuration, SSL contexts...
        self.session = requests.Session()
        self.timeout = timeout
        ...

    def process_charge(self, user_id: str, amount_cents: int, currency: str = "USD") -> TransactionResult:
        """Charges a customer card with automated retry and idempotency."""
        # 60 lines of payload hashing, error handling, database locking, telemetry...
        if not user_id:
            raise ValueError("user_id required")
        ...

# AFTER: T-Zero AST Skeleton (64 tokens — 94.8% reduction)
class PaymentGateway:
    def __init__(self, api_key: str, timeout: int = 30): ...

    def process_charge(self, user_id: str, amount_cents: int, currency: str = "USD") -> TransactionResult:
        """Charges a customer card with automated retry and idempotency."""
        ...

The AI assistant retains full access to class names, typed parameters, docstrings, and return types — with zero semantic loss, at a fraction of the token cost, and with drastically faster Time-To-First-Token (TTFT).


Related MCP server: mcp-code-context

Quickstart

1. Instant Run via uvx (Zero Installation)

uvx tzero-mcp

2. Install via pip

pip install tzero-mcp

3. Connect to Cursor / Claude Desktop / Antigravity / Windsurf

Add the following to your claude_desktop_config.json or Cursor Settings (Features → MCP):

{
  "mcpServers": {
    "tzero": {
      "command": "uvx",
      "args": ["tzero-mcp"]
    }
  }
}

Or using local python:

{
  "mcpServers": {
    "tzero": {
      "command": "python",
      "args": ["-m", "tzero_mcp"]
    }
  }
}

4. Claude Code CLI Integration

claude mcp add --scope user tzero uvx tzero-mcp

5. Launch Local Web Dashboard

tzero --dashboard

Opens the local browser dashboard on http://localhost:8421 featuring interactive dependency graphs and the live AST pruner sandbox.

6. 🛡️ Pre-Commit Hook (Auto Zero-Leak & Token Guard)

Prevent accidental credential leaks and token bloat before code ever leaves developer machines. Add to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/toprakahmetaydogmus/TZeroAlgorithm
    rev: v7.3.4
    hooks:
      - id: tzero-guard
      - id: tzero-audit

7. ⚡ GitHub Actions CI/CD Integration

Automatically audit repositories for zero hardcoded secrets and generate token optimization summaries on every commit and PR:

# .github/workflows/tzero.yml
name: T-Zero Codebase Guard
on: [push, pull_request]

jobs:
  tzero-audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: toprakahmetaydogmus/TZeroAlgorithm@main
        with:
          workspace-dir: '.'
          audit-level: 'strict'

Reproducible Benchmarks

Analysis Target

Raw Codebase Tokens

T-Zero AST Payload

Token Savings

Cost per Query (Claude 3.5)

Latency (TTFT)

Full Repository Scan (38K LOC)

166,996 tokens

8,465 tokens

-94.9%

$0.501 → $0.025

18.4s → 2.1s

Large Backend Service

42,180 tokens

2,410 tokens

-94.3%

$0.126 → $0.007

6.2s → 0.9s

Git PR Diff Stream

18,450 tokens

1,120 tokens

-93.9%

$0.055 → $0.003

2.8s → 0.4s

Verify locally on your machine with zero cloud cost:

python tzero.py --savings

Core Capabilities

1. AST Skeleton Pruning

Strips internal routine execution bodies while preserving every class definition, typed signature, docstring, and return type. Zero heuristic line cutting — 100% deterministic language parsing.

2. Polyglot Language Support

Zero external compiler dependencies. Supports:

  • Python (via native ast parser)

  • TypeScript & JavaScript (interfaces, exports, type annotations)

  • Go, Rust, Java, C#, C++, PHP, and Ruby (structural signature extractors)

3. Change Blast Radius Analysis

Before refactoring a class or function, T-Zero calculates its exact downstream dependency impact (0–100 score), identifying every file, import, and symbol that could break.

4. Zero-Leak Security Guard

Guaranteed 100% offline execution. Includes pre-commit hooks and real-time scanners that block .env secrets, private tokens, and credentials from ever being sent to LLM APIs.

5. Embedded Superdesign Engine

Natively integrates the Superdesign UI methodology into Claude Code and Cursor with 5 tools to generate design systems, component specifications, and interactive browser preview galleries.


MCP Tools Reference

🚀 Flagship Omni-Tool: execute_codebase_workflow

Execute any codebase workflow, multi-stage audit, or specific T-Zero engine in a single unified MCP command:

// Full autonomous pipeline: Security Audit + Architecture Blueprint + Token ROI + Code Quality
{
  "name": "execute_codebase_workflow",
  "arguments": {
    "action": "auto",
    "target": "."
  }
}

Or execute targeted operations on demand:

  • "action": "security" — 100% Zero-Leak secret scan across workspace

  • "action": "context" — Hierarchical AST context tree generation

  • "action": "blueprint" — Mermaid system architecture & component topologies

  • "action": "impact" — Change blast radius analysis for a class or function

  • "action": "heal" — Automated AST diagnostic diagnosis & self-healing patch

  • "action": "search" — Local BM25 hybrid semantic search

Tool Architecture: By default, T-Zero exposes the 15 TDQS-certified Canonical & Omni Tools to prevent context bloat and ensure 5/5 tool coherence. The full 48-tool suite is available on-demand via tzero-mcp --all or TZERO_MCP_TOOL_MODE=all (and all 48 tools remain dynamically callable via call_tool() in both modes).

T-Zero tools grouped by functional category:

  • get_project_context_tree: Multi-tier hierarchical AST context tree (T-1 to T-4).

  • prune_code_snippet: Strips implementation bodies from in-memory snippets or diff streams.

  • prune_schema_definition: Compresses database schemas, OpenAPI specs, and protobuf definitions.

  • get_smart_skeleton_context: Focus-file implementation with 1st-degree caller/callee skeletons.

  • get_incremental_diff_context: Git diff context pruned with AST signatures.

  • generate_zero_waste_prompt_context: Token-optimized prompt preamble for coding agents.

  • query_module_dependencies: Analyzes import/export graphs across 10+ programming languages.

  • analyze_code_dependencies: Deep dependency mapping, call chains, PageRank, and dead code.

  • analyze_change_impact: Calculates change blast radius (0-100) and downstream dependents.

  • rank_repository_pagerank: Identifies architectural backbone files by network centrality.

  • trace_symbol_call_chain: Traces cross-file execution flow from caller to callee.

  • find_dead_code: Detects unreferenced, unreachable, or orphaned functions.

  • verify_security_guard: 100% Zero-Leak scan for hardcoded credentials and secrets.

  • verify_zero_leak_security: Validates that files adhere to the Zero-Leak security policy.

  • install_git_security_guard: Installs pre-commit hooks preventing credential leaks.

  • audit_code_quality: Static AST analysis, cyclomatic complexity, and code smell audits.

  • audit_codebase_quality: Static code audit across workspace files.

  • verify_hallucination_guard: Ground-truth verifier detecting hallucinated imports and types.

  • superdesign_generate: Structured specifications for UI, wireframe, component, logo, and icon creation.

  • superdesign_iterate: Surgical iteration instructions to refine existing design files with feedback.

  • superdesign_extract_system: Extracts structured design token JSON schemas.

  • superdesign_list: Enumerates all design iterations and systems in workspace.

  • superdesign_gallery: Builds interactive HTML gallery with live previews and modal zoom.

  • query_architecture_boundaries: Inspects active T-4 architectural layer constraints.

  • enforce_architecture_boundaries: Validates import boundaries defined in tzero.rules.json.

  • generate_architecture_blueprint: Synthesizes complete system specification with live Mermaid diagrams.

  • generate_repo_map: Ultra-compact AST symbol token map for chat context windows.

  • export_agent_rules: Exports AI rule specifications (.cursorrules, .clinerules, .cursor/rules/*.mdc).

  • query_memory_store: Queries semantic triples, causal graphs, and MinHash entity clusters.

  • manage_memory_store: Consolidates, exports, lists, resets, or compresses memory stores.

  • jarvis_query_knowledge_graph: Graph query engine for entity-relationship triples.

  • jarvis_consolidate_memory: Consolidates short-term episodic memory into long-term memory.

  • jarvis_compress_semantic_memory: Compresses text into semantic triples.

  • jarvis_decompress_semantic_memory: Reconstitutes compressed triples into coherent context.

  • jarvis_compress_document: Compresses long documents while preserving critical facts.

  • jarvis_export_memory_store: Exports agent knowledge stores to JSON or HTML visualizations.

  • orchestrate_agent_swarm: Coordinates multi-agent workflows, PBFT consensus, and self-healing.

  • jarvis_orchestrate_goal: Decomposes high-level objectives into phased execution plans.

  • jarvis_swarm_orchestrate: Coordinates collaborative multi-agent execution.

  • jarvis_bft_swarm_consensus: Byzantine fault-tolerant voting with 3f+1 quorum.

  • jarvis_self_healing_execute: Runs shell commands with automated AST failure healing.

  • generate_smart_micro_patch: Generates surgical git-compatible diff patches.

  • estimate_token_cost: Real-time cost comparisons across OpenAI, Anthropic, Gemini, and DeepSeek.

  • get_token_savings_metrics: Quantitative token compression metrics and monthly ROI savings.

  • compress_stream_tokens: Compresses live text streams using localized codebooks.

  • search_codebase: Local BM25 hybrid semantic and lexical code search.

  • search_codebase_semantic: 100% private semantic search without cloud embedding APIs.


Architecture

flowchart TD
    subgraph Input ["Input Layer"]
        REPO["Source Code Repository"]
    end

    subgraph Parser ["AST Engine"]
        AST["Language AST Visitor"]
        SIG["Signature & Type Extractor"]
        DEP["Import & Call Graph Analyzer"]
    end

    subgraph Core ["T-Zero Engine"]
        PRUNER["AST Skeleton Pruner (-94.9% Tokens)"]
        GUARD["100% Zero-Leak Security Guard"]
        SUPER["Superdesign UI Engine"]
    end

    subgraph Delivery ["MCP Delivery"]
        MCP["tzero_mcp.py (Stdio Server)"]
        DASH["tzero --dashboard (localhost:8421)"]
    end

    subgraph Clients ["AI Clients"]
        CURSOR["Cursor IDE"]
        CLAUDE["Claude Code / Desktop"]
        AGY["Antigravity IDE"]
        WINDSURF["Windsurf / Cline"]
    end

    REPO --> AST
    AST --> SIG
    AST --> DEP
    SIG --> PRUNER
    DEP --> PRUNER
    PRUNER --> GUARD
    GUARD --> MCP
    SUPER --> MCP
    PRUNER --> DASH
    MCP --> CURSOR
    MCP --> CLAUDE
    MCP --> AGY
    MCP --> WINDSURF

Security Architecture

100% Zero-Leak Guarantee: T-Zero contains ZERO hardcoded, personal, or public API keys. All AST parsing, BM25 indexing, and blast radius calculations run 100% locally on your machine with zero external network telemetry.


🇹🇷 Türkçe Dokümantasyon

T-Zero, yapay zeka kodlama ajanları (Cursor, Claude Code, Antigravity IDE, Windsurf, Cline) için geliştirilmiş, kod tabanı bağlamını yapısal olarak koruyarak token tüketimini %94.9'a kadar azaltan açık kaynaklı bir bağlam motoru ve Model Context Protocol (MCP) sunucusudur.

Neden T-Zero?

Bir AI asistanına binlerce satırlık ham kod dosyaları verildiğinde, fonksiyonların içindeki döngüler ve rutin işlemler bağlam penceresini gereksiz yere doldurur. T-Zero, kod tabanını derleyici seviyesinde AST ile ayrıştırarak fonksiyon gövdelerini çıkarır; yalnızca sınıf yapılarını, tip imzalarını, docstring'leri ve bağımlılıkları korur.

Hızlı Kurulum

# Kurulum yapmadan doğrudan çalıştırmak için (uvx):
uvx tzero-mcp

# veya pip ile kurun:
pip install tzero-mcp

# Yerel görsel paneli açın:
tzero --dashboard

License & Author

Available Tools

15 tools
analyze_change_impactA
Read-onlyIdempotent

Calculates change blast radius score (0-100) and identifies downstream dependents before modifying or deleting a target function, class, or module, distinguishing from 'analyze_code_dependencies' and 'audit_code_quality' by calculating targeted refactoring risk scores rather than mapping overall import graphs or profiling code complexity.

Parameters:

  • target_symbol (str, required): Name of the function, class, or method being modified or refactored.

  • project_root (str, optional, default='.'): Root directory of the repository (default: current directory).

  • file_path (str, optional, default=''): Optional file path where the target symbol is defined.

Behavior:

  • Read-only: Scans workspace AST and dependency graphs; does not alter files.

  • Idempotent: Deterministic blast radius scoring for identical repository states.

  • 100% Offline: Local AST caller/callee traversal without remote API calls.

  • Auth & Rate Limits: Zero authentication or API keys required; completes in <300ms.

  • Error Handling: Returns 0 blast radius and not-found notice if the target symbol does not exist in AST index.

Usage Guidelines:

  • When to use: Run prior to editing a core interface, signature, or shared utility to gauge how many downstream files and tests will be impacted.

  • When NOT to use: Do not use for general whole-repository dependency mapping or PageRank centrality (use 'analyze_code_dependencies' instead); do not use for auditing static code complexity and code smells (use 'audit_code_quality' instead).

Returns: Markdown report with quantitative blast radius score (0-100), risk tier (LOW/MEDIUM/HIGH/CRITICAL), affected downstream modules, and test recommendations.

NameRequiredDescriptionDefault
file_pathNoOptional file path where the target symbol is defined.
project_rootNoRoot directory of the repository (default: current directory)..
target_symbolYesName of the function, class, or method being modified or refactored.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the read-only and idempotent bullets largely restate structured data. However the description adds genuine context beyond them: sub-300ms latency, zero auth/API keys, AST-based local traversal, and the specific failure behavior (0 blast radius plus not-found notice when the symbol is absent).

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

Conciseness4/5

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

The opening sentence front-loads purpose, output, and sibling differentiation, and the Behavior/Usage sections are scannable. The only waste is the Parameters block, which duplicates the schema verbatim and could be dropped, and a Returns section that partially overlaps the output schema.

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

Completeness4/5

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

For a read-only analysis tool with full annotation coverage, complete schema, and an output schema, the description covers trigger conditions, failure mode, and performance envelope. Nothing required for correct invocation is missing; the only shortfall is that specific return-shape detail is redundant given the output schema already exists.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already fully documents all three parameters. The description's parameter list reproduces the same wording verbatim and adds no syntax, format, or resolution-order guidance (e.g. how file_path disambiguates duplicate symbol names). Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (calculates blast radius score, identifies downstream dependents) with an explicit scope (0-100, targeted symbol). It also names the two nearest siblings and explains the differentiating mechanism — targeted refactoring risk scoring versus import-graph mapping or complexity profiling.

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

Usage Guidelines5/5

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

Contains an explicit 'When to use' (prior to editing a core interface, signature, or shared utility) and a 'When NOT to use' that routes to both named alternatives with the reason each is preferred. An agent can select among analyze_code_dependencies, audit_code_quality, and this tool without further inference.

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

analyze_code_dependenciesA
Read-onlyIdempotent

Analyzes module imports, symbol call chains, graph centrality (PageRank), and unreferenced dead code across polyglot source files, distinguishing from 'analyze_change_impact' and 'enforce_architecture_rules' by performing global dependency structure and dead-code analysis rather than calculating change blast radius or verifying layer boundaries.

Parameters:

  • analysis_type (str, optional, default='dependencies'): Type of structural analysis: 'dependencies' for module import/export graph, 'call_chain' for deep caller/callee execution trace, 'pagerank' for architectural backbone centrality, 'dead_code' for unreferenced symbols.

  • project_root (str, optional, default='.'): Root directory of the repository to scan (default: current directory).

  • target_symbol (str, optional, default=''): Target class or function name when analysis_type is 'call_chain'.

  • file_path (str, optional, default=''): Optional path to a specific file to analyze.

Behavior:

  • Read-only: Inspects source syntax trees without modifying or moving files.

  • Idempotent: Deterministic dependency mapping for any scanned repository.

  • 100% Offline: Local AST and regex parsers; zero external network requests.

  • Auth & Rate Limits: Zero authentication or cloud credentials required; runs in <1s.

  • Error Handling: Emits clean notices if the target symbol or file is not found in the AST index.

Usage Guidelines:

  • When to use: Run before refactoring, moving, or removing a module to inspect inbound dependents, outbound imports, deep symbol call chains, or unreferenced functions.

  • When NOT to use: Do not use for estimating the blast radius score of modifying a specific function or class (use 'analyze_change_impact' instead); do not use for validating whether imports violate architectural layer rules (use 'enforce_architecture_rules' instead).

Returns: Markdown report detailing import graphs, call chains, centrality rankings, or detected dead code.

NameRequiredDescriptionDefault
file_pathNoOptional path to a specific file to analyze.
project_rootNoRoot directory of the repository to scan (default: current directory)..
analysis_typeNoType of structural analysis: 'dependencies' for module import/export graph, 'call_chain' for deep caller/callee execution trace, 'pagerank' for architectural backbone centrality, 'dead_code' for unreferenced symbols.dependencies
target_symbolNoTarget class or function name when analysis_type is 'call_chain'.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, and destructiveHint=false, but the description adds useful operational context: zero auth/cloud credentials, sub-second execution, offline AST parsing, and clean error handling for missing symbols or files. Some statements repeat annotation semantics, which keeps it from a 5.

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

Conciseness4/5

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

Well structured and front-loaded, with the differentiation statement early and clear sections for behavior and usage. It is somewhat over-formatted and repeats parameter details already present in the schema, but the length is justified by the tool's complexity.

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

Completeness5/5

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

Covers purpose, sibling routing, read-only behavior, offline execution, auth requirements, performance, and error handling. An output schema exists and the description briefly notes the Markdown report format, so return-value explanation is not required in depth.

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

Parameters3/5

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

Schema description coverage is 100%, and the description largely restates the same parameter meanings rather than adding syntax, constraints, or conditional rules beyond the schema. Baseline 3 is appropriate when the schema already documents all parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the specific analyses performed (imports, call chains, PageRank, dead code) and explicitly distinguishes itself from analyze_change_impact and enforce_architecture_rules. An agent can identify the tool's scope and sibling boundaries 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.

Usage Guidelines5/5

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

Includes explicit 'When to use' and 'When NOT to use' sections, naming both alternatives and the exact conditions that should route the agent elsewhere. This is about as clear as usage guidance gets.

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

audit_code_qualityA
Read-onlyIdempotent

Performs AST static code smell analysis, cyclomatic complexity profiling, duplicate code block detection, and AI coding hallucination validation, distinguishing from 'verify_security_guard' and 'analyze_code_dependencies' by scanning code maintainability and complexity rather than checking for credential leaks or analyzing module dependencies.

Parameters:

  • project_root (str, optional, default='.'): Root directory of the repository to audit (default: current directory).

  • check_type (str, optional, default='all'): Audit scope: 'all' for complete check, 'smells' for code complexity/smells, 'duplicity' for copy-paste blocks, 'hallucinations' for invalid imports/signatures.

  • file_path (str, optional, default=''): Optional path to a single file to audit.

Behavior:

  • Read-only: Inspects source syntax trees; does not modify or delete files.

  • Idempotent: Consistent diagnostic findings for the same code state.

  • 100% Offline: Pure AST inspection without network calls.

  • Auth & Rate Limits: Zero credentials or external linters required; completes in <500ms.

  • Error Handling: Gracefully skips unparseable binary files and continues scanning source trees.

Usage Guidelines:

  • When to use: Run before submitting PRs or executing refactors to catch long methods (>30 lines), excessive arguments (>5), missing docstrings, copy-pasted blocks (6+ lines), or hallucinated imports.

  • When NOT to use: Do not use for scanning hardcoded secrets or installing git pre-commit security guards (use 'verify_security_guard' instead); do not use for analyzing module import dependencies (use 'analyze_code_dependencies' instead).

Returns: Comprehensive diagnostic report with severity ratings (T-001 to T-004), exact file line references, and remediation guidance.

NameRequiredDescriptionDefault
file_pathNoOptional path to a single file to audit.
check_typeNoAudit scope: 'all' for complete check, 'smells' for code complexity/smells, 'duplicity' for copy-paste blocks, 'hallucinations' for invalid imports/signatures.all
project_rootNoRoot directory of the repository to audit (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that the tool is fully offline, requires no credentials or external linters, completes quickly, skips unparseable binary files gracefully, and returns severity-rated diagnostics with line references. These are useful operational details that the annotations alone do not provide.

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

Conciseness4/5

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

The description is well organized and front-loads the purpose, then separates parameters, behavior, usage, and returns. However, some content duplicates the input schema and annotations rather than adding new value, so it is slightly longer than necessary.

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

Completeness5/5

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

Given a complex multi-mode audit tool with rich annotations, full schema descriptions, and an output schema, the description provides enough context for correct invocation. It covers scope, alternatives, safety profile, error handling, and expected diagnostics without needing to fully restate return structures.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents project_root, check_type, and file_path including defaults and enum-like values. The description repeats the same parameter meanings without adding substantial semantics beyond the structured schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: audit_code_quality performs AST static code smell analysis, complexity profiling, duplicate detection, and hallucination validation. It also explicitly distinguishes itself from sibling tools 'verify_security_guard' and 'analyze_code_dependencies' by contrasting maintainability/complexity scanning with credential-leak checks and dependency analysis.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance, including concrete examples such as long methods, excessive arguments, missing docstrings, copy-pasted blocks, and hallucinated imports. It also gives explicit when-not-to-use guidance and names the correct alternatives for security checks and dependency analysis.

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

build_project_contextA
Read-onlyIdempotent

Scans the target repository file system and constructs a token-optimized AST context payload for LLM prompts across multiple hierarchy tiers (T-1 to T-4), distinguishing from 'prune_code_snippet' and 'search_codebase' by constructing multi-tier repository architecture trees rather than pruning individual in-memory snippets or executing keyword searches.

Parameters:

  • project_root (str, optional, default='.'): Target repository root path to scan.

  • context_type (str, optional, default='tree'): Context generation mode: 'tree' for hierarchical multi-tier AST tree, 'repo_map' for compact symbol index, 'skeleton' for focus-file implementation with 1st-degree caller/callee skeletons, 'zero_waste_prompt' for agent prompt prefix with pruned AST, 'incremental_diff' for git diff context.

  • focus_file (str, optional, default=''): Optional path to a focus file when context_type is 'skeleton' or 'incremental_diff'.

  • reduction_mode (str, optional, default='ultra'): AST reduction depth level ('ultra' for 80-95% compression with signatures and docstrings, 'balanced' for signatures + control structures, 'none' for verbatim source code).

  • max_tokens (int, optional, default=64000): Upper token budget threshold for returned context.

  • include_file_contents (bool, optional, default=True): If True, includes AST-reduced file bodies; if False, emits directory hierarchy only.

Behavior:

  • Read-only: Scans workspace files and parses AST signatures without modifying disk state.

  • Idempotent: Generates deterministic context representations for identical workspace revisions.

  • 100% Offline: Operates entirely locally with zero telemetry, remote embedding APIs, or cloud billing.

  • Auth & Rate Limits: Zero authentication or cloud credentials required; completes in <2s for 1,000 files.

  • Error Handling: Returns clean Markdown warning notices if no analyzable files exist in the specified path.

Usage Guidelines:

  • When to use: Ingest repository architecture, module indexes, focus file skeletons, or zero-waste prompts at the beginning of an agent coding session or major refactor (80-95% token savings).

  • When NOT to use: Do not use for stripping implementation bodies from a single in-memory code string or diff patch (use 'prune_code_snippet' instead); do not use for querying specific code symbols or text without building a full context tree (use 'search_codebase' instead).

Returns: Structured Markdown document featuring '# Repository Architecture (T-1)', '# Module Dependencies (T-2)', '# AST Signatures (T-3)', '# Architectural Rules (T-4)', and token compression metrics.

NameRequiredDescriptionDefault
focus_fileNoOptional path to a focus file when context_type is 'skeleton' or 'incremental_diff'.
max_tokensNoUpper token budget threshold for returned context.
context_typeNoContext generation mode: 'tree' for hierarchical multi-tier AST tree, 'repo_map' for compact symbol index, 'skeleton' for focus-file implementation with 1st-degree caller/callee skeletons, 'zero_waste_prompt' for agent prompt prefix with pruned AST, 'incremental_diff' for git diff context.tree
project_rootNoTarget repository root path to scan (default: current working directory)..
reduction_modeNoAST reduction level: 'ultra' for signatures & docstrings (80-95% reduction), 'balanced' for signatures + control headers, 'none' for verbatim source.ultra
include_file_contentsNoWhen True, includes AST-reduced file bodies; when False, emits directory hierarchy only.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, but the description goes beyond them with offline/zero-telemetry operation, no-auth requirement, a concrete performance bound (<2s for 1,000 files), and defined error behavior (Markdown warning notices when no analyzable files exist). That is real added context for a tool that walks a filesystem.

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

Conciseness4/5

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

The leading purpose sentence plus labeled Behavior/Usage Guidelines/Returns sections are front-loaded and scannable. It loses a point for re-listing all six parameters verbatim when the schema already documents them, which is filler rather than value.

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

Completeness5/5

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

Given six optional params, full schema coverage, an output schema, and rich annotations, the description leaves nothing material unexplained — it covers modes, token budget, error paths, and the shape of the returned Markdown tiers.

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

Parameters3/5

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

Schema description coverage is 100% and the parameter block in the description is essentially verbatim duplication of the schema entries, so it adds little beyond structured data. The only minor surplus is the '.' working-directory gloss and the compression percentages, which the schema mostly carries too.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource pair ('Scans the target repository file system and constructs an AST context payload') and immediately contrasts it with the two nearest siblings, prune_code_snippet and search_codebase, by describing what each does instead. An agent can differentiate without consulting the schema.

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

Usage Guidelines5/5

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

Has explicit 'When to use' (start of coding session or major refactor, 80-95% token savings) and 'When NOT to use' sections that name the alternative tools and the condition that selects them. No inference required.

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

enforce_architecture_rulesA
Read-onlyIdempotent

Enforces architectural boundary rules and layer isolation constraints defined in tzero.rules.json across the repository AST, distinguishing from 'manage_architecture_rules' and 'analyze_code_dependencies' by validating import graph compliance against defined architectural layers rather than editing rule definitions or tracing raw calls.

Parameters:

  • project_root (str, optional, default='.'): Root directory of the repository to validate (default: current directory).

  • strict_mode (bool, optional, default=True): When True, fails on any boundary infraction; when False, warns without raising errors.

Behavior:

  • Read-only: Scans codebase imports and call paths; does not alter files.

  • Idempotent: Deterministic violation reporting for identical codebase states.

  • 100% Offline: Local import graph validation against configured boundaries.

  • Auth & Rate Limits: Zero authentication or API keys required; completes in <500ms.

  • Error Handling: Reports missing configuration and lists passed vs violated rules clearly.

Usage Guidelines:

  • When to use: Run in CI/CD pipelines or before merging PRs to prevent architectural erosion (e.g. presentation layer importing database models or circular module dependencies).

  • When NOT to use: Do not use for creating, viewing, or editing architectural boundary definitions (use 'manage_architecture_rules' instead); do not use for inspecting general dependencies between modules (use 'analyze_code_dependencies' instead).

Returns: Detailed compliance audit report listing passed layer boundaries, identified architectural violations, and remediation guidance.

NameRequiredDescriptionDefault
strict_modeNoWhen True, fails on any boundary infraction; when False, warns without raising errors.
project_rootNoRoot directory of the repository to validate (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations that already mark it read-only and idempotent, the description adds operational details: 100% offline validation, zero auth/API keys, <500ms completion, and error handling for missing configuration. It also clarifies that validation scans imports/call paths and produces a compliance audit report, which is meaningful behavioral context.

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

Conciseness4/5

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

The description is well structured and front-loads purpose and sibling differentiation before detailed behavior and usage. It is somewhat long and repeats some annotation-backed properties and schema parameter text, but the structure keeps it readable and useful.

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

Completeness5/5

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

The description is complete for a validation tool: it covers purpose, alternatives, execution profile, error handling, and expected returns. With an output schema and rich annotations also present, no critical information is missing for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already well documented. The description's parameter section largely restates the schema's own descriptions for 'project_root' and 'strict_mode' without adding syntax or format details beyond them. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Enforces architectural boundary rules and layer isolation constraints') and explicitly distinguishes itself from 'manage_architecture_rules' and 'analyze_code_dependencies' by contrast of role. An agent can identify exactly what this tool does and how it differs 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.

Usage Guidelines5/5

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

It gives explicit when-to-use guidance ('CI/CD pipelines or before merging PRs') and explicit when-NOT-to-use alternatives for rule management and dependency inspection. The routing conditions are concrete and actionable.

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

estimate_token_costA
Read-onlyIdempotent

Calculates exact token counts, comparative API billing costs across AI model providers (OpenAI, Claude, Gemini, DeepSeek), and cumulative financial ROI savings, distinguishing from 'build_project_context' and 'prune_code_snippet' by evaluating financial costs and token metrics rather than constructing context trees or pruning code.

Parameters:

  • text (str, optional, default=''): Raw text string to count tokens and calculate cost for.

  • project_root (str, optional, default='.'): Root directory of the repository to calculate workspace ROI savings for.

  • tokens (int, optional, default=0): Optional raw token count to calculate cost directly.

  • export_agent_rules (str, optional, default=''): Optional format to export agent rules: 'cursorrules', 'clinerules', 'markdown', or empty for cost estimation only.

Behavior:

  • Read-only: Calculates metrics from text or token counts without disk modifications.

  • Idempotent: Deterministic pricing calculations based on standard provider pricing tables.

  • 100% Offline: Local pricing lookup table; zero network calls.

  • Auth & Rate Limits: Zero authentication or credentials required; execution latency <5ms.

  • Error Handling: Handles empty input gracefully by returning default workspace token estimations.

Usage Guidelines:

  • When to use: Evaluate token consumption, forecast monthly LLM API expenditures, or export agent rule configuration files (.cursorrules, .clinerules).

  • When NOT to use: Do not use for actively reducing token consumption by pruning repository code into AST signatures (use 'build_project_context' or 'prune_code_snippet' instead).

Returns: Markdown comparison table detailing input/output token counts, estimated USD costs per model provider, and percentage token reduction ROI.

NameRequiredDescriptionDefault
textNoRaw text string to count tokens and calculate cost for.
tokensNoOptional raw token count to calculate cost directly.
project_rootNoRoot directory of the repository to calculate workspace ROI savings for..
export_agent_rulesNoOptional format to export agent rules: 'cursorrules', 'clinerules', 'markdown', or empty for cost estimation only.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already cover readOnlyHint, idempotentHint, openWorldHint and destructiveHint, so the description's 'Read-only' and 'Idempotent' lines largely restate them. It does add genuinely new context — 100% offline local pricing table, zero auth, <5ms latency, and graceful handling of empty input — which is useful. However it is internally ambiguous about export_agent_rules: it claims 'without disk modifications' yet describes exporting .cursorrules/.clinerules files, and the Returns section mentions only a markdown table, leaving the write-vs-return behavior unclear.

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

Conciseness3/5

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

Front-loaded and clearly sectioned, but the Parameters block duplicates the 100%-covered schema descriptions almost word for word, and the 'Read-only'/'Idempotent' lines restate annotations. Roughly a third of the text does not earn its place.

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

Completeness4/5

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

An output schema exists, so the brief Returns note is sufficient. Inputs, behavior, error handling and sibling alternatives are all covered; the only real gap is whether export_agent_rules writes files or returns content, which matters for an agent choosing that parameter.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds value by enumerating valid export_agent_rules values ('cursorrules', 'clinerules', 'markdown', or empty) even though the schema declares no enum, and by clarifying that tokens is an alternative to text for direct cost calculation. Defaults are repeated verbatim from the schema, which adds little.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific verbs and resources: token counting, comparative API billing costs across named providers, and ROI savings. It also explicitly differentiates itself from build_project_context and prune_code_snippet by contrasting 'financial costs and token metrics' with 'constructing context trees or pruning code'.

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

Usage Guidelines5/5

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

Provides an explicit 'When to use' list (forecast LLM API spend, evaluate token consumption, export rule files) and a 'When NOT to use' clause that names the exact alternative tools to use instead. An agent can route correctly without inference.

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

execute_codebase_workflowA
Idempotent

Autonomous all-in-one T-Zero master tool that executes any codebase workflow in a single command, distinguishing from individual specialized tools by autonomously orchestrating multi-step analysis, context generation, security scans, dependency mapping, and self-healing in an integrated pipeline.

Parameters:

  • action (str, optional, default='auto'): Workflow operation: 'auto' (runs comprehensive all-in-one audit & context pipeline), 'context' (builds AST context tree), 'audit' (code quality & smells), 'security' (Zero-Leak secret scan), 'blueprint' (Mermaid system architecture), 'dependencies' (import & module topology), 'impact' (blast radius of modified symbols), 'search' (hybrid BM25 semantic code search), 'prune' (in-memory AST snippet pruning), 'heal' (AST self-healing diagnosis & patching), 'memory' (query/manage memory store), 'swarm' (multi-agent consensus & task dispatch), or 'design' (UI/UX design blueprint).

  • target (str, optional, default='.'): Target repository root path, file path, diff string, or raw code snippet.

  • query (str, optional, default=''): Search term, focus symbol name, or goal prompt depending on action.

  • options (str, optional, default=''): Optional JSON string specifying extra configuration parameters (e.g. reduction_mode, max_tokens, depth).

Behavior:

  • Orchestrated execution: When action='auto', performs a complete end-to-end audit (security, architecture, token savings, dependencies) and delivers a unified executive summary.

  • Deterministic: Dispatches to specialized underlying T-Zero engines.

  • 100% Offline: Executes entirely on local AST without sending code to unverified cloud APIs.

  • Auth & Rate Limits: Zero credentials required; completes in <500ms.

  • Error Handling: Gracefully falls back and reports clean diagnostic messages for missing paths or invalid JSON options.

Usage Guidelines:

  • When to use: Use whenever you want an instant complete overview of a codebase, or want to perform any T-Zero operation through a single unified entrypoint without choosing between individual tools.

  • When NOT to use: Do not use if you specifically need an isolated low-level API call without any contextual wrapper.

Returns: Comprehensive Markdown report tailored to the requested action or full autonomous pipeline.

NameRequiredDescriptionDefault
queryNoSearch query, focus symbol name, or task goal prompt.
actionNoWorkflow operation: 'auto' (comprehensive all-in-one pipeline), 'context', 'audit', 'security', 'blueprint', 'dependencies', 'impact', 'search', 'prune', 'heal', 'memory', 'swarm', 'design'.auto
targetNoTarget repository path, file path, diff string, or code snippet (default: '.')..
optionsNoOptional JSON string of additional configuration parameters.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Beyond annotations, it discloses deterministic dispatch, fully offline local-AST execution, zero credentials, sub-500ms completion, graceful fallback, and a unified executive summary for action='auto'. It does not fully detail the side effects of mutation-adjacent actions like 'heal' patching or 'memory' management.

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

Conciseness4/5

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

The description is front-loaded and organized into Parameters, Behavior, Usage Guidelines, and Returns sections. It is lengthy and includes some promotional phrasing and duplication of the action list, but the size is mostly justified by the 13-action dispatcher complexity.

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

Completeness4/5

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

Given the broad dispatcher complexity and the existing output schema, the description covers action semantics, target/query/options usage, behavioral constraints, and error handling well. It leaves some per-action side-effect details implicit, especially for patching or memory mutation.

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

Parameters4/5

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

Schema coverage is already 100%, but the description adds useful semantics: action-specific meanings, how target varies by use case, how query depends on action, and example option keys such as reduction_mode, max_tokens, and depth. Much of this overlaps the schema, so it is helpful rather than fully additive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: executing codebase workflows via a unified dispatcher. It explicitly distinguishes itself from the many specialized sibling tools by acting as an autonomous orchestration layer across context, audit, security, dependencies, and healing.

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

Usage Guidelines4/5

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

It includes explicit 'When to use' and 'When NOT to use' sections, directing agents toward a unified entrypoint for complete overviews and away from isolated low-level API calls. It could be stronger if it named specific sibling tools to prefer for isolated operations.

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

generate_architecture_blueprintA
Read-onlyIdempotent

Generates a complete system architectural specification (ARCHITECTURE.md) with auto-generated Mermaid component topology diagrams, layer boundaries, and module hierarchies, distinguishing from 'enforce_architecture_rules' and 'analyze_code_dependencies' by producing comprehensive system architecture documentation rather than verifying boundary rules or tracing call chains.

Parameters:

  • project_root (str, optional, default='.'): Root directory of the repository to analyze (default: current directory).

  • use_ai (bool, optional, default=False): When True, uses configured AI provider to synthesize deep narrative; when False (default), runs 100% offline AST analysis.

  • model (str, optional, default=''): Optional model identifier override when use_ai is True.

Behavior:

  • Read-only: Returns formatted Markdown text without writing files to disk.

  • Idempotent: Deterministic AST topology diagram generation when use_ai=False.

  • 100% Offline by default: Runs local AST analysis; optionally uses configured AI model when use_ai=True.

  • Auth & Rate Limits: Zero credentials required for default offline mode; completes in <1s.

  • Error Handling: Falls back to offline AST structural mapping if remote AI model synthesis is unreachable.

Usage Guidelines:

  • When to use: Create or update system architecture documentation and visual Mermaid flow diagrams for onboarding or RFC review.

  • When NOT to use: Do not use for checking rule compliance against defined boundaries (use 'enforce_architecture_rules' instead); do not use for raw dependency listings or call chain traces (use 'analyze_code_dependencies' instead).

Returns: Comprehensive Markdown document with live Mermaid diagrams, layer classifications, and component interfaces.

NameRequiredDescriptionDefault
modelNoOptional model identifier override when use_ai is True.
use_aiNoWhen True, uses configured AI provider to synthesize deep narrative; when False (default), runs 100% offline AST analysis.
project_rootNoRoot directory of the repository to analyze (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/openWorld=false/destructive=false, but the description adds real context beyond that: it clarifies nothing is written even though it 'generates' a document, that output is deterministic offline AST analysis, that runtime is <1s with zero credentials, and that it degrades to offline AST mapping if the AI provider is unreachable. That fallback behavior is not derivable from annotations or schema and materially affects how an agent should call it.

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

Conciseness4/5

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

The opening sentence is strongly front-loaded and carries the disambiguation, and the behavior/usage sections are scannable. There is mild redundancy: the Parameters block duplicates the schema descriptions word-for-word, and the Returns line restates what the output schema already provides.

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

Completeness5/5

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

For a three-parameter, fully-annotated, output-schema-backed tool, nothing an agent needs is missing: what it produces, what it will not do (write files), cost/latency profile, credential requirements, failure mode, and sibling routing are all present.

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

Parameters3/5

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

Schema description coverage is 100%, so all three parameters are already fully documented in the schema, and the description's parameter block largely restates those same strings verbatim. The one nuance added (offline determinism tied to use_ai=False) is behavioral rather than semantic, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence states a specific verb (Generates) and a concrete artifact (ARCHITECTURE.md) with its contents: Mermaid topology diagrams, layer boundaries, module hierarchies. It then explicitly contrasts with the two nearest siblings by naming what each does instead, so an agent can disambiguate 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.

Usage Guidelines5/5

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

Provides an explicit 'When to use' (onboarding docs, RFC review) and a 'When NOT to use' that names both alternative tools and their distinct jobs (enforce_architecture_rules for rule compliance, analyze_code_dependencies for raw dependency/call-chain data). This is textbook when/when-not/alternatives routing.

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

manage_architecture_rulesA
DestructiveIdempotent

Manages the complete lifecycle of architectural boundary definitions, tier rules (T-1 to T-4), and layer constraints configured in tzero.rules.json, distinguishing from 'enforce_architecture_rules' and 'generate_architecture_blueprint' by adding, updating, resetting, or deleting boundary definitions on disk rather than validating files or drawing diagrams.

Parameters:

  • action (str, optional, default='query'): Rule lifecycle action: 'query' to inspect active rules, 'update' to add or modify rules, 'delete' to remove a rule, 'reset' to restore defaults.

  • project_root (str, optional, default='.'): Target repository root where tzero.rules.json is located (default: current directory).

  • rule_name (str, optional, default=''): Name or identifier of the rule to update or delete when action is 'update' or 'delete'.

  • rule_definition (str, optional, default=''): JSON string or markdown specification of the rule to set when action is 'update'.

Behavior:

  • State-Modifying / Destructive: Queries existing rules or updates/deletes layer boundary specifications on disk when action is 'update', 'delete', or 'reset'.

  • Idempotent: Repeated queries or sets with identical values produce stable configurations.

  • 100% Offline: Local JSON file management without external communication.

  • Auth & Rate Limits: Zero authentication or cloud credentials required; executes in <20ms.

  • Error Handling: Validates JSON syntax before writing; emits descriptive error messages on malformed rule definitions.

Usage Guidelines:

  • When to use: Retrieve, inspect, add, update, reset, or delete architectural layer constraints (e.g. presentation -> domain -> persistence rules).

  • When NOT to use: Do not use for actively validating codebase files against these rules (use 'enforce_architecture_rules' instead); do not use for generating visual Mermaid architectural topology diagrams (use 'generate_architecture_blueprint' instead).

Returns: JSON or Markdown status report detailing active or updated architectural rules.

NameRequiredDescriptionDefault
actionNoRule lifecycle action: 'query' to inspect active rules, 'update' to add or modify rules, 'delete' to remove a rule, 'reset' to restore defaults.query
rule_nameNoName or identifier of the rule to update or delete when action is 'update' or 'delete'.
project_rootNoTarget repository root where tzero.rules.json is located (default: current directory)..
rule_definitionNoJSON string or markdown specification of the rule to set when action is 'update'.

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds valuable context beyond them: state-modifying behavior on disk, which actions are destructive, 100% offline operation, no auth/rate limits, sub-20ms execution, and JSON validation before writing. It discloses what is altered and under which actions.

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

Conciseness4/5

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

The description is structured and front-loaded with purpose, alternatives, parameters, behavior, and return shape. It is somewhat long and repeats schema parameter descriptions, but the information is relevant and organized.

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

Completeness5/5

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

Given the tool's complexity, the annotations covering safety profile, the fully described schema, and an output schema, the description is complete. It provides enough behavioral and usage context for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all four parameters. The description repeats the same parameter details with little additional semantics beyond echoing the schema, which meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it manages the lifecycle of architectural boundary definitions, tier rules, and layer constraints in tzero.rules.json. It explicitly distinguishes itself from 'enforce_architecture_rules' and 'generate_architecture_blueprint' by describing its disk-mutating role versus validation and diagram generation.

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

Usage Guidelines5/5

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

It gives explicit 'When to use' and 'When NOT to use' guidance, naming alternatives and the conditions that select them. The agent does not need to infer whether to choose this tool or a sibling.

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

manage_memory_storeA
Destructive

Manages the complete lifecycle of persistent agent semantic memory stores, including compression, consolidation, export, listing, reset, and deletion, distinguishing from 'query_memory_store' and 'prune_code_snippet' by storing, compressing, and purging episodic memories rather than querying relations or pruning source code.

Parameters:

  • operation (str, optional, default='list'): Memory lifecycle operation: 'list' to show active memory stores, 'compress' to encode text into semantic triples, 'decompress' to decode memory code, 'consolidate' to merge memory, 'export' to dump graph, 'reset' to clear all memory, 'delete' to remove a specific store.

  • content (str, optional, default=''): Text document or knowledge content to compress or store when operation is 'compress'.

  • store_name (str, optional, default='default'): Identifier of the target memory store to manage.

  • project_root (str, optional, default='.'): Workspace root where memory stores are managed (default: current directory).

Behavior:

  • State-Modifying / Destructive: Consolidates or updates local memory state; 'reset' and 'delete' operations remove stored memory data from disk.

  • Non-idempotent for state modifications; idempotent for 'list' and 'export'.

  • 100% Offline: Fully local storage management without external synchronization.

  • Auth & Rate Limits: Zero authentication or credentials required; completes in <50ms.

  • Error Handling: Validates operation parameter and returns clear error for unrecognized modes.

Usage Guidelines:

  • When to use: Store new semantic knowledge, consolidate episodic memories, export knowledge graphs to JSON/HTML, list active memory stores, or clear/reset agent memories.

  • When NOT to use: Do not use for querying existing knowledge triples or causal chains from memory (use 'query_memory_store' instead); do not use for pruning source code snippets or diff streams (use 'prune_code_snippet' instead).

Returns: Status report confirming memory consolidation, export file path, list of active memory stores, or confirmation of reset/deletion.

NameRequiredDescriptionDefault
contentNoText document or knowledge content to compress or store when operation is 'compress'.
operationNoMemory lifecycle operation: 'list' to show active memory stores, 'compress' to encode text into semantic triples, 'consolidate' to merge memory, 'export' to dump graph, 'reset' to clear all memory, 'delete' to remove a specific store.list
store_nameNoIdentifier of the target memory store to manage.default
project_rootNoWorkspace root where memory stores are managed (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the annotations, the description discloses which operations destroy on-disk data ('reset' and 'delete' remove stored memory data from disk), the idempotency split per operation, zero auth, sub-50ms latency, and error handling for unrecognized modes. The only weakness is that the tool-level idempotency statement is coarser than the per-operation reality, and no warning is given that 'reset' is irreversible/unscoped.

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

Conciseness3/5

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

Front-loaded and well-sectioned with headers, but the Parameters block duplicates the 100%-covered schema verbatim and adds bulk without value, and the opening sentence is a long run-on. Roughly a third of the text is redundant given the structured fields.

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

Completeness4/5

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

For a destructive, multi-mode lifecycle tool the description covers operations, destructive semantics, auth, latency, errors, and alternatives; an output schema exists so the brief Returns line is sufficient. The one gap is the operation-vocabulary mismatch ('decompress') between description and schema, leaving the exact valid mode set ambiguous.

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

Parameters3/5

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

Schema description coverage is 100%, so the description's parameter block largely restates what is already structured. It does add the 7-value operation vocabulary, but it lists a 'decompress' operation that is absent from the schema's own operation description, creating an inconsistency an agent could trip on rather than added clarity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Manages the complete lifecycle of persistent agent semantic memory stores') and enumerates the concrete operations (compress, consolidate, export, list, reset, delete). It explicitly distinguishes itself from query_memory_store and prune_code_snippet, so an agent can route correctly 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.

Usage Guidelines5/5

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

Dedicated 'When to use' and 'When NOT to use' sections name the exact sibling alternatives and the conditions that select them ('querying existing knowledge triples or causal chains' → query_memory_store; 'pruning source code snippets' → prune_code_snippet). Both positive and negative routing is covered.

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

orchestrate_agent_swarmA

Coordinates autonomous multi-agent task execution, goal decomposition, Byzantine fault-tolerant (PBFT) consensus voting, and self-healing error recovery, distinguishing from 'manage_memory_store' and 'audit_code_quality' by dispatching autonomous multi-agent workflows rather than managing memory stores or auditing code quality.

Parameters:

  • goal (str, required): High-level goal description, swarm proposal, or failing test traceback to heal.

  • orchestration_mode (str, optional, default='goal_execute'): Orchestration mode: 'goal_execute' for autonomous goal planning and execution, 'swarm_consensus' for Byzantine fault-tolerant voting, 'self_healing' for AST error diagnosis and automated patching.

  • agents (str, optional, default=''): Comma-separated list of agent roles participating in swarm execution (e.g. 'architect,coder,tester').

  • project_root (str, optional, default='.'): Workspace root for swarm execution (default: current directory).

Behavior:

  • State execution: Dispatches sub-tasks, coordinates consensus rounds, and executes self-healing patches.

  • Non-idempotent: Execution results reflect dynamic agent responses and patch attempts.

  • 100% Offline: Executes deterministic local multi-agent workflows without unverified cloud relays.

  • Auth & Rate Limits: Zero credentials or external blockchain relays required; completes in <100ms.

  • Error Handling: Quorum isolation automatically detects and neutralizes Byzantine faults.

Usage Guidelines:

  • When to use: Execute high-level complex coding goals across multi-agent swarms, validate proposals via Byzantine consensus voting (3f+1 quorum), or diagnose and heal test failures.

  • When NOT to use: Do not use for querying or managing long-term agent memory (use 'query_memory_store' and 'manage_memory_store' instead); do not use for auditing codebase quality before task execution (use 'audit_code_quality' instead).

Returns: Orchestration summary with phased execution plan, agent task allocations, consensus voting tallies, or self-healing patch results.

NameRequiredDescriptionDefault
goalYesHigh-level goal description, swarm proposal, or failing test traceback to heal.
agentsNoComma-separated list of agent roles participating in swarm execution (e.g. 'architect,coder,tester').
project_rootNoWorkspace root for swarm execution (default: current directory)..
orchestration_modeNoOrchestration mode: 'goal_execute' for autonomous goal planning and execution, 'swarm_consensus' for Byzantine fault-tolerant voting, 'self_healing' for AST error diagnosis and automated patching.goal_execute

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.3/5.0
Behavior4/5

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

Adds real context beyond the annotations: non-idempotent mutation, fully offline execution, no credentials/relay, sub-100ms completion, and quorum-isolation error handling. However, 'Non-idempotent' and 'Offline' largely restate idempotentHint=false and openWorldHint=false, so part of the disclosure duplicates structured data rather than extending it.

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

Conciseness3/5

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

Sectioned with headers and front-loaded with purpose, but there is wasted space: the sibling differentiation appears both in the opening paragraph and again in 'When NOT to use', and the four-bullet parameter list is a verbatim copy of the schema. Marketing-style claims ('100% Offline', '<100ms') pad the behavior block.

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

Completeness5/5

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

For a complex, non-idempotent, multi-mode orchestration tool, the definition covers mode selection, agent role input, auth/rate-limit posture, error handling, and a returns summary. An output schema exists, so detailed return structure need not be spelled out, and the remaining guidance is sufficient to call it correctly.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all four parameters; the description's parameter block repeats the schema text almost verbatim, including the orchestration_mode value list. Baseline 3 applies since the schema does the heavy lifting and the description adds no syntax, constraints, or interaction rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb set (coordinates, decomposes goals, runs PBFT consensus, self-heals) over a named resource (multi-agent swarm), and explicitly names the sibling tools it is not. An agent can pick this out from query_memory_store or audit_code_quality on name alone.

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

Usage Guidelines5/5

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

Provides explicit 'When to use' conditions (complex coding goals, consensus validation with 3f+1 quorum, test-failure healing) and a 'When NOT to use' section that routes to query_memory_store, manage_memory_store, and audit_code_quality by name. No inference required.

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

prune_code_snippetA
Read-onlyIdempotent

Prunes implementation bodies from in-memory code snippets, API schemas, or unified diff streams while preserving AST interfaces, type annotations, and function signatures, distinguishing from 'build_project_context' and 'audit_code_quality' by stripping function bodies in memory rather than scanning repository file trees or auditing code quality.

Parameters:

  • code (str, required): Raw source code, schema definition (JSON/YAML), or unified diff text to compress.

  • file_name_or_lang (str, optional, default='snippet.py'): File name or language extension (e.g. 'service.ts', '.go', '.rs', 'schema.json') to select appropriate AST parser.

  • reduction_mode (str, optional, default='ultra'): AST reduction level: 'ultra' for signatures only, 'balanced' for signatures + control structures, 'micro_patch' for surgical unified diff pruning.

Behavior:

  • Read-only: Processes in-memory text buffers without touching disk files.

  • Idempotent: Deterministic AST reduction for identical code inputs.

  • 100% Offline: Local AST and regex parsers for Python, TypeScript, Go, Rust, Java, C#, C++, SQL, JSON, YAML.

  • Auth & Rate Limits: Zero authentication or credentials required; execution latency <10ms.

  • Error Handling: Gracefully falls back to regex line pruning if parser encounters malformed syntax.

Usage Guidelines:

  • When to use: Compress raw code strings, function definitions, SQL queries, or diff patches before embedding them in an LLM prompt to achieve 80-95% token savings.

  • When NOT to use: Do not use for scanning full repository files or building hierarchical project context from disk (use 'build_project_context' instead); do not use for detecting code duplication across modules (use 'audit_code_quality' instead).

Returns: Compact code snippet retaining only structural signatures, interfaces, and docstrings.

NameRequiredDescriptionDefault
codeYesRaw source code, schema definition (JSON/YAML), or unified diff text to compress.
reduction_modeNoAST reduction level: 'ultra' for signatures only, 'balanced' for signatures + control structures, 'micro_patch' for surgical unified diff pruning.ultra
file_name_or_langNoFile name or language extension (e.g. 'service.ts', '.go', '.rs', 'schema.json') to select appropriate AST parser.snippet.py

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, and the description partly repeats those (Read-only, Idempotent, 100% Offline). It earns credit for genuinely new behavior: zero-auth requirement, <10ms latency, supported language list, and graceful regex fallback on malformed syntax — the fallback being the most decision-relevant detail an agent cannot get from annotations.

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

Conciseness3/5

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

Content is well-sectioned (Parameters / Behavior / Usage / Returns), but the opening sentence is a single cramped run-on that front-loads sibling differentiation awkwardly. Several lines (Read-only, Idempotent) restate annotations and the 'Returns' line duplicates the output schema, so not every sentence earns its place.

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

Completeness4/5

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

For a 3-parameter transform tool, everything needed to invoke it correctly is present: input kinds, parser selection, reduction levels, fallback behavior. The explicit 'Returns' section is redundant given an output schema exists, and mode-selection guidance for mixed inputs is thin.

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

Parameters3/5

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

Schema coverage is 100%, so the baseline is 3. The description's parameter entries are near-verbatim copies of the schema descriptions and add no format, constraint, or interaction detail beyond them (e.g. no guidance on how reduction_mode interacts with file_name_or_lang for diff inputs).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (prune implementation bodies from code snippets/schemas/diffs) plus the invariant it preserves (AST interfaces, signatures). It explicitly contrasts with 'build_project_context' and 'audit_code_quality', so an agent can separate it from 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.

Usage Guidelines5/5

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

Provides an explicit 'When to use' (compress code strings/diffs before LLM embedding for 80-95% token savings) and a 'When NOT to use' that names both alternative tools and the conditions selecting them. Both positive and negative routing are covered.

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

query_memory_storeA
Read-onlyIdempotent

Queries semantic triples, causal reasoning graphs, and MinHash entity clusters from the local agent memory store, distinguishing from 'manage_memory_store' and 'search_codebase' by retrieving episodic reasoning relations rather than modifying memory records or searching repository code.

Parameters:

  • query (str, required): Entity name, concept, or search query to look up in the memory store.

  • query_mode (str, optional, default='semantic'): Query strategy: 'semantic' for triple & relation lookup, 'causal_chain' for temporal cause-and-effect traces, 'minhash' for sub-microsecond entity similarity clusters.

  • project_root (str, optional, default='.'): Workspace root where memory store is located (default: current directory).

Behavior:

  • Read-only: Queries persistent memory store without altering stored knowledge.

  • Idempotent: Returns consistent knowledge relations for identical queries.

  • 100% Offline: Local graph and MinHash index lookup without network traffic.

  • Auth & Rate Limits: Zero authentication or cloud credentials required; query latency <10ms.

  • Error Handling: Returns empty graph notice if the queried entity does not exist in the codebook.

Usage Guidelines:

  • When to use: Recall past agent decisions, query knowledge graph entity relations, or trace causal dependency chains across reasoning sessions.

  • When NOT to use: Do not use for modifying, compressing, or deleting memory stores (use 'manage_memory_store' instead); do not use for searching source code in the repository (use 'search_codebase' instead).

Returns: Markdown report with extracted semantic triples, graph relationships, or causal inference chains.

NameRequiredDescriptionDefault
queryYesEntity name, concept, or search query to look up in the memory store.
query_modeNoQuery strategy: 'semantic' for triple & relation lookup, 'causal_chain' for temporal cause-and-effect traces, 'minhash' for sub-microsecond entity similarity clusters.semantic
project_rootNoWorkspace root where memory store is located (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive, but the description adds genuine context beyond them: offline operation, zero auth/cloud credentials, <10ms latency, and the empty-graph error behavior for missing entities. That is substantive disclosure an agent cannot get from the 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.

Conciseness4/5

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

Front-loaded with purpose and sibling differentiation, then segmented into Behavior, Usage Guidelines, and Returns. Slightly long because the Behavior bullets partially echo the annotations (read-only, idempotent), but overall efficient and well organized.

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

Completeness5/5

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

For a 3-param read-only query tool with full schema coverage, annotations, and an output schema, the description covers scope, alternatives, safety, latency, offline behavior, and error semantics. 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.

Parameters3/5

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, and the description's parameter list largely restates the schema text including defaults and mode meanings. Baseline 3 applies since the schema does the heavy lifting and the description adds little beyond it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (queries) and specific resources (semantic triples, causal reasoning graphs, MinHash entity clusters) and explicitly distinguishes itself from 'manage_memory_store' and 'search_codebase'. An agent can route to it 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.

Usage Guidelines5/5

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

Provides an explicit 'When to use' list and a 'When NOT to use' list that names both alternatives and the conditions selecting them. 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.

search_codebaseA
Read-onlyIdempotent

Executes private local hybrid search combining BM25 keyword matching and TF-IDF semantic scoring across repository functions, classes, and docstrings, distinguishing from 'query_memory_store' and 'build_project_context' by indexing source code identifiers and docstrings rather than querying agent episodic memory or generating context trees.

Parameters:

  • query (str, required): Search term or natural language description of the code to locate.

  • project_root (str, optional, default='.'): Root directory of the repository to search (default: current directory).

  • top_k (int, optional, default=5): Maximum number of ranked results to return (default: 5).

Behavior:

  • Read-only: Queries local code files without writing to disk or modifying indices.

  • Idempotent: Deterministic ranked results for identical queries on the same codebase.

  • 100% Offline: Executes entirely on CPU; no OpenAI/cloud embeddings, zero network egress.

  • Auth & Rate Limits: Zero authentication or credentials required; sub-millisecond query latency.

  • Error Handling: Returns empty match report with query suggestions if no relevant tokens are found.

Usage Guidelines:

  • When to use: Locate relevant functions, classes, or code implementations across the repository using natural language or code identifier queries.

  • When NOT to use: Do not use for querying persistent semantic knowledge graphs or agent memory triples (use 'query_memory_store' instead); do not use for generating full project context trees (use 'build_project_context' instead).

Returns: Ranked list of matching code snippets with file paths, line ranges, relevance scores, and matched symbol definitions.

NameRequiredDescriptionDefault
queryYesSearch term or natural language description of the code to locate.
top_kNoMaximum number of ranked results to return (default: 5).
project_rootNoRoot directory of the repository to search (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, and non-destructive, so the description's restatement of those traits adds little. However, it goes beyond annotations with genuinely new context: fully offline/CPU-only execution, zero network egress, zero auth, sub-millisecond latency, and an explicit error-handling path returning an empty report with suggestions.

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

Conciseness4/5

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

Well front-loaded with the core purpose first, then structured sections for parameters, behavior, usage, and returns. Slightly verbose where it repeats annotation-backed traits (read-only, idempotent) and the return shape already covered by the output schema.

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

Completeness5/5

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

For a search tool with an output schema and full annotation coverage, the definition is complete: purpose, retrieval mechanism, alternatives, failure mode, and performance profile are all present. An agent has everything needed to select and call it correctly.

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

Parameters3/5

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

Schema description coverage is 100% and the description's parameter list restates the schema text near-verbatim, adding no syntax, format, or behavioral nuance beyond what the schema already provides. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (hybrid search combining BM25 + TF-IDF) and resource (repository functions, classes, docstrings), and immediately distinguishes itself from 'query_memory_store' and 'build_project_context' by what it indexes. An agent can identify 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.

Usage Guidelines5/5

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

Provides explicit 'When to use' and 'When NOT to use' sections, naming the exact alternatives (query_memory_store, build_project_context) and the conditions that select them. 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.

verify_security_guardA
Idempotent

Scans workspace files and code buffers for hardcoded secrets and API keys, or installs the automated git pre-commit zero-leak security guard, distinguishing from 'audit_code_quality' and 'enforce_architecture_rules' by identifying high-entropy credentials and git hooks rather than checking code complexity or enforcing layer rules.

Parameters:

  • action (str, optional, default='scan'): Security action: 'scan' to inspect files or content for secret leaks, 'install_pre_commit' to install the automated git zero-leak hook.

  • project_root (str, optional, default='.'): Target repository root to scan or install hook into (default: current directory).

  • content (str, optional, default=''): Optional raw text string to scan for secrets in memory without scanning disk files.

Behavior:

  • Read-only when action is 'scan'; installs hook file when action is 'install_pre_commit'.

  • Idempotent: Scans produce identical results; hook installation is idempotent.

  • 100% Offline: Zero data transmission; all entropy and pattern checks execute locally.

  • Auth & Rate Limits: Zero authentication or cloud credentials required; runs in <50ms.

  • Error Handling: Reports exact line numbers and entropy score when secrets are detected.

Usage Guidelines:

  • When to use: Ensure zero confidential credentials (OpenAI, Anthropic, Gemini, GitHub tokens, private keys) are exposed in code before committing or sharing context.

  • When NOT to use: Do not use for general code quality, cyclomatic complexity, and duplicate code scans (use 'audit_code_quality' instead); do not use for enforcing layer boundary architecture rules (use 'enforce_architecture_rules' instead).

Returns: Security audit report showing 100% Zero-Leak certification or list of detected secret leaks with line numbers, or hook installation confirmation.

NameRequiredDescriptionDefault
actionNoSecurity action: 'scan' to inspect files or content for secret leaks, 'install_pre_commit' to install the automated git zero-leak hook.scan
contentNoOptional raw text string to scan for secrets in memory without scanning disk files.
project_rootNoTarget repository root to scan or install hook into (default: current directory)..

Output Schema

NameRequiredDescription
resultYes

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses the conditional write behavior (read-only under 'scan', writes a hook file under 'install_pre_commit'), that everything runs fully offline with zero data transmission, zero auth requirements, and sub-50ms latency, plus what errors report. This usefully reconciles readOnlyHint=false with the read-only scan mode rather than contradicting it. Only omission is what exactly gets written/where the hook lands.

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

Conciseness4/5

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

Front-loaded with purpose and sibling differentiation, then cleanly sectioned into Parameters, Behavior, Guidelines, and Returns. It is on the long side and the parameter block duplicates schema text nearly verbatim, which is the only wasted space.

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

Completeness5/5

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

Annotations cover safety hints and an output schema exists, so the description needn't explain return values beyond its summary line. It still supplies the operational context an agent needs: offline execution, idempotency, conditional mutation, and error reporting with line numbers and entropy scores.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all three parameters, and the description's parameter list largely restates those same strings. It adds only minor value ('default: current directory', explicit default for content). Baseline 3 is correct since the schema carries the load.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names specific verbs and resources ('scans workspace files and code buffers for hardcoded secrets and API keys', 'installs the automated git pre-commit zero-leak security guard') and explicitly contrasts the mechanism against two named siblings (entropy credentials and git hooks vs. complexity or layer rules). An agent can distinguish it from audit_code_quality and enforce_architecture_rules 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.

Usage Guidelines5/5

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

Dedicated 'When to use' and 'When NOT to use' sections give the trigger condition (before committing or sharing context) and route each exclusion to a named alternative tool. There is no ambiguity about which sibling to pick for quality scans or architecture enforcement.

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.

  1. 1 tool updatev7.3.4
    • Addedexecute_codebase_workflow
  2. 57 tool updatesv7.3.2
    • Changedanalyze_change_impact5 fields changed
      • addedInput schema / properties / file_path
        Added value: +{
        +  "default": "",
        +  "description": "Optional file path where the target symbol is defined.",
        +  "title": "File Path",
        +  "type": "string"
        +}
      • changedInput schema / properties / project_root / description
        Previous value: -"Workspace root directory containing target symbols (default: current directory)."New value: +"Root directory of the repository (default: current directory)."
      • changedInput schema / properties / target_symbol / description
        Previous value: -"Name of the function, class, or method to analyze for change blast radius."New value: +"Name of the function, class, or method being modified or refactored."
      • changedInput schema / title
        Previous value: -"_legacy_analyze_change_impactArguments"New value: +"analyze_change_impactArguments"
      • changedOutput schema / title
        Previous value: -"_legacy_analyze_change_impactOutput"New value: +"analyze_change_impactOutput"
    • Addedanalyze_code_dependencies
    • Addedaudit_code_quality
    • Removedaudit_codebase_quality
    • Addedbuild_project_context
    • Removedcompress_stream_tokens
    • Removedenforce_architecture_boundaries
    • Addedenforce_architecture_rules
    • Changedestimate_token_cost7 fields changed
      • addedInput schema / properties / export_agent_rules
        Added value: +{
        +  "default": "",
        +  "description": "Optional format to export agent rules: 'cursorrules', 'clinerules', 'markdown', or empty for cost estimation only.",
        +  "title": "Export Agent Rules",
        +  "type": "string"
        +}
      • changedInput schema / properties / project_root / description
        Previous value: -"Project directory to scan if text is empty (default: current directory)."New value: +"Root directory of the repository to calculate workspace ROI savings for."
      • removedInput schema / properties / reduction_mode
        Removed value: -{
        -  "default": "ultra",
        -  "description": "Reduction tier ('ultra', 'balanced', 'none') applied when scanning project_root.",
        -  "title": "Reduction Mode",
        -  "type": "string"
        -}
      • changedInput schema / properties / text / description
        Previous value: -"Optional raw text to estimate. If empty, analyzes context generated from project_root."New value: +"Raw text string to count tokens and calculate cost for."
      • addedInput schema / properties / tokens
        Added value: +{
        +  "default": 0,
        +  "description": "Optional raw token count to calculate cost directly.",
        +  "title": "Tokens",
        +  "type": "integer"
        +}
      • changedInput schema / title
        Previous value: -"_legacy_estimate_token_costArguments"New value: +"estimate_token_costArguments"
      • changedOutput schema / title
        Previous value: -"_legacy_estimate_token_costOutput"New value: +"estimate_token_costOutput"
    • Removedexport_agent_rules
    • Removedfind_code_duplicity
    • Removedfind_dead_code
    • Changedgenerate_architecture_blueprint5 fields changed
      • changedInput schema / properties / model / description
        Previous value: -"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True (default: '')."New value: +"Optional model identifier override when use_ai is True."
      • changedInput schema / properties / project_root / description
        Previous value: -"Repository root directory to inspect (default: '.')."New value: +"Root directory of the repository to analyze (default: current directory)."
      • changedInput schema / properties / use_ai / description
        Previous value: -"When True, supplements deterministic AST topology with local zero-cost AI architectural insights (default: False)."New value: +"When True, uses configured AI provider to synthesize deep narrative; when False (default), runs 100% offline AST analysis."
      • changedInput schema / title
        Previous value: -"_legacy_generate_architecture_blueprintArguments"New value: +"generate_architecture_blueprintArguments"
      • changedOutput schema / title
        Previous value: -"_legacy_generate_architecture_blueprintOutput"New value: +"generate_architecture_blueprintOutput"
    • Removedgenerate_repo_map
    • Removedgenerate_smart_micro_patch
    • Removedgenerate_zero_waste_prompt_context
    • Removedget_incremental_diff_context
    • Removedget_project_context_tree
    • Removedget_smart_skeleton_context
    • Removedget_token_savings_metrics
    • Removedinstall_git_security_guard
    • Removedjarvis_bft_swarm_consensus
    • Removedjarvis_causal_chain_query
    • Removedjarvis_compress_document
    • Removedjarvis_compress_semantic_memory
    • Removedjarvis_consolidate_memory
    • Removedjarvis_decompress_semantic_memory
    • Removedjarvis_export_graph_visualization
    • Removedjarvis_export_memory_store
    • Removedjarvis_hybrid_search
    • Removedjarvis_latent_press_compress
    • Removedjarvis_minhash_similarity
    • Removedjarvis_orchestrate_goal
    • Removedjarvis_query_knowledge_graph
    • Removedjarvis_self_healing_execute
    • Removedjarvis_swarm_orchestrate
    • Removedjarvis_zero_key_query
    • Addedmanage_architecture_rules
    • Addedmanage_memory_store
    • Addedorchestrate_agent_swarm
    • Changedprune_code_snippet6 fields changed
      • changedInput schema / properties / code / description
        Previous value: -"Raw source code content to prune."New value: +"Raw source code, schema definition (JSON/YAML), or unified diff text to compress."
      • addedInput schema / properties / file_name_or_lang
        Added value: +{
        +  "default": "snippet.py",
        +  "description": "File name or language extension (e.g. 'service.ts', '.go', '.rs', 'schema.json') to select appropriate AST parser.",
        +  "title": "File Name Or Lang",
        +  "type": "string"
        +}
      • removedInput schema / properties / file_path_or_ext
        Removed value: -{
        -  "default": "snippet.py",
        -  "description": "File name or extension (e.g. 'service.ts', 'main.go', 'app.py', '.rs', '.java', '.cs', '.kt', '.swift') indicating language parser.",
        -  "title": "File Path Or Ext",
        -  "type": "string"
        -}
      • changedInput schema / properties / reduction_mode / description
        Previous value: -"Reduction tier: 'ultra' for AST signatures only (80-95% reduction), 'balanced' for signatures + control flow."New value: +"AST reduction level: 'ultra' for signatures only, 'balanced' for signatures + control structures, 'micro_patch' for surgical unified diff pruning."
      • changedInput schema / title
        Previous value: -"_legacy_prune_code_snippetArguments"New value: +"prune_code_snippetArguments"
      • changedOutput schema / title
        Previous value: -"_legacy_prune_code_snippetOutput"New value: +"prune_code_snippetOutput"
    • Removedprune_schema_definition
    • Removedquery_architecture_boundaries
    • Addedquery_memory_store
    • Removedquery_module_dependencies
    • Removedrank_repository_pagerank
    • Addedsearch_codebase
    • Removedsearch_codebase_semantic
    • Removedsuperdesign_extract_system
    • Removedsuperdesign_gallery
    • Removedsuperdesign_generate
    • Removedsuperdesign_iterate
    • Removedsuperdesign_list
    • Removedtrace_symbol_call_chain
    • Removedverify_hallucination_guard
    • Addedverify_security_guard
    • Removedverify_zero_leak_security
  3. 21 tool updatesv7.3.1
    • Changedcompress_stream_tokens3 fields changed
      • changedInput schema / properties / content / description
        Previous value: -"Raw code, diff, SQL, or manifest text to compress."New value: +"Streaming text, log chunk, or partial code buffer to compress."
      • changedInput schema / properties / filename_hint / description
        Previous value: -"Optional filename or extension hint (e.g. 'app.py', 'schema.sql', 'patch.diff')."New value: +"Optional filename or extension hint (e.g. 'app.py', 'schema.sql', 'patch.diff') to optimize AST reduction (default: '')."
      • changedInput schema / properties / tier / description
        Previous value: -"Compression tier: 'T-3' (AST Signatures), 'T-4' (Agent Rules), 'T-2' (Light)."New value: +"Compression tier ('T-3' for AST signatures, 'T-2' for light structure, 'T-4' for agent rules) (default: 'T-3')."
    • Changedfind_code_duplicity2 fields changed
      • changedInput schema / properties / min_lines / description
        Previous value: -"Minimum identical consecutive lines to classify as a duplicate block (default: 6)."New value: +"Minimum consecutive identical code lines required to flag a duplicate block (default: 6)."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to scan (default: current directory)."New value: +"Repository root directory to scan (default: '.')."
    • Changedgenerate_architecture_blueprint3 fields changed
      • changedInput schema / properties / model / description
        Previous value: -"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True."New value: +"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True (default: '')."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to analyze and document (default: current directory)."New value: +"Repository root directory to inspect (default: '.')."
      • changedInput schema / properties / use_ai / description
        Previous value: -"When True, uses configured 3rd-party AI or Free AI Cloud to synthesize deep architecture analysis; when False (default), runs 100% offline AST analysis."New value: +"When True, supplements deterministic AST topology with local zero-cost AI architectural insights (default: False)."
    • Changedgenerate_repo_map2 fields changed
      • changedInput schema / properties / max_tokens / description
        Previous value: -"Maximum token budget for the repo map (default: 4000)."New value: +"Maximum token ceiling for the returned symbol map (default: 4000)."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to map (default: current directory)."New value: +"Target repository root directory to scan (default: '.')."
    • Changedgenerate_smart_micro_patch2 fields changed
      • changedInput schema / properties / diff_content / description
        Previous value: -"Raw git diff or unified diff text."New value: +"Raw unified diff text (e.g. git diff output) to compress."
      • changedInput schema / properties / max_context_lines / description
        Previous value: -"Maximum surrounding context lines to retain per hunk (default: 1)."New value: +"Maximum unchanged context lines to keep around hunk modifications (default: 1)."
    • Changedgenerate_zero_waste_prompt_context2 fields changed
      • changedInput schema / properties / entrypoints / description
        Previous value: -"List of entrypoint files (e.g. ['main.py', 'app.py']). If empty, auto-detects."New value: +"List of entrypoint filenames (e.g. ['main.py', 'app.py']). If omitted or null, entrypoints are auto-detected."
      • changedInput schema / properties / target_dir / description
        Previous value: -"Target workspace root directory."New value: +"Target repository root directory (default: '.')."
    • Changedget_token_savings_metrics1 field changed
      • changedInput schema / properties / project_root / description
        Previous value: -"Target workspace directory to measure (default: current directory)."New value: +"Target workspace directory to measure (default: '.')."
    • Changedinstall_git_security_guard1 field changed
      • changedInput schema / properties / repo_dir / description
        Previous value: -"Target git repository directory (default: current working directory)."New value: +"Target git repository root directory where the pre-commit hook will be installed (default: '.')."
    • Changedjarvis_bft_swarm_consensus2 fields changed
      • changedInput schema / properties / context / description
        Previous value: -"Optional context or environment logs"New value: +"Supporting architectural context, risk parameters, or verification constraints (default: '')."
      • changedInput schema / properties / mission_goal / description
        Previous value: -"Mission, action, or code patch to evaluate"New value: +"Action, refactoring plan, or critical decision requiring swarm consensus."
    • Changedjarvis_causal_chain_query2 fields changed
      • changedInput schema / properties / query_type / description
        Previous value: -"Type: 'root_causes', 'effect_chain', 'rollback_order', or 'timeline'."New value: +"Analysis mode: 'root_causes' (backward causal trace), 'effect_chain' (downstream consequence chain), 'rollback_order' (safe rollback sequence), or 'timeline' (chronological event history) (default: 'root_causes')."
      • changedInput schema / properties / target_node_id / description
        Previous value: -"Target node ID to analyze (e.g. error, event)."New value: +"Incident identifier, bug description, or symbol name to trace root cause for."
    • Changedjarvis_compress_document1 field changed
      • changedInput schema / properties / document_text / description
        Previous value: -"Large multi-paragraph technical document or log text to compress."New value: +"Full text of technical documentation, README, or article to compress."
    • Changedjarvis_consolidate_memory1 field changed
      • changedInput schema / properties / action / description
        Previous value: -"'consolidate' to run cycle, or 'summary' for status."New value: +"Consolidation mode: 'consolidate' (runs compaction cycle) or 'summary' (reports consolidation status) (default: 'consolidate')."
    • Changedjarvis_export_graph_visualization1 field changed
      • changedInput schema / properties / output_path / description
        Previous value: -"Optional target HTML file path. Defaults to 'tzero_graph_hud.html'."New value: +"Destination file path for the generated HTML visualizer (default: '' uses 'tzero_graph_hud.html')."
    • Changedjarvis_export_memory_store2 fields changed
      • changedInput schema / properties / action / description
        Previous value: -"Action to perform: 'save' or 'load'."New value: +"Action to perform: 'save' (export to disk) or 'load' (import from disk) (default: 'save')."
      • changedInput schema / properties / file_path / description
        Previous value: -"Optional custom file path for storage."New value: +"Optional custom JSON file path (default: '' uses 'tzero_memory_store.json')."
    • Changedjarvis_hybrid_search3 fields changed
      • changedInput schema / properties / domain / description
        Previous value: -"Optional domain filter (HARDWARE, PROTOCOL, SOFTWARE, etc.)."New value: +"Optional domain filter ('HARDWARE', 'PROTOCOL', 'SOFTWARE', etc., default: '' searches all domains)."
      • changedInput schema / properties / query / description
        Previous value: -"Search terms, concepts, or discrete codes like '#8421'."New value: +"Search query, question, or code pattern to locate."
      • changedInput schema / properties / top_k / description
        Previous value: -"Maximum number of results to return."New value: +"Maximum number of ranked results to return (default: 10)."
    • Changedjarvis_latent_press_compress2 fields changed
      • changedInput schema / properties / context_text / description
        Previous value: -"Long context, logs, or code to compress"New value: +"Long text or documentation string to compress before feeding to LLM."
      • changedInput schema / properties / near_dup_threshold / description
        Previous value: -"Near-duplicate threshold for pruning"New value: +"Similarity threshold (0.0 to 1.0) for collapsing redundant sentences."
    • Changedjarvis_minhash_similarity3 fields changed
      • changedInput schema / properties / text_a / description
        Previous value: -"First text or triplet description"New value: +"First text or code snippet to compare."
      • changedInput schema / properties / text_b / description
        Previous value: -"Second text to compare against (optional). If empty, searches memory codebook."New value: +"Second text to compare against. If empty, searches memory codebook (default: '')."
      • changedInput schema / properties / threshold / description
        Previous value: -"Jaccard similarity threshold [0.0 - 1.0]"New value: +"Minimum Jaccard similarity threshold (0.0 to 1.0) to flag as a positive match (default: 0.5)."
    • Changedjarvis_query_knowledge_graph3 fields changed
      • changedInput schema / properties / entity / description
        Previous value: -"Specific entity filter."New value: +"Specific entity name to filter knowledge graph nodes (default: empty string)."
      • changedInput schema / properties / predicate / description
        Previous value: -"Specific predicate / action filter."New value: +"Relationship or predicate type to filter edges, e.g. 'depends_on' (default: empty string)."
      • changedInput schema / properties / query / description
        Previous value: -"Entity, keyword, or action to search across the knowledge graph (e.g. 'ESP32', 'test_etti', 'Kubernetes', 'Qubit')."New value: +"General natural language search term to locate in graph (default: empty string)."
    • Changedjarvis_self_healing_execute2 fields changed
      • changedInput schema / properties / command / description
        Previous value: -"Command or script invocation to execute."New value: +"Shell command or test script to execute."
      • changedInput schema / properties / max_retries / description
        Previous value: -"Maximum auto-patch healing attempts."New value: +"Maximum self-healing repair iterations if execution fails (default: 3)."
    • Changedjarvis_swarm_orchestrate2 fields changed
      • changedInput schema / properties / context / description
        Previous value: -"Optional technical context or constraints."New value: +"Optional workspace context or specific constraints to guide agent execution (default: '')."
      • changedInput schema / properties / mission_goal / description
        Previous value: -"The engineering or system goal to achieve."New value: +"High-level mission directive or engineering objective for the swarm."
    • Changedtrace_symbol_call_chain3 fields changed
      • changedInput schema / properties / max_depth / description
        Previous value: -"Maximum recursion depth for the call graph traversal (default: 3)."New value: +"Maximum recursive call graph traversal depth (default: 3)."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository (default: current directory)."New value: +"Root directory of the repository (default: '.')."
      • changedInput schema / properties / symbol_name / description
        Previous value: -"Exact function or method name to trace across the codebase call graph."New value: +"Function or method identifier to trace."
  4. 5 tool updatesv7.2.0
    • Addedsuperdesign_extract_system
    • Addedsuperdesign_gallery
    • Addedsuperdesign_generate
    • Addedsuperdesign_iterate
    • Addedsuperdesign_list
  5. 52 tool updatesv7.0.1
    • Changedanalyze_change_impact5 fields changed
      • removedInput schema / properties / file_path
        Removed value: -{
        -  "default": "",
        -  "description": "Optional file path where the target symbol is defined.",
        -  "title": "File Path",
        -  "type": "string"
        -}
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository (default: current directory)."New value: +"Workspace root directory containing target symbols (default: current directory)."
      • changedInput schema / properties / target_symbol / description
        Previous value: -"Name of the function, class, or method being modified or refactored."New value: +"Name of the function, class, or method to analyze for change blast radius."
      • changedInput schema / title
        Previous value: -"analyze_change_impactArguments"New value: +"_legacy_analyze_change_impactArguments"
      • changedOutput schema / title
        Previous value: -"analyze_change_impactOutput"New value: +"_legacy_analyze_change_impactOutput"
    • Removedanalyze_code_dependencies
    • Removedaudit_code_quality
    • Addedaudit_codebase_quality
    • Removedbuild_project_context
    • Addedcompress_stream_tokens
    • Addedenforce_architecture_boundaries
    • Removedenforce_architecture_rules
    • Changedestimate_token_cost7 fields changed
      • removedInput schema / properties / export_agent_rules
        Removed value: -{
        -  "default": "",
        -  "description": "Optional format to export agent rules: 'cursorrules', 'clinerules', 'markdown', or empty for cost estimation only.",
        -  "title": "Export Agent Rules",
        -  "type": "string"
        -}
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to calculate workspace ROI savings for."New value: +"Project directory to scan if text is empty (default: current directory)."
      • addedInput schema / properties / reduction_mode
        Added value: +{
        +  "default": "ultra",
        +  "description": "Reduction tier ('ultra', 'balanced', 'none') applied when scanning project_root.",
        +  "title": "Reduction Mode",
        +  "type": "string"
        +}
      • changedInput schema / properties / text / description
        Previous value: -"Raw text string to count tokens and calculate cost for."New value: +"Optional raw text to estimate. If empty, analyzes context generated from project_root."
      • removedInput schema / properties / tokens
        Removed value: -{
        -  "default": 0,
        -  "description": "Optional raw token count to calculate cost directly.",
        -  "title": "Tokens",
        -  "type": "integer"
        -}
      • changedInput schema / title
        Previous value: -"estimate_token_costArguments"New value: +"_legacy_estimate_token_costArguments"
      • changedOutput schema / title
        Previous value: -"estimate_token_costOutput"New value: +"_legacy_estimate_token_costOutput"
    • Addedexport_agent_rules
    • Addedfind_code_duplicity
    • Addedfind_dead_code
    • Changedgenerate_architecture_blueprint5 fields changed
      • changedInput schema / properties / model / description
        Previous value: -"Optional model identifier override when use_ai is True."New value: +"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to analyze (default: current directory)."New value: +"Root directory of the repository to analyze and document (default: current directory)."
      • changedInput schema / properties / use_ai / description
        Previous value: -"When True, uses configured AI provider to synthesize deep narrative; when False (default), runs 100% offline AST analysis."New value: +"When True, uses configured 3rd-party AI or Free AI Cloud to synthesize deep architecture analysis; when False (default), runs 100% offline AST analysis."
      • changedInput schema / title
        Previous value: -"generate_architecture_blueprintArguments"New value: +"_legacy_generate_architecture_blueprintArguments"
      • changedOutput schema / title
        Previous value: -"generate_architecture_blueprintOutput"New value: +"_legacy_generate_architecture_blueprintOutput"
    • Addedgenerate_repo_map
    • Addedgenerate_smart_micro_patch
    • Addedgenerate_zero_waste_prompt_context
    • Addedget_incremental_diff_context
    • Addedget_project_context_tree
    • Addedget_smart_skeleton_context
    • Addedget_token_savings_metrics
    • Addedinstall_git_security_guard
    • Addedjarvis_bft_swarm_consensus
    • Addedjarvis_causal_chain_query
    • Addedjarvis_compress_document
    • Addedjarvis_compress_semantic_memory
    • Addedjarvis_consolidate_memory
    • Addedjarvis_decompress_semantic_memory
    • Addedjarvis_export_graph_visualization
    • Addedjarvis_export_memory_store
    • Addedjarvis_hybrid_search
    • Addedjarvis_latent_press_compress
    • Addedjarvis_minhash_similarity
    • Addedjarvis_orchestrate_goal
    • Addedjarvis_query_knowledge_graph
    • Addedjarvis_self_healing_execute
    • Addedjarvis_swarm_orchestrate
    • Addedjarvis_zero_key_query
    • Removedmanage_architecture_rules
    • Removedmanage_memory_store
    • Removedorchestrate_agent_swarm
    • Changedprune_code_snippet6 fields changed
      • changedInput schema / properties / code / description
        Previous value: -"Raw source code, schema definition (JSON/YAML), or unified diff text to compress."New value: +"Raw source code content to prune."
      • removedInput schema / properties / file_name_or_lang
        Removed value: -{
        -  "default": "snippet.py",
        -  "description": "File name or language extension (e.g. 'service.ts', '.go', '.rs', 'schema.json') to select appropriate AST parser.",
        -  "title": "File Name Or Lang",
        -  "type": "string"
        -}
      • addedInput schema / properties / file_path_or_ext
        Added value: +{
        +  "default": "snippet.py",
        +  "description": "File name or extension (e.g. 'service.ts', 'main.go', 'app.py', '.rs', '.java', '.cs', '.kt', '.swift') indicating language parser.",
        +  "title": "File Path Or Ext",
        +  "type": "string"
        +}
      • changedInput schema / properties / reduction_mode / description
        Previous value: -"AST reduction level: 'ultra' for signatures only, 'balanced' for signatures + control structures, 'micro_patch' for surgical unified diff pruning."New value: +"Reduction tier: 'ultra' for AST signatures only (80-95% reduction), 'balanced' for signatures + control flow."
      • changedInput schema / title
        Previous value: -"prune_code_snippetArguments"New value: +"_legacy_prune_code_snippetArguments"
      • changedOutput schema / title
        Previous value: -"prune_code_snippetOutput"New value: +"_legacy_prune_code_snippetOutput"
    • Addedprune_schema_definition
    • Addedquery_architecture_boundaries
    • Removedquery_memory_store
    • Addedquery_module_dependencies
    • Addedrank_repository_pagerank
    • Removedsearch_codebase
    • Addedsearch_codebase_semantic
    • Addedtrace_symbol_call_chain
    • Addedverify_hallucination_guard
    • Removedverify_security_guard
    • Addedverify_zero_leak_security
  6. 52 tool updatesv7.0.0
    • Changedanalyze_change_impact3 fields changed
      • addedInput schema / properties / file_path
        Added value: +{
        +  "default": "",
        +  "description": "Optional file path where the target symbol is defined.",
        +  "title": "File Path",
        +  "type": "string"
        +}
      • changedInput schema / properties / project_root / description
        Previous value: -"Workspace root directory containing target symbols (default: current directory)."New value: +"Root directory of the repository (default: current directory)."
      • changedInput schema / properties / target_symbol / description
        Previous value: -"Name of the function, class, or method to analyze for change blast radius."New value: +"Name of the function, class, or method being modified or refactored."
    • Addedanalyze_code_dependencies
    • Addedaudit_code_quality
    • Removedaudit_codebase_quality
    • Addedbuild_project_context
    • Removedcompress_stream_tokens
    • Removedenforce_architecture_boundaries
    • Addedenforce_architecture_rules
    • Changedestimate_token_cost5 fields changed
      • addedInput schema / properties / export_agent_rules
        Added value: +{
        +  "default": "",
        +  "description": "Optional format to export agent rules: 'cursorrules', 'clinerules', 'markdown', or empty for cost estimation only.",
        +  "title": "Export Agent Rules",
        +  "type": "string"
        +}
      • changedInput schema / properties / project_root / description
        Previous value: -"Project directory to scan if text is empty (default: current directory)."New value: +"Root directory of the repository to calculate workspace ROI savings for."
      • removedInput schema / properties / reduction_mode
        Removed value: -{
        -  "default": "ultra",
        -  "description": "Reduction tier ('ultra', 'balanced', 'none') applied when scanning project_root.",
        -  "title": "Reduction Mode",
        -  "type": "string"
        -}
      • changedInput schema / properties / text / description
        Previous value: -"Optional raw text to estimate. If empty, analyzes context generated from project_root."New value: +"Raw text string to count tokens and calculate cost for."
      • addedInput schema / properties / tokens
        Added value: +{
        +  "default": 0,
        +  "description": "Optional raw token count to calculate cost directly.",
        +  "title": "Tokens",
        +  "type": "integer"
        +}
    • Removedexport_agent_rules
    • Removedfind_code_duplicity
    • Removedfind_dead_code
    • Changedgenerate_architecture_blueprint3 fields changed
      • changedInput schema / properties / model / description
        Previous value: -"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True."New value: +"Optional model identifier override when use_ai is True."
      • changedInput schema / properties / project_root / description
        Previous value: -"Root directory of the repository to analyze and document (default: current directory)."New value: +"Root directory of the repository to analyze (default: current directory)."
      • changedInput schema / properties / use_ai / description
        Previous value: -"When True, uses configured 3rd-party AI or Free AI Cloud to synthesize deep architecture analysis; when False (default), runs 100% offline AST analysis."New value: +"When True, uses configured AI provider to synthesize deep narrative; when False (default), runs 100% offline AST analysis."
    • Removedgenerate_repo_map
    • Removedgenerate_smart_micro_patch
    • Removedgenerate_zero_waste_prompt_context
    • Removedget_incremental_diff_context
    • Removedget_project_context_tree
    • Removedget_smart_skeleton_context
    • Removedget_token_savings_metrics
    • Removedinstall_git_security_guard
    • Removedjarvis_bft_swarm_consensus
    • Removedjarvis_causal_chain_query
    • Removedjarvis_compress_document
    • Removedjarvis_compress_semantic_memory
    • Removedjarvis_consolidate_memory
    • Removedjarvis_decompress_semantic_memory
    • Removedjarvis_export_graph_visualization
    • Removedjarvis_export_memory_store
    • Removedjarvis_hybrid_search
    • Removedjarvis_latent_press_compress
    • Removedjarvis_minhash_similarity
    • Removedjarvis_orchestrate_goal
    • Removedjarvis_query_knowledge_graph
    • Removedjarvis_self_healing_execute
    • Removedjarvis_swarm_orchestrate
    • Removedjarvis_zero_key_query
    • Addedmanage_architecture_rules
    • Addedmanage_memory_store
    • Addedorchestrate_agent_swarm
    • Changedprune_code_snippet4 fields changed
      • changedInput schema / properties / code / description
        Previous value: -"Raw source code content to prune."New value: +"Raw source code, schema definition (JSON/YAML), or unified diff text to compress."
      • addedInput schema / properties / file_name_or_lang
        Added value: +{
        +  "default": "snippet.py",
        +  "description": "File name or language extension (e.g. 'service.ts', '.go', '.rs', 'schema.json') to select appropriate AST parser.",
        +  "title": "File Name Or Lang",
        +  "type": "string"
        +}
      • removedInput schema / properties / file_path_or_ext
        Removed value: -{
        -  "default": "snippet.py",
        -  "description": "File name or extension (e.g. 'service.ts', 'main.go', 'app.py', '.rs', '.java', '.cs', '.kt', '.swift') indicating language parser.",
        -  "title": "File Path Or Ext",
        -  "type": "string"
        -}
      • changedInput schema / properties / reduction_mode / description
        Previous value: -"Reduction tier: 'ultra' for AST signatures only (80-95% reduction), 'balanced' for signatures + control flow."New value: +"AST reduction level: 'ultra' for signatures only, 'balanced' for signatures + control structures, 'micro_patch' for surgical unified diff pruning."
    • Removedprune_schema_definition
    • Removedquery_architecture_boundaries
    • Addedquery_memory_store
    • Removedquery_module_dependencies
    • Removedrank_repository_pagerank
    • Addedsearch_codebase
    • Removedsearch_codebase_semantic
    • Removedtrace_symbol_call_chain
    • Removedverify_hallucination_guard
    • Addedverify_security_guard
    • Removedverify_zero_leak_security
  7. 21 tool updatesv6.1.0
    • Addedcompress_stream_tokens
    • Addedgenerate_smart_micro_patch
    • Addedgenerate_zero_waste_prompt_context
    • Addedinstall_git_security_guard
    • Addedjarvis_bft_swarm_consensus
    • Addedjarvis_causal_chain_query
    • Addedjarvis_compress_document
    • Addedjarvis_compress_semantic_memory
    • Addedjarvis_consolidate_memory
    • Addedjarvis_decompress_semantic_memory
    • Addedjarvis_export_graph_visualization
    • Addedjarvis_export_memory_store
    • Addedjarvis_hybrid_search
    • Addedjarvis_latent_press_compress
    • Addedjarvis_minhash_similarity
    • Addedjarvis_orchestrate_goal
    • Addedjarvis_query_knowledge_graph
    • Addedjarvis_self_healing_execute
    • Addedjarvis_swarm_orchestrate
    • Addedjarvis_zero_key_query
    • Addedprune_schema_definition
  8. 21 tool updatesv0.1.1
    • Changedanalyze_change_impact2 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Workspace root directory containing target symbols (default: current directory)."
      • addedInput schema / properties / target_symbol / description
        Added value: +"Name of the function, class, or method to analyze for change blast radius."
    • Changedaudit_codebase_quality2 fields changed
      • addedInput schema / properties / file_path / description
        Added value: +"Optional path to a specific file to audit. If empty, audits all code files in the workspace."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to audit (default: current directory)."
    • Changedenforce_architecture_boundaries2 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Workspace root to validate against architectural rules (default: current directory)."
      • addedInput schema / properties / rules_file / description
        Added value: +"Path to rules JSON file (default: 'tzero.rules.json'). Resolves relative to project_root."
    • Changedestimate_token_cost3 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Project directory to scan if text is empty (default: current directory)."
      • addedInput schema / properties / reduction_mode / description
        Added value: +"Reduction tier ('ultra', 'balanced', 'none') applied when scanning project_root."
      • addedInput schema / properties / text / description
        Added value: +"Optional raw text to estimate. If empty, analyzes context generated from project_root."
    • Changedexport_agent_rules2 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Target workspace directory where agent rule files will be created (default: current directory)."
      • addedInput schema / properties / target / description
        Added value: +"Target editor format: 'cursor', 'cline', 'windsurf', or 'all' (default: 'all')."
    • Changedfind_code_duplicity2 fields changed
      • addedInput schema / properties / min_lines / description
        Added value: +"Minimum identical consecutive lines to classify as a duplicate block (default: 6)."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to scan (default: current directory)."
    • Changedfind_dead_code1 field changed
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to scan for unreferenced symbols (default: current directory)."
    • Changedgenerate_architecture_blueprint3 fields changed
      • addedInput schema / properties / model / description
        Added value: +"Optional model identifier override (e.g. 'deepseek-v4.1-flash', 'gpt-4o') when use_ai is True."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to analyze and document (default: current directory)."
      • addedInput schema / properties / use_ai / description
        Added value: +"When True, uses configured 3rd-party AI or Free AI Cloud to synthesize deep architecture analysis; when False (default), runs 100% offline AST analysis."
    • Changedgenerate_repo_map2 fields changed
      • addedInput schema / properties / max_tokens / description
        Added value: +"Maximum token budget for the repo map (default: 4000)."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to map (default: current directory)."
    • Changedget_incremental_diff_context2 fields changed
      • addedInput schema / properties / base_ref / description
        Added value: +"Git revision or branch to diff against (default: 'HEAD~1')."
      • addedInput schema / properties / project_root / description
        Added value: +"Git repository root path (default: current directory)."
    • Changedget_project_context_tree4 fields changed
      • addedInput schema / properties / include_file_contents / description
        Added value: +"When True, includes AST-reduced file bodies; when False, emits only the directory hierarchy and high-level architectural outline."
      • addedInput schema / properties / max_tokens / description
        Added value: +"Upper token budget threshold for returned context. When exceeded, PageRank & Git recency prioritizes critical architectural files."
      • addedInput schema / properties / project_root / description
        Added value: +"Target repository root path to scan (default: current working directory)."
      • addedInput schema / properties / reduction_mode / description
        Added value: +"AST reduction level: 'ultra' for signatures & docstrings (80-95% reduction), 'balanced' for signatures + control headers, 'none' for verbatim source."
    • Changedget_smart_skeleton_context3 fields changed
      • addedInput schema / properties / focus_file / description
        Added value: +"Target file path to focus on and retain with full implementation."
      • addedInput schema / properties / focus_symbol / description
        Added value: +"Optional specific function or class name within focus_file to isolate."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository (default: current directory)."
    • Changedget_token_savings_metrics2 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Target workspace directory to measure (default: current directory)."
      • addedInput schema / properties / team_size / description
        Added value: +"Number of developers in the engineering team used to model monthly ROI savings (default: 5)."
    • Changedprune_code_snippet3 fields changed
      • addedInput schema / properties / code / description
        Added value: +"Raw source code content to prune."
      • addedInput schema / properties / file_path_or_ext / description
        Added value: +"File name or extension (e.g. 'service.ts', 'main.go', 'app.py', '.rs', '.java', '.cs', '.kt', '.swift') indicating language parser."
      • addedInput schema / properties / reduction_mode / description
        Added value: +"Reduction tier: 'ultra' for AST signatures only (80-95% reduction), 'balanced' for signatures + control flow."
    • Changedquery_architecture_boundaries2 fields changed
      • addedInput schema / properties / extra_guidance / description
        Added value: +"Optional custom rules, architecture styles, or conventions to inject into the boundary definition."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository where tzero.rules.json is located (default: current directory)."
    • Changedquery_module_dependencies2 fields changed
      • addedInput schema / properties / file_path / description
        Added value: +"Optional relative or absolute path to a specific file to inspect. If empty, analyzes the whole workspace."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to scan (default: current directory)."
    • Changedrank_repository_pagerank2 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository to analyze (default: current directory)."
      • addedInput schema / properties / top_k / description
        Added value: +"Number of top central modules to return in the ranking report (default: 15)."
    • Changedsearch_codebase_semantic3 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Workspace root directory to index and search (default: current directory)."
      • addedInput schema / properties / query / description
        Added value: +"Natural language or technical keyword query describing the desired code logic."
      • addedInput schema / properties / top_k / description
        Added value: +"Maximum number of top-matching code snippets to return (default: 5)."
    • Changedtrace_symbol_call_chain3 fields changed
      • addedInput schema / properties / max_depth / description
        Added value: +"Maximum recursion depth for the call graph traversal (default: 3)."
      • addedInput schema / properties / project_root / description
        Added value: +"Root directory of the repository (default: current directory)."
      • addedInput schema / properties / symbol_name / description
        Added value: +"Exact function or method name to trace across the codebase call graph."
    • Changedverify_hallucination_guard3 fields changed
      • addedInput schema / properties / project_root / description
        Added value: +"Workspace root directory providing the ground-truth AST symbol catalog (default: current directory)."
      • addedInput schema / properties / proposed_code / description
        Added value: +"Python code proposed to be written or edited."
      • addedInput schema / properties / target_file / description
        Added value: +"Optional path of the target file being modified to resolve relative imports."
    • Changedverify_zero_leak_security3 fields changed
      • addedInput schema / properties / code_snippet / description
        Added value: +"Optional in-memory code string to inspect instead of files on disk."
      • addedInput schema / properties / project_root / description
        Added value: +"Workspace root directory to scan for secret leaks (default: current directory)."
      • addedInput schema / properties / target_file / description
        Added value: +"Optional single file path to inspect instead of the full workspace."
  9. 21 tool updatesv0.1.0
    • First observedanalyze_change_impact
    • First observedaudit_codebase_quality
    • First observedenforce_architecture_boundaries
    • First observedestimate_token_cost
    • First observedexport_agent_rules
    • First observedfind_code_duplicity
    • First observedfind_dead_code
    • First observedgenerate_architecture_blueprint
    • First observedgenerate_repo_map
    • First observedget_incremental_diff_context
    • First observedget_project_context_tree
    • First observedget_smart_skeleton_context
    • First observedget_token_savings_metrics
    • First observedprune_code_snippet
    • First observedquery_architecture_boundaries
    • First observedquery_module_dependencies
    • First observedrank_repository_pagerank
    • First observedsearch_codebase_semantic
    • First observedtrace_symbol_call_chain
    • First observedverify_hallucination_guard
    • First observedverify_zero_leak_security

TDQS

A4.2/5.0

Scored across 15 tools

Disambiguation3/5

Most individual descriptions explicitly name sibling tools and state when NOT to use them, which is excellent. However, 'execute_codebase_workflow' is a master tool that explicitly subsumes every other tool ('use whenever you want... without choosing between individual tools'), and several analysis tools (analyze_change_impact, analyze_code_dependencies, build_project_context) operate on the same AST data, creating real misselection risk despite the descriptions.

Naming Consistency5/5

All 15 tools follow a consistent snake_case verb_noun pattern (query_memory_store, audit_code_quality, enforce_architecture_rules, estimate_token_cost). No camelCase mixing or vague single-word names anywhere in the set.

Tool Count4/5

15 tools is at the upper edge of the well-scoped range but each targets a distinct capability, so it does not feel bloated. The presence of a catch-all orchestrator that duplicates all 14 other tools is mild redundancy that slightly reduces the value of the individual tools.

Completeness4/5

The surface is remarkably broad: memory query/manage lifecycle, code search, quality audit, secret scanning, context building, snippet pruning, full architecture rule CRUD + enforcement + blueprinting, dependency analysis, change impact, swarm orchestration, and cost estimation. Minor gaps exist around no code-editing/apply-patch tool outside self-healing, and no tooling for test execution or git state, which the described workflows (CI/CD, pre-merge) would imply.

Maintenance

ActivityMaintained
ResponsivenessWithin a week

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides intelligent code context and analysis through semantic compression, AST parsing, and multi-language support. Offers 60-80% token reduction while enabling AI assistants to understand codebases through local analysis, OpenAI-enhanced insights, and GitHub repository integration.
    6
    14 npm
    3
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Enables LLMs to efficiently read, write, and refactor code using precise AST-based operations, reducing token usage and context window waste.
    25
    34 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Make any LLM a codebase expert instantly. Provides deep code intelligence through semantic search, architecture mapping, security analysis, and smart context that fits perfectly in token windows.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides structured, token-efficient code context for AI assistants by indexing codebases with AST-level analysis, supporting 17+ languages, enabling semantic search, call-site tracking, and PR attribution.
    144 PyPI
    41
    MIT