{"name":"gotcontext","description":"Semantic compression gateway. 130+ MCP tools for context-window optimization, KB-backed retrieval, multi-model embeddings, and cache-aware orchestration. Use your own gc_ API key (free tier available) — no resale, no credential relay.","version":"1.35.1","documentationUrl":"https://gotcontext.ai/docs","supportedInterfaces":[{"url":"https://api.gotcontext.ai/mcp","protocolBinding":"MCP","protocolVersion":"1.0"},{"url":"https://api.gotcontext.ai","protocolBinding":"HTTP+JSON","protocolVersion":"1.0"}],"provider":{"organization":"gotcontext.ai","url":"https://gotcontext.ai"},"capabilities":{"streaming":true,"pushNotifications":false,"extensions":[{"uri":"https://gotcontext.ai/extensions/mcp/v1","description":"Tools exposed in this Agent Card map 1:1 to MCP tools available at the /mcp endpoint via Streamable HTTP. Use the MCP JSON-RPC tools/call method with the skill id as the tool name.","required":false},{"uri":"https://gotcontext.ai/extensions/plan-tier/v1","description":"Each skill carries a 'plan:<tier>' tag (free|pro) indicating which subscription tier may invoke it. Pro tier and above unlock the full catalogue.","required":false},{"uri":"urn:nevermined:payment","description":"Accepts Nevermined payment-signature headers on /v1/compress* endpoints. Charge is billed asynchronously to the holder's Nevermined wallet; gotcontext.ai does not custody funds.","required":false,"params":{"agent_id":"58906961300835500564267350572242792488483326980523619162468451741210268949015","plan_id":"65210439521756139489536454142960425445238002975066003663141147718534082275030","scope":["/v1/compress","/v1/compress-code"]}}],"extendedAgentCard":false},"securitySchemes":{"gcApiKey":{"scheme":"Bearer","bearerFormat":"gc_<32-hex-chars>","description":"gotcontext API key with the gc_ prefix. Mint at https://gotcontext.ai/dashboard/keys. Free tier available."},"mcpOAuth":{"openIdConnectUrl":"https://api.gotcontext.ai/.well-known/oauth-protected-resource","description":"OAuth 2.1 with RFC 8707 resource-indicator binding for the MCP endpoint. See the linked Protected Resource Metadata document for authorization server discovery."}},"security":[{"gcApiKey":[]},{"mcpOAuth":["mcp:tools","mcp:read","mcp:write"]}],"defaultInputModes":["text/plain","application/json"],"defaultOutputModes":["text/plain","application/json"],"skills":[{"id":"ace_curate","name":"ace_curate","description":"[CURATE] ACE CURATE: Integrate insights into playbook via delta updates. Applies incremental changes (add/update/remove bullets) with semantic deduplication. Prevents context collapse through grow-and-refine strategy. Use after reflecting to evolve the playbook.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_execute_cycle","name":"ace_execute_cycle","description":"[SYNC] ACE EXECUTE CYCLE: Execute complete ACE cycle (Generate -> Reflect -> Curate). Convenience tool that combines the three-step ACE process into one call. Generates trajectory, reflects on outcome, and curates insights automatically. Use for rapid iteration and continuous playbook improvement.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_generate","name":"ace_generate","description":"[AFM] ACE GENERATE: Generate reasoning trajectory for a task using ACE playbook. Produces step-by-step reasoning that applies relevant bullets from the playbook. Each step includes relevant guidelines, reasoning, and confidence scores. Use this to guide semantic node selection and compression decisions.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_get_playbook","name":"ace_get_playbook","description":"[ACE] ACE GET PLAYBOOK: Retrieve current ACE playbook state. Returns all bullets with performance stats, versioning, and delta history. Supports filtering by confidence, bullet type, or custom criteria. Use to inspect the evolved playbook and understand learned patterns.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_grow_context","name":"ace_grow_context","description":"[ADD] ACE GROW: Manually add bullets to playbook (grow operation). Directly insert principles, strategies, tactics, constraints, or preferences. Use to seed domain-specific knowledge or codify team standards. Each bullet gets an embedding for semantic operations.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_refine_context","name":"ace_refine_context","description":"[ACE] ACE REFINE: Update bullet performance based on feedback (refine operation). Adjusts confidence scores for specific bullets based on success/failure. Use to reinforce successful patterns or penalize failed approaches. Enables continuous improvement of the playbook.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ace_reflect","name":"ace_reflect","description":"[ANALYZE] ACE REFLECT: Extract insights from a reasoning trajectory. Analyzes what worked (successes) and what didn't (failures) to formulate new bullets. Returns insights with confidence scores and reasoning. Use after completing a task to learn and improve the playbook.","tags":["plan:pro","category:ace","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"adapt_to_context_window","name":"adapt_to_context_window","description":"ADAPTIVE CONTEXT ALLOCATION (JSCCM-inspired): Dynamically adjust compression based on available context window. Low availability (like low SNR in wireless) -> More compression. High availability -> Less compression, more detail. Uses learned rate allocator to determine optimal skeleton ratio. Inspired by JSCCM paper's channel adaptation strategy.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"add_memory","name":"add_memory","description":"Store an explicit memory independently of document ingestion. Useful for user preferences, decisions, gotchas, and persistent workflow hints.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"advise_cache_strategy","name":"advise_cache_strategy","description":"Get the optimal prompt caching strategy for your model. Each LLM provider handles caching differently -- Anthropic uses explicit markers, OpenAI is automatic, Gemini has implicit+explicit modes. Returns specific tips for maximizing cache hits and cost savings.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"advise_context","name":"advise_context","description":"Analyze all ingested documents and recommend optimal context strategy. Returns model recommendations, pruning priorities, and compression advice.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_add_message","name":"afm_add_message","description":"ADAPTIVE FOCUS MEMORY: Add message to dialogue history. AFM (Adaptive Focus Memory, arXiv:2511.12712v1) manages multi-turn conversations by assigning adaptive fidelity to each message based on recency, semantic relevance, and importance. Messages are automatically classified as CRITICAL (safety-sensitive), RELEVANT, or TRIVIAL. Use this to build dialogue history before calling afm_build_context.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_build_context","name":"afm_build_context","description":"[AFM] ADAPTIVE FOCUS MEMORY: Build optimized context for current query. Uses semantic similarity + recency weighting + importance classification to pack dialogue history under strict token budget. Achieves ~66% token reduction while preserving safety-critical information (e.g., allergies, constraints). Each message gets adaptive fidelity: FULL (verbatim), COMPRESSED (summary), or PLACEHOLDER. Messages packed chronologically to preserve conversation flow.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_clear_history","name":"afm_clear_history","description":"[DELETE] ADAPTIVE FOCUS MEMORY: Clear dialogue history. Removes all messages and resets turn counter. Use when starting a new conversation or when dialogue context is no longer relevant.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_export_history","name":"afm_export_history","description":"[SAVE] ADAPTIVE FOCUS MEMORY: Export dialogue history to JSON. Saves current conversation state including all messages, turn counter, and metadata. Use this to preserve conversations for later resume. Returns JSON string that can be saved and imported later.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_get_stats","name":"afm_get_stats","description":"[STATS] ADAPTIVE FOCUS MEMORY: Get dialogue statistics. Returns total messages, current turn index, and importance breakdown (critical/relevant/trivial counts). Useful for monitoring dialogue state.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"afm_import_history","name":"afm_import_history","description":"[LOAD] ADAPTIVE FOCUS MEMORY: Import dialogue history from JSON. Restores a previously exported conversation state. This replaces the current dialogue history. Use this to resume saved conversations.","tags":["plan:pro","category:adaptive-memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"assess_cache_compatibility","name":"assess_cache_compatibility","description":"Assess whether a provider and harness combination exposes enough telemetry to validate prompt cache behavior reliably.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"audit_prompt_cacheability","name":"audit_prompt_cacheability","description":"Audit a composed prompt for cache-friendly section ordering and volatile metadata that can break provider prefix caching.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"batch_compress_queue","name":"batch_compress_queue","description":"Enqueue a batch compression job. Submits a list of documents for asynchronous compression and returns a job id. Poll GET /v1/batch-queue/{id} for status and results. Requires Team or Enterprise plan.","tags":["plan:pro","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"batch_ingest_documents","name":"batch_ingest_documents","description":"[BATCH] Batch ingest multiple documents concurrently for 4x faster throughput. Processes documents in parallel with bounded concurrency, progress tracking, and error isolation. One document failure won't block the entire batch. Returns detailed results for each document including success status and processing time. Ideal for enterprise-scale document ingestion.","tags":["plan:pro","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"calculate_reward","name":"calculate_reward","description":"[EXPERIMENTAL] Calculate decomposed compression reward using ASG-SI system. Computes 5 reward components: Schema (validation), Semantic (meaning preservation), Fidelity (ratio adherence), Composition (graph integrity), Memory (efficiency). Based on arxiv.org/abs/2512.23760 Audited Skill-Graph Self-Improvement.","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"calculate_roi","name":"calculate_roi","description":"Calculate ROI of using gotcontext compression vs raw token usage. Shows monthly cost comparison: without vs with compression, Pro plan cost, net savings, and ROI multiplier. Powers the website ROI calculator.","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"capture_cache_telemetry","name":"capture_cache_telemetry","description":"Normalize provider-side prompt cache telemetry from a real model API response and warn on silent cache misses.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"check_blind_spots","name":"check_blind_spots","description":"BLIND SPOT DETECTOR: Analyze if your response missed critical context. This tool embeds your response and compares it to ALL nodes in the document. If relevant content was not retrieved, it alerts you and suggests auto-injection. Use AFTER generating a response to ensure fidelity. This implements the 'Self-Correcting Context Loop'.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"check_budget","name":"check_budget","description":"Check token budget usage against configured limits. Supports per-session, daily, and monthly budgets. Returns usage status, alert level, and projected usage. Schema rejects unknown fields (e.g. legacy 'period' arg) so MCP agents get explicit validation errors instead of silent argument-drops.","tags":["plan:free","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"check_context_budget","name":"check_context_budget","description":"Check how much of your LLM context window is being used and get proactive compression recommendations. Returns usage percentage and suggests action at 40%/60%/75% thresholds.","tags":["plan:free","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"check_environment","name":"check_environment","description":"[HEALTH] Check comprehensive environment health: models loaded, memory usage, cache hit ratio, stale documents, and disk space. Returns recommendations for optimization. Use this to understand system state before heavy operations.","tags":["plan:free","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"check_resource_health","name":"check_resource_health","description":"[SAVE] RESOURCE HEALTH: Check resource usage and system health. Returns storage, memory, and document count metrics with proactive warnings and recommendations. Use this to monitor resource usage before ingesting large documents or when experiencing slowdowns. Prevents hitting storage limits unexpectedly.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compare_experiment_runs","name":"compare_experiment_runs","description":"Compare two experiment runs and report deltas in pass counts, compression, verification, and reward quality.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compare_prompt_versions","name":"compare_prompt_versions","description":"Compare two versions of the same prompt template and return changed fields plus a unified diff.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compile_knowledge","name":"compile_knowledge","description":"Compile flat memories into cross-linked markdown concept articles with a navigable index. Deduplicates and groups by category.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compress_codebase","name":"compress_codebase","description":"Compress a codebase directory into a semantic skeleton. Uses tensor-grep AST analysis when available for structure extraction. Falls back to directory scanning without tensor-grep. Optionally filter by query or file patterns.","tags":["plan:pro","category:compression","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compress_mcp_registry","name":"compress_mcp_registry","description":"Compress the tool descriptions of one or more MCP servers by fetching their tools/list and running token-saver compression on the descriptions. Returns compressed tool schemas and token savings per server. Use to reduce the context cost of multi-server MCP setups. Pro+ only.","tags":["plan:pro","category:compression","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"compress_meta_tokens","name":"compress_meta_tokens","description":"[COMPRESS] Lossless meta-token compression (arXiv 2506.00307). Finds repeated token subsequences and replaces them with compact dictionary symbols (§1, §2, …). Fully reversible. Best for repetitive text with recurring phrases. Returns compressed_text, dictionary, and token savings.","tags":["plan:pro","category:compression","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"configure_for_client","name":"configure_for_client","description":"Configure compression parameters for a specific LLM client or model. Accepts a model identifier (e.g. claude-opus-4-6, gpt-4o) or explicit context window size. Auto-tunes skeleton ratio, chunk sizes, and fidelity defaults to maximize token efficiency for the target model.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"create_connector_feed","name":"create_connector_feed","description":"Create a managed connector feed definition for exported web, GitHub, S3, or Slack payloads.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"create_dataset","name":"create_dataset","description":"Create a reusable named benchmark/evaluation dataset from inline cases or a JSON corpus fixture.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"create_handoff_bundle","name":"create_handoff_bundle","description":"Create a structured, auditable handoff bundle from a compressed document, including distilled skeleton context and optional focused evidence.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"create_project","name":"create_project","description":"Create a new project for API key and usage attribution. Returns the new project id. Bind API keys to a project to track per-project token savings and costs. Requires Team or Enterprise plan.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"create_prompt_template","name":"create_prompt_template","description":"Create a managed prompt template with version 1 and optional deployment label. Use this to make prompts first-class artifacts instead of hard-coded strings.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"delete_document","name":"delete_document","description":"DELETE DOCUMENT: Permanently delete an ingested document. Removes the document from memory and persistent storage. This operation cannot be undone. Use with caution. Useful for managing storage limits or removing outdated documents.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"delete_memory","name":"delete_memory","description":"Delete a previously stored explicit memory by ID.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"deploy_prompt_version","name":"deploy_prompt_version","description":"Assign or move a deployment label (production, staging, canary) to a specific prompt template version.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"detect_dead_code","name":"detect_dead_code","description":"Detect Python files in a directory that are never imported by other files. Uses regex-based import graph analysis to identify unreachable modules. Entry points (main.py, server.py, __init__.py, test_*.py, etc.) are always considered live. Returns dead file list with estimated token savings -- useful for excluding dead code before compression to reduce noise.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"detect_hallucination","name":"detect_hallucination","description":"HALLUCINATION DETECTOR: Check if a response is grounded in source material. Compares response embedding to document graph. Flags responses with low similarity to all nodes (possible fabrication). Use when uncertain about answer accuracy.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"diagnose_cache_miss","name":"diagnose_cache_miss","description":"Diagnose why an expected provider cache hit missed by comparing the recorded prompt expectation with the actual rendered prefix that reached the provider.","tags":["plan:pro","category:advisory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"discover_savings","name":"discover_savings","description":"Discover missed token savings opportunities. Scans a directory or list of text items to estimate what could be compressed. Returns ranked opportunities with estimated savings per file. Use before ingesting content to prioritize which files benefit most.","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"estimate_model_cost","name":"estimate_model_cost","description":"Estimate token cost savings for a model using original and compressed token counts.","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"estimate_tokens","name":"estimate_tokens","description":"Estimate token count for a given text using multiple methods. Returns accurate count (tiktoken), fast estimate (bytes/4), JSON-optimized estimate (bytes/2), and raw byte count. Useful for budgeting context window usage before ingestion.","tags":["plan:free","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"explain_compression_decision","name":"explain_compression_decision","description":"[ANALYZE] Explain why a specific node was kept or dropped during compression. Provides detailed analysis including importance score ranking, connectivity, key entities, and relationships with other nodes. Perfect for understanding and debugging compression decisions.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"export_graph_graphml","name":"export_graph_graphml","description":"[VIZ] Export semantic graph as GraphML for analysis tools. GraphML is a standard XML format supported by Gephi, Cytoscape, igraph, and NetworkX. Perfect for advanced network analysis, visualization, and research workflows.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"export_graph_json","name":"export_graph_json","description":"[STATS] Export semantic graph as JSON for programmatic access. Returns a structured JSON representation of the semantic graph with nodes, edges, importance scores, and statistics. Perfect for custom analysis or integration with other tools.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"export_team_data","name":"export_team_data","description":"Export aggregated team savings data. Supports JSON, CSV, and Prometheus exposition formats. Use for team dashboards, monitoring, and cost reporting.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"filter_cli_output","name":"filter_cli_output","description":"Filter CLI command output to reduce token usage. Auto-detects command type (git, pytest, npm, lint, etc.) and applies optimal filtering strategy. Strips ANSI codes, extracts stats, groups errors, removes progress bars.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"find_duplicates","name":"find_duplicates","description":"Detect near-duplicate content across different ingested documents. Uses cosine similarity on chunk embeddings to find redundant content that could be deduplicated to save tokens.","tags":["plan:pro","category:search","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_agent_capsule","name":"gc_agent_capsule","description":"Returns an actionable context capsule for AI agents: primary targets, snippets, validation commands, rollback metadata, confidence. Use this BEFORE making any non-trivial code change — it tells you exactly what to look at first. Wraps `tg agent`. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_blast_radius","name":"gc_blast_radius","description":"Structural code-context compression. Submit a file bundle + REQUIRED focus symbol; server runs tensor-grep blast-radius + BM25 and returns a ranked context list. Aligns with POST /v1/compress-code/structural. Pro+ only. NOTE: focus_symbol is required by tensor-grep>=1.12.0; omitting it now returns a structured BlastRadiusInputError instead of a degraded result.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_callers","name":"gc_callers","description":"Find all call sites of a symbol + the likely impacted test files. Lower-cost than gc_blast_radius when you just need 'who calls this' rather than a full transitive blast radius. Wraps `tg callers`. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_compress_manifest","name":"gc_compress_manifest","description":"Compress an MCP tools/list manifest. Shortens tool descriptions via token-saver compression while preserving inputSchema byte-for-byte. Returns compressed manifest + savings stats. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_context_render","name":"gc_context_render","description":"Returns a ranked, prompt-ready context bundle for a natural-language query — designed for direct injection into an LLM prompt. Use when you have a fuzzy 'find me code related to X' question. Wraps `tg context-render`. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_edit_plan","name":"gc_edit_plan","description":"Returns a machine-readable edit plan: which files to modify, what to add/remove, with validation_commands to verify the result. Use this BEFORE writing a patch — it produces a structured rewrite plan that beats free-form 'let me think about this' loops. Wraps `tg edit-plan`. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_delete","name":"gc_kb_delete","description":"Soft-delete a KB item. The item is marked deleted and excluded from queries and listings, but its data is retained for audit purposes. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_diff","name":"gc_kb_diff","description":"Compute a unified text diff between two versions of a KB item. Returns both versions' full content plus a unified diff string. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_edit","name":"gc_kb_edit","description":"Replace the content of an existing KB item (creates a new version). Pass the current version_id to prevent lost-update races. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project (the dispatch reads the key's project context, not a request parameter). Keys not bound to a KB project return {error: 'no_project_selected'}. Mint a project-scoped key from /dashboard/keys.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_get","name":"gc_kb_get","description":"Fetch a single KB item's metadata by its id. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_ingest","name":"gc_kb_ingest","description":"Add a new item to the project Knowledge Hub. Supply either 'content' (raw text) or 'url' (fetched and extracted). Returns the new item_id and version_id. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_list","name":"gc_kb_list","description":"List all non-deleted KB items in the current project. Returns id, name, type, current_version_id, and timestamps. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_kb_query","name":"gc_kb_query","description":"Vector-search the project Knowledge Hub. Returns the top-k semantically similar chunks with their source item ids and scores. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge Hub project. Keys not bound to a KB project return {error: 'no_project_selected'}.","tags":["plan:pro","category:knowledge-base","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_lookup","name":"gc_lookup","description":"Look up framework documentation across 9 indexed Context Hub frameworks (Next.js, FastAPI, LangChain, SQLAlchemy, Pydantic, Tailwind, Drizzle, FastMCP, React).  Free for all tiers.  Returns raw documentation chunks ranked by semantic similarity to the query.","tags":["plan:free","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_mint_api_key","name":"gc_mint_api_key","description":"Mint a new gc_ API key for the authenticated caller. The full key value is returned ONCE in the response — store it immediately. Subsequent calls cannot recover the value. Inherits the caller's plan + (optionally) project. Default expires in 30 days; max 365. Pro+ only — Free-tier customers must mint via the dashboard.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_pre_flight","name":"gc_pre_flight","description":"Pre-flight check before sending an expensive prompt to the LLM. Returns a structured verdict (send_as_is | send_compressed | warn_context_limit | clear_first) plus the compressed prompt body inline, cost preview against on-demand list pricing, and a cache hit likelihood score. One MCP call replaces context warnings, compression decisions, and cost previews. Available to all plans; volume governed by your monthly compression quota.","tags":["plan:free","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_read_doc","name":"gc_read_doc","description":"Read a gotcontext product/API documentation page as markdown. Use after gc_search_docs returns a URL; or pass a known slug like 'authentication'. Returns JSON with markdown, source_url, and length_tokens.","tags":["plan:free","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_rebind_api_key","name":"gc_rebind_api_key","description":"Rebind a gc_ API key to a different project (or unbind it to the user-scoped Default). Lets headless agents (CI runners, Claude Code sessions, automation) self-manage key→project attribution without a dashboard session. Only keys owned by the authenticated caller may be rebound — cross-user rebinds are rejected with 403. The plan-cache entry is explicitly evicted on success so traffic attributes to the new project immediately (no 5-min stale window). Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_revoke_api_key","name":"gc_revoke_api_key","description":"Revoke a gc_ API key owned by the authenticated caller. Cross-user revokes are rejected with 403. The key is set to status='revoked' in Postgres + evicted from the Redis plan cache so subsequent requests with that key return 401 within ~5 seconds. Pro+ only.","tags":["plan:pro","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_search_docs","name":"gc_search_docs","description":"Search gotcontext product/API documentation and return ranked docs URLs. When to use vs gc_lookup: gc_lookup is for company-name disambiguation; gc_search_docs is for product/API documentation queries. Returns JSON with results containing title, snippet, url, and score.","tags":["plan:free","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"gc_session_summary","name":"gc_session_summary","description":"Compress a session's conversation history into a portable summary the agent can re-inject after /clear. The natural pair to gc_pre_flight: when pre_flight returns clear_first, call gc_session_summary, then /clear, then re-inject the returned restoration_instructions. Runs on gotcontext infra so it works even when Claude Code's auto-compact would fail. Available to all plans; volume governed by your monthly compression quota.","tags":["plan:free","category:platform","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"generate_rewrite_prompt","name":"generate_rewrite_prompt","description":"Generate a structured rewrite prompt for client-side LLM compression. Returns system instructions and user prompt optimized for generative compression.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"generate_structural_summary","name":"generate_structural_summary","description":"Generate a compact structural outline of a code file. Extracts imports, class definitions, and function signatures (with type hints). Replaces function bodies with `...`. Achieves ~80-90% token reduction while preserving the full API surface. Ideal for codebase exploration, API discovery, and context-window-efficient code review. Supports Python (AST-based) and other languages (regex fallback).","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"generate_synthetic_tests","name":"generate_synthetic_tests","description":"[EXPERIMENTAL] Generate synthetic test cases for adversarial testing. Uses ASG-SI experience synthesis to create boundary cases, adversarial documents, and stress test scenarios for compression validation. Based on arxiv.org/abs/2512.23760 Audited Skill-Graph Self-Improvement.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_compression_insights","name":"get_compression_insights","description":"Get insights from compression history: best ratios per content type, average fidelity scores, and data-driven strategy recommendations.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_compression_presets","name":"get_compression_presets","description":"List available compression presets (code-review, chat, research, aggressive, balanced). Each preset maps to optimal skeleton_ratio and fidelity settings for common use cases.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_compression_profile","name":"get_compression_profile","description":"Get the active compression profile for the session. Returns the profile name and its parameter values (skeleton_ratio, fidelity, chunk_size).","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_connector_feed","name":"get_connector_feed","description":"Fetch one managed connector feed definition.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_context_block","name":"get_context_block","description":"Build a lifecycle-aware context block with active facts, recent events, and a cache-stable skeleton prefix.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_evidence_stats","name":"get_evidence_stats","description":"[EXPERIMENTAL] Get evidence store statistics for audit trail. The store maintains a tamper-evident blockchain-style chain of all compression operations with cryptographic integrity verification. Based on arxiv.org/abs/2512.23760 Audited Skill-Graph Self-Improvement.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_experiment_run","name":"get_experiment_run","description":"Fetch a stored experiment run and its per-case evaluation details.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_handoff_bundle","name":"get_handoff_bundle","description":"Fetch one structured handoff bundle including its distilled artifacts.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_knowledge_index","name":"get_knowledge_index","description":"Return the compiled knowledge index markdown for index-first retrieval. Useful for small knowledge bases (<500 entries) where a readable index beats embedding search.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_multi_level_skeleton","name":"get_multi_level_skeleton","description":"Generate 3-tier skeleton output: headline (top 10%), summary (top 30%), and full (100%). Client picks the depth needed for their context budget.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_original_output","name":"get_original_output","description":"Retrieve the original (pre-compression) content for a tee entry. When compression is aggressive (>80%), the original is automatically saved. Use this to recover full output when the compressed version lost important details.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_prompt_template","name":"get_prompt_template","description":"Get a prompt template and resolve a specific version or deployment label to the exact prompt content.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_provider_profile","name":"get_provider_profile","description":"Get provider-aware pricing, cache telemetry fields, and prompt-shaping guidance for a model.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_savings_inline","name":"get_savings_inline","description":"Get a compact one-line savings summary. Embed this in other tool responses to show real-time savings. Example: 'Saved 3,400 tokens ($0.051) | Session: $2.34 saved (8.1x ROI)'","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_savings_report","name":"get_savings_report","description":"Get a detailed report of token savings for this session. Shows total tokens saved, dollars saved, compression ratios, per-tool breakdown, monthly projection, and ROI vs the Pro plan. Use this to justify the value of token compression to your team.","tags":["plan:pro","category:analytics","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_stats","name":"get_stats","description":"Get statistics about ingested documents. Shows token counts, compression ratios, and graph structure. Useful for understanding the semantic compression efficiency.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_user_profile","name":"get_user_profile","description":"Build a deterministic user profile from explicit stored memories within the requested scope.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"get_version_history","name":"get_version_history","description":"[HISTORY] VERSION HISTORY: Get version timeline for a document. Shows all cached versions with timestamps, checksums, file paths, and compression stats. Similar to 'git log' for cached documents. Use this to browse version history before using diff_cached_file to compare specific versions.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ingest_context","name":"ingest_context","description":"Ingest and compress a document into a semantic graph. This creates a fidelity-preserving encoding that reduces token usage by 80-95%. The document is analyzed for structure, relationships, and importance. Returns a compressed skeleton view. Provide document content via 'text' (inline) or 'file_url' (fetched via HTTPS). Optionally provide file_path to enable file sync tracking and version history.","tags":["plan:free","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ingest_multimodal","name":"ingest_multimodal","description":"Production-grade multimodal ingestion for text, code, images, audio transcripts, and document-with-images bundles.","tags":["plan:pro","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"ingest_transcript","name":"ingest_transcript","description":"Extract decisions, lessons, patterns, and gotchas from a conversation transcript and store them as scoped memories automatically.","tags":["plan:pro","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"invalidate_fact","name":"invalidate_fact","description":"Invalidate a fact so temporal retrieval excludes it by default.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"lint_knowledge","name":"lint_knowledge","description":"Run quality checks on stored memories: staleness, near-duplicates, contradictions, and orphan detection. Returns a structured lint report.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_connector_feeds","name":"list_connector_feeds","description":"List managed connector feeds and their last sync state.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_connector_types","name":"list_connector_types","description":"List available managed connector types and their purposes.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_datasets","name":"list_datasets","description":"List named datasets available for experiment runs.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_documents","name":"list_documents","description":"[LIST] LIST DOCUMENTS: Get inventory of all ingested documents. Returns structured information about each document including file_id, metadata, node count, token counts, and ingestion time. Use this to discover what documents are available for querying.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_fact_history","name":"list_fact_history","description":"List temporal fact versions for a document or exact fact identifier.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_handoff_bundles","name":"list_handoff_bundles","description":"List structured handoff bundles visible to the current scope.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_memories","name":"list_memories","description":"List explicit memories in the requested scope. Supports optional category filtering and result limits.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_prefix_collisions","name":"list_prefix_collisions","description":"List rendered prompt prefixes that collide across templates so shared provider-cacheable prefixes are visible.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_prompt_templates","name":"list_prompt_templates","description":"List managed prompt templates with their latest version and deployment labels. Optionally include all versions.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"list_tee_entries","name":"list_tee_entries","description":"List recent tee entries with metadata. Shows what original content has been preserved for recovery. Filter by source (cli_optimizer, proxy, compression).","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"modulate_region","name":"modulate_region","description":"Retrieve specific sections at a chosen fidelity level. Use this to 'zoom in' on relevant parts after reading the skeleton. 5 Fidelity levels (JSCCM-inspired adaptive modulation): 'ABSTRACT' (~10 tokens/node) - Quick summary only, 'OUTLINE' (~30 tokens/node) - Summary + section context, 'STRUCTURE' (~50 tokens/node) - Summary + entities + metadata, 'DETAILED' (~100 tokens/node) - Summary + entities + key excerpts, 'RAW' (variable tokens) - Full original content. This implements adaptive semantic ","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"multilevel_encode","name":"multilevel_encode","description":"MULTI-LEVEL ENCODING (JSCCM-inspired): Generate skeleton with 3 priority levels: - Main branch (top 15%, always included) - critical concepts - Auxiliary branch (next 25%, include if space allows) - important details - Detail branch (remaining, only if plenty of space) - supplementary content. Progressively adds levels based on available context window. Inspired by JSCCM's parallel encoder architecture.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"multimodal_ingest","name":"multimodal_ingest","description":"[EXPERIMENTAL] Ingest mixed content (text, code, images). Requires Pillow for image support. Image paths validated for security. NOT production-ready. Returns experimental flag.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"optimize_for_model","name":"optimize_for_model","description":"Generate provider-aware cost, fidelity, and prompt-shaping recommendations for a target model.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"project_stats","name":"project_stats","description":"Fetch usage statistics for your projects. With no arguments, lists all your projects. With project_id, returns that project's compression count and creation date. Pro+ only.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"proxy_mcp_server","name":"proxy_mcp_server","description":"Proxy a JSON-RPC method call to another MCP server and optionally compress the tools/list response on the way back. Useful for reducing context overhead when chaining MCP servers. Pro+ only.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"prune_by_relevance","name":"prune_by_relevance","description":"Prune document nodes by query relevance using attention-guided scoring. Keeps only the most relevant nodes for a given query, achieving up to 6x compression with better quality than blind ratio-based pruning.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"read_skeleton","name":"read_skeleton","description":"Read the compressed skeleton view of a previously ingested document. Shows high-importance 'anchor' concepts with summaries, and lists other sections as expandable nodes. Achieves 80-95% token reduction. Use this FIRST before requesting specific details. Selection modes: auto (default, smart detection), baseline, query_guided, evidence_aware. The response includes 'selection_mode_resolved' indicating which mode was actually used.","tags":["plan:free","category:ingestion","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"recommend_compression","name":"recommend_compression","description":"[ADVISE] Recommend the optimal compression profile for a document. Simulates each profile, predicts quality (entity retention + coverage), and returns the most compressed profile meeting your quality floor. Useful before ingesting to choose between minimal/summary/balanced/detailed/full.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"recommend_fidelity","name":"recommend_fidelity","description":"[TIP] Get intelligent recommendation for optimal fidelity level. Analyzes your use case, number of nodes, token budget, and query complexity to suggest the best fidelity level (ABSTRACT, OUTLINE, STRUCTURE, DETAILED, or RAW). Returns recommendation with reasoning, token estimate, and alternatives. Use this BEFORE modulate_region to make informed decisions.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"recover_session","name":"recover_session","description":"Recover session state after conversation compaction. Returns a compact summary of all prior ingestions, configurations, and tool calls for the given session.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"refresh_document","name":"refresh_document","description":"[REFRESH] REFRESH DOCUMENT: Re-ingest document from source file to update cache with latest changes. Stores old version in history (default: keeps last 10 versions). Use this when check_file_sync detects staleness or after external edits. Returns new compression stats and confirms version was saved.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"render_prompt_template","name":"render_prompt_template","description":"Resolve and render a prompt template into cache-friendly ordered sections for a provider call.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"replay_handoff_bundle","name":"replay_handoff_bundle","description":"Replay a structured handoff bundle as text plus token-efficient artifact payloads.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"run_experiment","name":"run_experiment","description":"Run a tracked benchmark/evaluation experiment over a named dataset and store benchmark, verifier, and reward outputs.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"scar_compress","name":"scar_compress","description":"[EXPERIMENTAL] Compress embeddings using SCAR (learnable compression). WARNING: Uses UNTRAINED random weights by default. Requires PyTorch. NOT production-ready without model training. Returns experimental flag.","tags":["plan:pro","category:compression","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"scar_get_stats","name":"scar_get_stats","description":"[EXPERIMENTAL] Get SCAR compressor statistics and model state. Shows PyTorch availability and model training status. NOT production-ready. Returns experimental flag.","tags":["plan:pro","category:compression","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_code","name":"search_code","description":"Fast regex or literal code search using tensor-grep trigram index. Returns file paths and matching lines. Chain with ingest_context for targeted compression of search results. Falls back gracefully if tensor-grep is not installed.","tags":["plan:pro","category:search","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_memory","name":"search_memory","description":"Search explicit memories within the requested scope using lexical overlap and similarity scoring.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_memory_index","name":"search_memory_index","description":"Index-first memory search: compiles an index from stored memories, then returns matching articles. Best for small corpora (<500 entries) where an LLM-readable index beats embedding search.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_multimodal","name":"search_multimodal","description":"Search a production multimodal project using text, code, or image queries.","tags":["plan:pro","category:search","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_semantic","name":"search_semantic","description":"Semantic search across ingested documents. Uses vector similarity to find relevant sections, even if exact keywords don't match. Returns ranked node IDs. Optionally enables evidence-aware insufficiency detection.","tags":["plan:free","category:search","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"search_timeline","name":"search_timeline","description":"Search lifecycle events across ingests, reads, searches, and invalidations.","tags":["plan:pro","category:search","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"set_compression_profile","name":"set_compression_profile","description":"Set a named compression profile for the session. Profiles bundle skeleton_ratio, fidelity, and chunk_size into presets: minimal (max compression), summary (quick overview), balanced (default), detailed (deep analysis), full (near-original). Explicit parameters in subsequent tool calls override profile defaults.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"should_compress","name":"should_compress","description":"[PRE-CHECK] TOKEN-EFFICIENT PRE-CHECK: Estimate token count for a file WITHOUT reading content. Uses file size heuristics and binary content detection. CRITICAL: Call this BEFORE reading or ingesting any file. Detects binary files (PDF, DOCX, images) that need conversion before compression. Returns recommendation: SKIP (<100 tokens), DIRECT_READ (100-500), COMPRESS (>500), or CONVERT_THEN_COMPRESS (binary files with MarkItDown suggestion). Fields: needs_conversion, is_text_readable, conversion_t","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"submit_benchmark","name":"submit_benchmark","description":"Submit a benchmark result for an LLM inference run. Records model + quantization + hardware + settings + measured tokens/sec. Returns a permalink slug (https://gotcontext.ai/benchmarks/runs/<slug>) you can share. Auto-flags as AI-submitted. Project-allowlist-aware (Pro+).","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"summarize_user_memory","name":"summarize_user_memory","description":"Summarize one user's explicit memories into preferences, topical signals, and category breakdowns.","tags":["plan:pro","category:memory","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"sync_connector_feed","name":"sync_connector_feed","description":"Normalize and ingest a managed connector feed through the standard compression pipeline.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"tee_store_stats","name":"tee_store_stats","description":"Get tee store statistics: entry count, total size, mode, thresholds. Use to monitor tee storage usage.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"tool_help","name":"tool_help","description":"[HELP] Get detailed help, examples, and tips for any Semantic Modulator tool. Returns structured help with parameter descriptions, usage examples, and related tools. Use without tool_name to see all available tools organized by category. Set verbose=true for comprehensive examples.","tags":["plan:free","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"toon_decode","name":"toon_decode","description":"[EXPERIMENTAL] Decode TOON format back to structured data. TOON is lossy - optimized for LLM consumption, not round-trip serialization. NOT production-ready. Returns experimental flag.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"toon_encode","name":"toon_encode","description":"[EXPERIMENTAL] Encode data to TOON format (~40% smaller than JSON). TOON = Token-Oriented Object Notation. Pure Python, always available. NOT production-ready. Returns experimental flag.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"update_prompt_template","name":"update_prompt_template","description":"Create a new version of an existing prompt template. Supports prompt edits, variable changes, metadata updates, and change notes.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"verify_compression","name":"verify_compression","description":"[EXPERIMENTAL] Verify compression operation using ASG-SI contracts. Checks preconditions (valid input, fidelity level) and postconditions (compression ratio, skeleton quality). Returns contract violations. Based on arxiv.org/abs/2512.23760 Audited Skill-Graph Self-Improvement.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]},{"id":"visualize_graph_html","name":"visualize_graph_html","description":"[VIZ] Generate interactive HTML visualization of the semantic graph. Creates a beautiful, interactive web page with draggable nodes, zoom/pan, color-coded importance, and edge weights. Great for exploring and presenting compression decisions. Requires pyvis library.","tags":["plan:pro","category:general","mcp"],"inputModes":["application/json","text/plain"],"outputModes":["application/json","text/plain"]}],"x-gotcontext":{"pricing":{"model":"subscription_with_overage","url":"https://gotcontext.ai/pricing","tiers":[{"name":"Free","monthlyUsd":0},{"name":"Pro","monthlyUsd":49},{"name":"Team","monthlyUsd":99},{"name":"Enterprise","monthlyUsd":499}]},"endpoints":{"mcp":"https://api.gotcontext.ai/mcp","oauthMetadata":"https://api.gotcontext.ai/.well-known/oauth-protected-resource","docs":"https://gotcontext.ai/docs","pricing":"https://gotcontext.ai/pricing"}}}