gotcontext

ai.gotcontext.gotcontextUnknown System (Unclaimed)Registered: May 16, 2026
Unclaimed

Description

Semantic compression gateway. 150+ 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.

Skills

ace_curate

ace_curate

[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.

plan:procategory:acemcp

ace_execute_cycle

ace_execute_cycle

[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.

plan:procategory:acemcp

ace_generate

ace_generate

[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.

plan:procategory:acemcp

ace_get_playbook

ace_get_playbook

[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.

plan:procategory:acemcp

ace_grow_context

ace_grow_context

[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.

plan:procategory:acemcp

ace_refine_context

ace_refine_context

[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.

plan:procategory:acemcp

ace_reflect

ace_reflect

[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.

plan:procategory:acemcp

adapt_to_context_window

adapt_to_context_window

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.

plan:procategory:generalmcp

add_memory

add_memory

Store an explicit memory independently of document ingestion. Useful for user preferences, decisions, gotchas, and persistent workflow hints.

plan:procategory:memorymcp

advise_cache_strategy

advise_cache_strategy

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.

plan:procategory:advisorymcp

advise_context

advise_context

Analyze all ingested documents and recommend optimal context strategy. Returns model recommendations, pruning priorities, and compression advice.

plan:procategory:advisorymcp

afm_add_message

afm_add_message

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.

plan:procategory:adaptive-memorymcp

afm_build_context

afm_build_context

[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.

plan:procategory:adaptive-memorymcp

afm_clear_history

afm_clear_history

[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.

plan:procategory:adaptive-memorymcp

afm_export_history

afm_export_history

[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.

plan:procategory:adaptive-memorymcp

afm_get_stats

afm_get_stats

[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.

plan:procategory:adaptive-memorymcp

afm_import_history

afm_import_history

[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.

plan:procategory:adaptive-memorymcp

assess_cache_compatibility

assess_cache_compatibility

Assess whether a provider and harness combination exposes enough telemetry to validate prompt cache behavior reliably.

plan:procategory:generalmcp

audit_prompt_cacheability

audit_prompt_cacheability

Audit a composed prompt for cache-friendly section ordering and volatile metadata that can break provider prefix caching.

plan:procategory:advisorymcp

batch_compress_queue

batch_compress_queue

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.

plan:procategory:ingestionmcp

batch_ingest_documents

batch_ingest_documents

[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.

plan:procategory:ingestionmcp

calculate_reward

calculate_reward

[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.

plan:procategory:analyticsmcp

calculate_roi

calculate_roi

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.

plan:procategory:analyticsmcp

capture_cache_telemetry

capture_cache_telemetry

Normalize provider-side prompt cache telemetry from a real model API response and warn on silent cache misses.

plan:procategory:generalmcp

check_blind_spots

check_blind_spots

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'.

plan:procategory:advisorymcp

check_budget

check_budget

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.

plan:freecategory:advisorymcp

check_context_budget

check_context_budget

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.

plan:freecategory:advisorymcp

check_environment

check_environment

[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.

plan:freecategory:advisorymcp

check_resource_health

check_resource_health

[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.

plan:procategory:advisorymcp

compare_experiment_runs

compare_experiment_runs

Compare two experiment runs and report deltas in pass counts, compression, verification, and reward quality.

plan:procategory:generalmcp

compare_prompt_versions

compare_prompt_versions

Compare two versions of the same prompt template and return changed fields plus a unified diff.

plan:procategory:generalmcp

compile_knowledge

compile_knowledge

MCP tool 'compile_knowledge' — call via https://api.gotcontext.ai/mcp

plan:procategory:generalmcp

compress_codebase

compress_codebase

MCP tool 'compress_codebase' — call via https://api.gotcontext.ai/mcp

plan:procategory:compressionmcp

compress_mcp_registry

compress_mcp_registry

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.

plan:procategory:compressionmcp

compress_meta_tokens

compress_meta_tokens

[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.

plan:procategory:compressionmcp

compress_tool_output

compress_tool_output

Compress a large MCP / CLI / command tool output blob with identifier-preservation guarantee. Uses the same CLIOutputOptimizer engine as filter_cli_output but force-keeps execution-critical tokens (file paths with line/col, error codes, symbols, stack frame locations, URLs, UUIDs, env var names) so a downstream agent can act on the compressed output WITHOUT re-running the original tool. Typical savings: 80-99% on verbose output with near-zero amnesia risk. Input is the raw blob text (not a serve

plan:procategory:compressionmcp

configure_for_client

configure_for_client

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.

plan:procategory:generalmcp

create_connector_feed

create_connector_feed

Create a managed connector feed definition for exported web, GitHub, S3, or Slack payloads.

plan:procategory:generalmcp

create_dataset

create_dataset

MCP tool 'create_dataset' — call via https://api.gotcontext.ai/mcp

plan:procategory:generalmcp

create_handoff_bundle

create_handoff_bundle

Create a structured, auditable handoff bundle from a compressed document, including distilled skeleton context and optional focused evidence.

plan:procategory:generalmcp

create_project

create_project

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.

plan:procategory:generalmcp

create_prompt_template

create_prompt_template

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.

plan:procategory:generalmcp

delete_document

delete_document

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.

plan:freecategory:generalmcp

delete_memory

delete_memory

Delete a previously stored explicit memory by ID.

plan:procategory:memorymcp

deploy_prompt_version

deploy_prompt_version

Assign or move a deployment label (production, staging, canary) to a specific prompt template version.

plan:procategory:generalmcp

detect_dead_code

detect_dead_code

MCP tool 'detect_dead_code' — call via https://api.gotcontext.ai/mcp

plan:procategory:generalmcp

detect_hallucination

detect_hallucination

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.

plan:procategory:generalmcp

diagnose_cache_miss

diagnose_cache_miss

Diagnose why an expected provider cache hit missed by comparing the recorded prompt expectation with the actual rendered prefix that reached the provider.

plan:procategory:advisorymcp

discover_savings

discover_savings

MCP tool 'discover_savings' — call via https://api.gotcontext.ai/mcp

plan:procategory:analyticsmcp

estimate_model_cost

estimate_model_cost

Estimate token cost savings for a model using original and compressed token counts.

plan:procategory:analyticsmcp

estimate_tokens

estimate_tokens

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.

plan:freecategory:analyticsmcp

explain_compression_decision

explain_compression_decision

[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.

plan:procategory:generalmcp

export_graph_graphml

export_graph_graphml

MCP tool 'export_graph_graphml' — call via https://api.gotcontext.ai/mcp

plan:procategory:generalmcp

export_graph_json

export_graph_json

[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.

plan:procategory:generalmcp

export_team_data

export_team_data

Export aggregated team savings data. Supports JSON, CSV, and Prometheus exposition formats. Use for team dashboards, monitoring, and cost reporting.

plan:procategory:generalmcp

filter_cli_output

filter_cli_output

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.

plan:procategory:generalmcp

find_duplicates

find_duplicates

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.

plan:procategory:searchmcp

gc_a2a_task_approve

gc_a2a_task_approve

Approve a 'draft' task you created, transitioning it to 'pending' so the assignee's gc_a2a_task_inbox poll can see it for the first time (the A5 explicit-approval safety gate — no task is ever auto-activated). The acting 'requester' peer is auto-resolved the same way as gc_a2a_task_create. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.

plan:procategory:platformmcp

gc_a2a_task_cancel

gc_a2a_task_cancel

Cancel a 'draft' or 'pending' task you created (never a 'claimed' or 'completed' one). The acting 'requester' peer is auto-resolved the same way as gc_a2a_task_create. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.

plan:procategory:platformmcp

gc_a2a_task_claim

gc_a2a_task_claim

Claim a 'pending' task as its assignee, under a fresh Ed25519-signed proof (NOT a gc_-key-derived identity — 'from_peer_id' + 'proof_jws' are the whole authorization here; claim_task cryptographically verifies proof_jws was signed by from_peer_id's registered private key, bound to this exact task_id and the 'claim' action). A public, gc_-key-free equivalent exists at POST /a2a/v1/tasks/claim for an assignee process with no gc_ key of its own. On success the task transitions to 'claimed' with a l

plan:procategory:platformmcp

gc_a2a_task_complete

gc_a2a_task_complete

Complete a 'claimed' task with a verifiable, assignee-signed result. 'result_hash' inside proof_jws must equal the SHA-256 of the canonical (sorted-key, no-whitespace) JSON serialization of 'result_payload' — a mismatch (tampered or incomplete result) rejects generically. A public, gc_-key-free equivalent exists at POST /a2a/v1/tasks/complete for an assignee process with no gc_ key of its own. Requires Pro plan or higher (this MCP surface; the public REST route has no plan gate).

plan:procategory:platformmcp

gc_a2a_task_create

gc_a2a_task_create

Delegate a task to another of your registered A2A peer agents (see GET /v1/agents/a2a-peers for peer ids). Creates a task contract in 'draft' status — it is NOT visible to the assignee's inbox until gc_a2a_task_approve is called (no task auto-activates; explicit approval is required). The acting 'requester' peer is auto-resolved from this gc_ key's bound A2A peer (or the user's sole registered peer, if unambiguous); pass 'requester_peer_id' explicitly to override. Returns the signed task contrac

plan:procategory:platformmcp

gc_a2a_task_inbox

gc_a2a_task_inbox

List tasks addressed to ANY of your registered A2A peers (an assignee's poll). Filters by status (default 'pending' — tasks awaiting a claim). Requires Pro plan or higher.

plan:procategory:platformmcp

gc_a2a_task_status

gc_a2a_task_status

Fetch a task's current status and (once completed) its signed result — the requester-side poll/verify step. Serves both a plain status check and a result read (the same row carries both). Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.

plan:procategory:platformmcp

gc_agent_capsule

gc_agent_capsule

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.

plan:procategory:platformmcp

gc_blast_radius

gc_blast_radius

Structural code-context analysis. Submit a file bundle + REQUIRED focus symbol; server runs `tg blast-radius --json` and returns the machine caller GRAPH verbatim: blast_radius_score, caller_tree, affected_files, tests, imports, graph_trust_summary, result_incomplete, not_found. Response may set result_incomplete/not_found — treat those as partial evidence, not absence. Pro+ only. focus_symbol is required by this tool's contract; omitting it returns a structured BlastRadiusInputError instead of

plan:procategory:platformmcp

gc_callers

gc_callers

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.

plan:procategory:platformmcp

gc_compress_manifest

gc_compress_manifest

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.

plan:procategory:platformmcp

gc_context_render

gc_context_render

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.

plan:procategory:platformmcp

gc_defs

gc_defs

Exact definition location(s) of focus_symbol across the provided code. Wraps `tg defs`. Pro+ only.

plan:procategory:platformmcp

gc_edit_plan

gc_edit_plan

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.

plan:procategory:platformmcp

gc_impact

gc_impact

Likely impacted files AND tests for a change to focus_symbol — run before editing a shared symbol to know what to re-test. Wraps `tg impact`. Pro+ only.

plan:procategory:platformmcp

gc_kb_delete

gc_kb_delete

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'}.

plan:procategory:knowledge-basemcp

gc_kb_diff

gc_kb_diff

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'}.

plan:procategory:knowledge-basemcp

gc_kb_edit

gc_kb_edit

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.

plan:procategory:knowledge-basemcp

gc_kb_get

gc_kb_get

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'}.

plan:procategory:knowledge-basemcp

gc_kb_ingest

gc_kb_ingest

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. Supplying only 'name' with no 'content' or 'url' creates an empty placeholder item — add content with gc_kb_edit. Newly-ingested content may take a moment to become searchable: embedding runs asynchronously after ingest returns. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge H

plan:procategory:knowledge-basemcp

gc_kb_list

gc_kb_list

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'}.

plan:procategory:knowledge-basemcp

gc_kb_query

gc_kb_query

Vector-search the project Knowledge Hub. Returns the top-k semantically similar chunks. Each result has 'raw_text' (the ACTUAL content you should read) and 'text' (a compressed skeleton view with [HIDDEN]/anchor markers, for navigation not reading), plus the source 'item_id' and a similarity 'score'. The KB is project-scoped and SHARED across every key/agent in that project, so results may include items another agent created. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound

plan:procategory:knowledge-basemcp

gc_kb_set_visibility

gc_kb_set_visibility

Set the visibility level for a KB item. 'private' = readable/mutable only by the gc_ key that created it (within the same project); a Clerk-JWT project owner is unrestricted. 'project' (default) = any key in the project. 'org' and 'external' return {error: 'not_implemented'} until Clerk org webhook integration lands (v1.39). Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.

plan:procategory:knowledge-basemcp

gc_kb_share

gc_kb_share

Share a KB item with another project — grants that project's keys read access via gc_kb_query/gc_kb_list. The calling key's bound project becomes the OWNER; only the owner project may share its own items (an item that doesn't belong to the caller's project returns {error: 'not_found'}). Refuses to share an item whose visibility is 'private' — raise its visibility with gc_kb_set_visibility first ({error: 'cannot_share_private'}). Idempotent: re-sharing an already-shared project is returned in 'sk

plan:procategory:knowledge-basemcp

gc_lookup

gc_lookup

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. Within a single MCP session, previously returned chunks are automatically excluded so each call yields fresh content (dedup=true by default; set dedup=false to disable).

plan:freecategory:platformmcp

gc_mint_api_key

gc_mint_api_key

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.

plan:procategory:platformmcp

gc_orient

gc_orient

One-call codebase orientation capsule (structure + entry points) for the provided code bundle. No symbol required. Wraps `tg orient`. Pro+ only.

plan:procategory:platformmcp

gc_plan_blame

gc_plan_blame

Return the version history of a Knowledge Hub item with per-version peer attribution (who proposed it, who merged it, via which proposal) and the diff between each consecutive pair of versions. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.

plan:procategory:platformmcp

gc_plan_decide

gc_plan_decide

Merge or reject an open change proposal — OWNER-ONLY (Clerk JWT or owner gc_ key; NEVER a peer proof). On merge, applies the diff against the pinned base content inside a row-locked transaction and creates a new kb_item_versions snapshot with peer attribution; a stale base (the item moved on since propose time) rejects with a stale_base conflict carrying the current version id instead of auto-resolving. On reject, no KB write occurs. Requires Pro plan or higher.

plan:procategory:platformmcp

gc_plan_get_proposal

gc_plan_get_proposal

Fetch a single change proposal — full diff, rationale, and status. Owner-scoped (a cross-tenant lookup returns a generic not_found, never leaking existence). Requires Pro plan or higher.

plan:procategory:platformmcp

gc_plan_list_proposals

gc_plan_list_proposals

List change proposals for a project (owner-scoped inbox), optionally filtered to one plan item or status. Requires Pro plan or higher.

plan:procategory:platformmcp

gc_plan_propose

gc_plan_propose

Submit a signed change proposal against a 'plan'-type Knowledge Hub item (create one via gc_kb_ingest(type='plan') or gc_kb_edit for an existing plan doc). Peers never edit plan items directly via gc_kb_edit — this is the only peer write path onto a plan document; the human owner reviews via gc_plan_get_proposal and merges/rejects with gc_plan_decide (nothing auto-applies). The server signs a receipt binding {item_id, base_version_id, diff_sha256} using this key's acting A2A peer identity (auto-

plan:procategory:platformmcp

gc_pre_flight

gc_pre_flight

Call this FIRST, before any expensive LLM operation. Returns a structured verdict (send_as_is | send_compressed | warn_context_limit | clear_first) AND a 'mode' field (scout | compress | read | write | idle) telling you which gotcontext tool to reach for next — scout→search_semantic + the code-nav suite (gc_blast_radius/gc_callers/gc_refs/gc_defs/gc_impact/gc_source/gc_orient/gc_context_render/gc_agent_capsule/gc_edit_plan), compress→ingest_context, read→read_skeleton, write→compress the context

plan:freecategory:platformmcp

gc_read_doc

gc_read_doc

Read a gotcontext product/API documentation page as markdown. Pass a full URL (e.g. 'https://gotcontext.ai/docs#authentication') returned by gc_search_docs, or a known slug such as 'authentication' or 'mcp-server' (slug auto-resolves to the matching docs anchor). Returns JSON with markdown, source_url, and length_tokens.

plan:freecategory:platformmcp

gc_rebind_api_key

gc_rebind_api_key

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.

plan:procategory:platformmcp

gc_refs

gc_refs

All references / read-sites of focus_symbol across the provided code. Wraps `tg refs`. Pro+ only.

plan:procategory:platformmcp

gc_revoke_api_key

gc_revoke_api_key

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.

plan:procategory:platformmcp

gc_scan

gc_scan

Scan a code bundle for security/compliance issues using tg's built-in AST rule packs (128 rules across auth-safe, subprocess-safe, deserialization-safe, secrets-basic, crypto-safe, tls-safe — python/js/ts/rust). Returns structured findings: rule_id, severity, message, fingerprint, matches, files, evidence, status. All packs are labelled 'preview' by tg itself — treat findings as a strong lead, not a certified audit. secrets-basic is the narrowest pack: it flags provider-token formats (e.g. sk_li

plan:procategory:platformmcp

gc_search_docs

gc_search_docs

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.

plan:freecategory:platformmcp

gc_session_summary

gc_session_summary

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.

plan:freecategory:platformmcp

gc_skill_scan

gc_skill_scan

Scan an agent skill bundle (SKILL.md/AGENTS.md text and/or an MCP tools/list-shaped JSON manifest) for AI-native security patterns: MCP tool poisoning (hidden instructions, homoglyph/RTL identifier spoofing, parameter-description injection), least-privilege gaps (wildcard permissions, undeclared capabilities), prompt injection, system-prompt leakage, anti-refusal jailbreak framing, excessive agency, and data-exfiltration language. Pure static analysis (no LLM, no code execution) — returns a 0-10

plan:procategory:platformmcp

gc_source

gc_source

The exact source block(s) defining focus_symbol. Wraps `tg source`. Pro+ only.

plan:procategory:platformmcp

gc_submit_benchmark

gc_submit_benchmark

Submit an LLM inference benchmark run to the gotcontext.ai leaderboard. Provide model name, quantization, hardware description, and measured tokens/sec — the run is published immediately and returns a public URL you can share. Auto-flagged as agent-submitted. Available on all plans (Free, Pro, Team, Enterprise). Rate-limited to 20 runs/hour per key.

plan:freecategory:platformmcp

gc_web_lookup

gc_web_lookup

One call: fetch a web page by URL, compress it, and return only the query-relevant part as a compressed skeleton (typically a few hundred tokens instead of the full 5k-50k-token page). Fetches via the SSRF-hardened ingest path, builds a semantic graph, and runs evidence-aware query-guided selection (dense retrieval + BM25). Drill into any [HIDDEN] region with modulate_region(file_id, node_id). Use this instead of a raw full-page fetch when you know the URL and want a specific answer from it. Pro

plan:procategory:platformmcp

gc_web_search

gc_web_search

One call: web-search a query with Exa (bring your own Exa API key), then fetch and compress the top results into query-relevant skeletons (typically a few hundred tokens each instead of full 5k-50k-token pages). Each result is ingested and run through evidence-aware query-guided selection (dense retrieval + BM25). Drill into any [HIDDEN] region with modulate_region(file_id, node_id). Your Exa key is passed through to Exa only; it is never logged, stored, or returned. Pro+ only.

plan:procategory:platformmcp

generate_rewrite_prompt

generate_rewrite_prompt

Generate a structured rewrite prompt for client-side LLM compression. Returns system instructions and user prompt optimized for generative compression.

plan:procategory:generalmcp

generate_structural_summary

generate_structural_summary

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).

plan:procategory:generalmcp

generate_synthetic_tests

generate_synthetic_tests

[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.

plan:procategory:generalmcp

get_compression_insights

get_compression_insights

Get insights from compression history: best ratios per content type, average fidelity scores, and data-driven strategy recommendations.

plan:procategory:generalmcp

get_compression_presets

get_compression_presets

List available compression presets (code-review, chat, research, aggressive, balanced). Each preset maps to optimal skeleton_ratio and fidelity settings for common use cases.

plan:freecategory:generalmcp

get_compression_profile

get_compression_profile

Get the active compression profile for the session. Returns the profile name and its parameter values (skeleton_ratio, fidelity, chunk_size).

plan:freecategory:generalmcp

get_connector_feed

get_connector_feed

Fetch one managed connector feed definition.

plan:procategory:generalmcp

get_context_block

get_context_block

Build a lifecycle-aware context block with active facts, recent events, and a cache-stable skeleton prefix.

plan:procategory:generalmcp

get_evidence_stats

get_evidence_stats

[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.

plan:procategory:generalmcp

get_experiment_run

get_experiment_run

Fetch a stored experiment run and its per-case evaluation details.

plan:procategory:generalmcp

get_handoff_bundle

get_handoff_bundle

Fetch one structured handoff bundle including its distilled artifacts.

plan:procategory:generalmcp

get_knowledge_index

get_knowledge_index

Return the compiled knowledge index markdown for index-first retrieval. Useful for small knowledge bases (<500 entries) where a readable index beats embedding search.

plan:procategory:generalmcp

get_multi_level_skeleton

get_multi_level_skeleton

Generate 3-tier skeleton output: headline (top 10%), summary (top 30%), and full (100%). Client picks the depth needed for their context budget.

plan:procategory:generalmcp

get_original_output

get_original_output

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.

plan:procategory:generalmcp

get_prompt_template

get_prompt_template

Get a prompt template and resolve a specific version or deployment label to the exact prompt content.

plan:procategory:generalmcp

get_provider_profile

get_provider_profile

Get provider-aware pricing, cache telemetry fields, and prompt-shaping guidance for a model.

plan:procategory:generalmcp

get_savings_inline

get_savings_inline

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)'

plan:procategory:analyticsmcp

get_savings_report

get_savings_report

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.

plan:procategory:analyticsmcp

get_stats

get_stats

Get statistics about ingested documents. Shows token counts, compression ratios, and graph structure. Useful for understanding the semantic compression efficiency.

plan:freecategory:generalmcp

get_user_profile

get_user_profile

Build a deterministic user profile from explicit stored memories within the requested scope.

plan:procategory:generalmcp

get_version_history

get_version_history

[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.

plan:procategory:generalmcp

ingest_context

ingest_context

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.

plan:freecategory:ingestionmcp

ingest_multimodal

ingest_multimodal

Production-grade multimodal ingestion for text, code, images, audio transcripts, and document-with-images bundles.

plan:procategory:ingestionmcp

ingest_transcript

ingest_transcript

Extract decisions, lessons, patterns, and gotchas from a conversation transcript and store them as scoped memories automatically.

plan:procategory:ingestionmcp

invalidate_fact

invalidate_fact

Invalidate a fact so temporal retrieval excludes it by default.

plan:procategory:generalmcp

lint_knowledge

lint_knowledge

Run quality checks on stored memories: staleness, near-duplicates, contradictions, and orphan detection. Returns a structured lint report.

plan:procategory:generalmcp

list_connector_feeds

list_connector_feeds

List managed connector feeds and their last sync state.

plan:procategory:generalmcp

list_connector_types

list_connector_types

List available managed connector types and their purposes.

plan:procategory:generalmcp

list_datasets

list_datasets

List named datasets available for experiment runs.

plan:procategory:generalmcp

list_documents

list_documents

[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.

plan:freecategory:generalmcp

list_fact_history

list_fact_history

List temporal fact versions for a document or exact fact identifier.

plan:procategory:generalmcp

list_handoff_bundles

list_handoff_bundles

List structured handoff bundles visible to the current scope.

plan:procategory:generalmcp

list_memories

list_memories

List explicit memories in the requested scope. Supports optional category filtering and result limits.

plan:procategory:generalmcp

list_prefix_collisions

list_prefix_collisions

List rendered prompt prefixes that collide across templates so shared provider-cacheable prefixes are visible.

plan:procategory:generalmcp

list_prompt_templates

list_prompt_templates

List managed prompt templates with their latest version and deployment labels. Optionally include all versions.

plan:procategory:generalmcp

list_tee_entries

list_tee_entries

List recent tee entries with metadata. Shows what original content has been preserved for recovery. Filter by source (cli_optimizer, proxy, compression).

plan:procategory:generalmcp

modulate_region

modulate_region

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

plan:freecategory:generalmcp

multilevel_encode

multilevel_encode

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.

plan:procategory:generalmcp

multimodal_ingest

multimodal_ingest

[EXPERIMENTAL] Ingest mixed content (text, code, images). Requires Pillow for image support. Image paths validated for security. NOT production-ready. Returns experimental flag.

plan:procategory:generalmcp

optimize_for_model

optimize_for_model

Generate provider-aware cost, fidelity, and prompt-shaping recommendations for a target model.

plan:procategory:generalmcp

project_stats

project_stats

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.

plan:procategory:generalmcp

proxy_mcp_server

proxy_mcp_server

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.

plan:procategory:generalmcp

prune_by_relevance

prune_by_relevance

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.

plan:procategory:generalmcp

read_skeleton

read_skeleton

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.

plan:freecategory:ingestionmcp

recommend_compression

recommend_compression

[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.

plan:procategory:generalmcp

recommend_fidelity

recommend_fidelity

[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.

plan:freecategory:generalmcp

recover_session

recover_session

Recover session state after conversation compaction. Returns a compact summary of all prior ingestions, configurations, and tool calls for the given session.

plan:procategory:memorymcp

refresh_document

refresh_document

[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.

plan:procategory:generalmcp

render_prompt_template

render_prompt_template

Resolve and render a prompt template into cache-friendly ordered sections for a provider call.

plan:procategory:generalmcp

replay_handoff_bundle

replay_handoff_bundle

Replay a structured handoff bundle as text plus token-efficient artifact payloads.

plan:procategory:generalmcp

run_experiment

run_experiment

Run a tracked benchmark/evaluation experiment over a named dataset and store benchmark, verifier, and reward outputs.

plan:procategory:generalmcp

search_code

search_code

MCP tool 'search_code' — call via https://api.gotcontext.ai/mcp

plan:procategory:searchmcp

search_memory

search_memory

Search explicit memories within the requested scope using lexical overlap and similarity scoring.

plan:procategory:memorymcp

search_memory_index

search_memory_index

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.

plan:procategory:memorymcp

search_multimodal

search_multimodal

Search a production multimodal project using text, code, or image queries.

plan:procategory:searchmcp

search_semantic

search_semantic

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. Prefer gc_blast_radius for an exact symbol/function name — semantic search returns false matches on precise identifiers. Prefer read_skeleton for whole-document structure. Write the query as a natural-language question (e.g. 'where does the budget cron run?'), not bare keywords; results

plan:freecategory:searchmcp

search_timeline

search_timeline

Search lifecycle events across ingests, reads, searches, and invalidations.

plan:procategory:searchmcp

set_compression_profile

set_compression_profile

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.

plan:freecategory:generalmcp

should_compress

should_compress

MCP tool 'should_compress' — call via https://api.gotcontext.ai/mcp

plan:freecategory:generalmcp

submit_benchmark

submit_benchmark

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+).

plan:procategory:generalmcp

summarize_user_memory

summarize_user_memory

Summarize one user's explicit memories into preferences, topical signals, and category breakdowns.

plan:procategory:memorymcp

sync_connector_feed

sync_connector_feed

Normalize and ingest a managed connector feed through the standard compression pipeline.

plan:procategory:generalmcp

tee_store_stats

tee_store_stats

Get tee store statistics: entry count, total size, mode, thresholds. Use to monitor tee storage usage.

plan:procategory:generalmcp

tool_help

tool_help

[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.

plan:freecategory:generalmcp

toon_decode

toon_decode

[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.

plan:procategory:generalmcp

toon_encode

toon_encode

[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.

plan:procategory:generalmcp

update_prompt_template

update_prompt_template

Create a new version of an existing prompt template. Supports prompt edits, variable changes, metadata updates, and change notes.

plan:procategory:generalmcp

verify_compression

verify_compression

[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.

plan:procategory:generalmcp

visualize_graph_html

visualize_graph_html

MCP tool 'visualize_graph_html' — call via https://api.gotcontext.ai/mcp

plan:procategory:generalmcp

System Capabilities

Input Modes

Text (default)

Output Modes

Text (default)

Streaming

✓ Supported

Category

General / General

Agent Card Schema

This manifest contains structural definitions, parameters, and metadata endpoints.

{
  "display_name": "gotcontext",
  "description": "Semantic compression gateway. 150+ 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.",
  "manifest_url": "https://api.gotcontext.ai/.well-known/agent.json",
  "version": "1.59.0",
  "category": "General",
  "target_audience": "General",
  "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": "https://gotcontext.ai/extensions/a2a-share-jws/v1",
        "description": "Outbound KB share manifests and inbound share-request decisions are signed with Ed25519 (JWS, alg=EdDSA, a 'kid' header). Fetch the verification JWKS from jwks_url to verify a manifest's signature independently of the gotcontext.ai API.",
        "required": false,
        "params": {
          "jwks_url": "https://api.gotcontext.ai/.well-known/a2a-jwks.json"
        }
      },
      {
        "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
  },
  "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": "MCP tool 'compile_knowledge' — call via https://api.gotcontext.ai/mcp",
      "tags": [
        "plan:pro",
        "category:general",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "compress_codebase",
      "name": "compress_codebase",
      "description": "MCP tool 'compress_codebase' — call via https://api.gotcontext.ai/mcp",
      "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": "compress_tool_output",
      "name": "compress_tool_output",
      "description": "Compress a large MCP / CLI / command tool output blob with identifier-preservation guarantee. Uses the same CLIOutputOptimizer engine as filter_cli_output but force-keeps execution-critical tokens (file paths with line/col, error codes, symbols, stack frame locations, URLs, UUIDs, env var names) so a downstream agent can act on the compressed output WITHOUT re-running the original tool. Typical savings: 80-99% on verbose output with near-zero amnesia risk. Input is the raw blob text (not a serve",
      "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": "MCP tool 'create_dataset' — call via https://api.gotcontext.ai/mcp",
      "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": "MCP tool 'detect_dead_code' — call via https://api.gotcontext.ai/mcp",
      "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": "MCP tool 'discover_savings' — call via https://api.gotcontext.ai/mcp",
      "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": "MCP tool 'export_graph_graphml' — call via https://api.gotcontext.ai/mcp",
      "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_a2a_task_approve",
      "name": "gc_a2a_task_approve",
      "description": "Approve a 'draft' task you created, transitioning it to 'pending' so the assignee's gc_a2a_task_inbox poll can see it for the first time (the A5 explicit-approval safety gate — no task is ever auto-activated). The acting 'requester' peer is auto-resolved the same way as gc_a2a_task_create. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_cancel",
      "name": "gc_a2a_task_cancel",
      "description": "Cancel a 'draft' or 'pending' task you created (never a 'claimed' or 'completed' one). The acting 'requester' peer is auto-resolved the same way as gc_a2a_task_create. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_claim",
      "name": "gc_a2a_task_claim",
      "description": "Claim a 'pending' task as its assignee, under a fresh Ed25519-signed proof (NOT a gc_-key-derived identity — 'from_peer_id' + 'proof_jws' are the whole authorization here; claim_task cryptographically verifies proof_jws was signed by from_peer_id's registered private key, bound to this exact task_id and the 'claim' action). A public, gc_-key-free equivalent exists at POST /a2a/v1/tasks/claim for an assignee process with no gc_ key of its own. On success the task transitions to 'claimed' with a l",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_complete",
      "name": "gc_a2a_task_complete",
      "description": "Complete a 'claimed' task with a verifiable, assignee-signed result. 'result_hash' inside proof_jws must equal the SHA-256 of the canonical (sorted-key, no-whitespace) JSON serialization of 'result_payload' — a mismatch (tampered or incomplete result) rejects generically. A public, gc_-key-free equivalent exists at POST /a2a/v1/tasks/complete for an assignee process with no gc_ key of its own. Requires Pro plan or higher (this MCP surface; the public REST route has no plan gate).",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_create",
      "name": "gc_a2a_task_create",
      "description": "Delegate a task to another of your registered A2A peer agents (see GET /v1/agents/a2a-peers for peer ids). Creates a task contract in 'draft' status — it is NOT visible to the assignee's inbox until gc_a2a_task_approve is called (no task auto-activates; explicit approval is required). The acting 'requester' peer is auto-resolved from this gc_ key's bound A2A peer (or the user's sole registered peer, if unambiguous); pass 'requester_peer_id' explicitly to override. Returns the signed task contrac",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_inbox",
      "name": "gc_a2a_task_inbox",
      "description": "List tasks addressed to ANY of your registered A2A peers (an assignee's poll). Filters by status (default 'pending' — tasks awaiting a claim). Requires Pro plan or higher.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_a2a_task_status",
      "name": "gc_a2a_task_status",
      "description": "Fetch a task's current status and (once completed) its signed result — the requester-side poll/verify step. Serves both a plain status check and a result read (the same row carries both). Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.",
      "tags": [
        "plan:pro",
        "category:platform",
        "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 analysis. Submit a file bundle + REQUIRED focus symbol; server runs `tg blast-radius --json` and returns the machine caller GRAPH verbatim: blast_radius_score, caller_tree, affected_files, tests, imports, graph_trust_summary, result_incomplete, not_found. Response may set result_incomplete/not_found — treat those as partial evidence, not absence. Pro+ only. focus_symbol is required by this tool's contract; omitting it returns a structured BlastRadiusInputError instead of ",
      "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_defs",
      "name": "gc_defs",
      "description": "Exact definition location(s) of focus_symbol across the provided code. Wraps `tg defs`. 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_impact",
      "name": "gc_impact",
      "description": "Likely impacted files AND tests for a change to focus_symbol — run before editing a shared symbol to know what to re-test. Wraps `tg impact`. 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. Supplying only 'name' with no 'content' or 'url' creates an empty placeholder item — add content with gc_kb_edit. Newly-ingested content may take a moment to become searchable: embedding runs asynchronously after ingest returns. Requires Pro plan or higher. PROJECT BINDING: This tool requires the calling gc_ API key to be bound to a Knowledge H",
      "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. Each result has 'raw_text' (the ACTUAL content you should read) and 'text' (a compressed skeleton view with [HIDDEN]/anchor markers, for navigation not reading), plus the source 'item_id' and a similarity 'score'. The KB is project-scoped and SHARED across every key/agent in that project, so results may include items another agent created. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound",
      "tags": [
        "plan:pro",
        "category:knowledge-base",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_kb_set_visibility",
      "name": "gc_kb_set_visibility",
      "description": "Set the visibility level for a KB item. 'private' = readable/mutable only by the gc_ key that created it (within the same project); a Clerk-JWT project owner is unrestricted. 'project' (default) = any key in the project. 'org' and 'external' return {error: 'not_implemented'} until Clerk org webhook integration lands (v1.39). Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.",
      "tags": [
        "plan:pro",
        "category:knowledge-base",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_kb_share",
      "name": "gc_kb_share",
      "description": "Share a KB item with another project — grants that project's keys read access via gc_kb_query/gc_kb_list. The calling key's bound project becomes the OWNER; only the owner project may share its own items (an item that doesn't belong to the caller's project returns {error: 'not_found'}). Refuses to share an item whose visibility is 'private' — raise its visibility with gc_kb_set_visibility first ({error: 'cannot_share_private'}). Idempotent: re-sharing an already-shared project is returned in 'sk",
      "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. Within a single MCP session, previously returned chunks are automatically excluded so each call yields fresh content (dedup=true by default; set dedup=false to disable).",
      "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_orient",
      "name": "gc_orient",
      "description": "One-call codebase orientation capsule (structure + entry points) for the provided code bundle. No symbol required. Wraps `tg orient`. Pro+ only.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_plan_blame",
      "name": "gc_plan_blame",
      "description": "Return the version history of a Knowledge Hub item with per-version peer attribution (who proposed it, who merged it, via which proposal) and the diff between each consecutive pair of versions. Requires Pro plan or higher. PROJECT BINDING: requires a project-bound gc_ API key; an unbound key returns {error: 'no_project_selected'}.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_plan_decide",
      "name": "gc_plan_decide",
      "description": "Merge or reject an open change proposal — OWNER-ONLY (Clerk JWT or owner gc_ key; NEVER a peer proof). On merge, applies the diff against the pinned base content inside a row-locked transaction and creates a new kb_item_versions snapshot with peer attribution; a stale base (the item moved on since propose time) rejects with a stale_base conflict carrying the current version id instead of auto-resolving. On reject, no KB write occurs. Requires Pro plan or higher.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_plan_get_proposal",
      "name": "gc_plan_get_proposal",
      "description": "Fetch a single change proposal — full diff, rationale, and status. Owner-scoped (a cross-tenant lookup returns a generic not_found, never leaking existence). Requires Pro plan or higher.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_plan_list_proposals",
      "name": "gc_plan_list_proposals",
      "description": "List change proposals for a project (owner-scoped inbox), optionally filtered to one plan item or status. Requires Pro plan or higher.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_plan_propose",
      "name": "gc_plan_propose",
      "description": "Submit a signed change proposal against a 'plan'-type Knowledge Hub item (create one via gc_kb_ingest(type='plan') or gc_kb_edit for an existing plan doc). Peers never edit plan items directly via gc_kb_edit — this is the only peer write path onto a plan document; the human owner reviews via gc_plan_get_proposal and merges/rejects with gc_plan_decide (nothing auto-applies). The server signs a receipt binding {item_id, base_version_id, diff_sha256} using this key's acting A2A peer identity (auto-",
      "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": "Call this FIRST, before any expensive LLM operation. Returns a structured verdict (send_as_is | send_compressed | warn_context_limit | clear_first) AND a 'mode' field (scout | compress | read | write | idle) telling you which gotcontext tool to reach for next — scout→search_semantic + the code-nav suite (gc_blast_radius/gc_callers/gc_refs/gc_defs/gc_impact/gc_source/gc_orient/gc_context_render/gc_agent_capsule/gc_edit_plan), compress→ingest_context, read→read_skeleton, write→compress the context",
      "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. Pass a full URL (e.g. 'https://gotcontext.ai/docs#authentication') returned by gc_search_docs, or a known slug such as 'authentication' or 'mcp-server' (slug auto-resolves to the matching docs anchor). 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_refs",
      "name": "gc_refs",
      "description": "All references / read-sites of focus_symbol across the provided code. Wraps `tg refs`. 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_scan",
      "name": "gc_scan",
      "description": "Scan a code bundle for security/compliance issues using tg's built-in AST rule packs (128 rules across auth-safe, subprocess-safe, deserialization-safe, secrets-basic, crypto-safe, tls-safe — python/js/ts/rust). Returns structured findings: rule_id, severity, message, fingerprint, matches, files, evidence, status. All packs are labelled 'preview' by tg itself — treat findings as a strong lead, not a certified audit. secrets-basic is the narrowest pack: it flags provider-token formats (e.g. sk_li",
      "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": "gc_skill_scan",
      "name": "gc_skill_scan",
      "description": "Scan an agent skill bundle (SKILL.md/AGENTS.md text and/or an MCP tools/list-shaped JSON manifest) for AI-native security patterns: MCP tool poisoning (hidden instructions, homoglyph/RTL identifier spoofing, parameter-description injection), least-privilege gaps (wildcard permissions, undeclared capabilities), prompt injection, system-prompt leakage, anti-refusal jailbreak framing, excessive agency, and data-exfiltration language. Pure static analysis (no LLM, no code execution) — returns a 0-10",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_source",
      "name": "gc_source",
      "description": "The exact source block(s) defining focus_symbol. Wraps `tg source`. Pro+ only.",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_submit_benchmark",
      "name": "gc_submit_benchmark",
      "description": "Submit an LLM inference benchmark run to the gotcontext.ai leaderboard. Provide model name, quantization, hardware description, and measured tokens/sec — the run is published immediately and returns a public URL you can share. Auto-flagged as agent-submitted. Available on all plans (Free, Pro, Team, Enterprise). Rate-limited to 20 runs/hour per key.",
      "tags": [
        "plan:free",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_web_lookup",
      "name": "gc_web_lookup",
      "description": "One call: fetch a web page by URL, compress it, and return only the query-relevant part as a compressed skeleton (typically a few hundred tokens instead of the full 5k-50k-token page). Fetches via the SSRF-hardened ingest path, builds a semantic graph, and runs evidence-aware query-guided selection (dense retrieval + BM25). Drill into any [HIDDEN] region with modulate_region(file_id, node_id). Use this instead of a raw full-page fetch when you know the URL and want a specific answer from it. Pro",
      "tags": [
        "plan:pro",
        "category:platform",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    },
    {
      "id": "gc_web_search",
      "name": "gc_web_search",
      "description": "One call: web-search a query with Exa (bring your own Exa API key), then fetch and compress the top results into query-relevant skeletons (typically a few hundred tokens each instead of full 5k-50k-token pages). Each result is ingested and run through evidence-aware query-guided selection (dense retrieval + BM25). Drill into any [HIDDEN] region with modulate_region(file_id, node_id). Your Exa key is passed through to Exa only; it is never logged, stored, or returned. Pro+ only.",
      "tags": [
        "plan:pro",
        "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": "search_code",
      "name": "search_code",
      "description": "MCP tool 'search_code' — call via https://api.gotcontext.ai/mcp",
      "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. Prefer gc_blast_radius for an exact symbol/function name — semantic search returns false matches on precise identifiers. Prefer read_skeleton for whole-document structure. Write the query as a natural-language question (e.g. 'where does the budget cron run?'), not bare keywords; results",
      "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": "MCP tool 'should_compress' — call via https://api.gotcontext.ai/mcp",
      "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": "MCP tool 'visualize_graph_html' — call via https://api.gotcontext.ai/mcp",
      "tags": [
        "plan:pro",
        "category:general",
        "mcp"
      ],
      "inputModes": [
        "application/json",
        "text/plain"
      ],
      "outputModes": [
        "application/json",
        "text/plain"
      ]
    }
  ],
  "default_input_modes": [
    "text/plain",
    "application/json"
  ],
  "default_output_modes": [
    "text/plain",
    "application/json"
  ],
  "extra": {
    "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"
    },
    "securitySchemes": {
      "gcApiKey": {
        "type": "http",
        "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": {
        "type": "openIdConnect",
        "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"
        ]
      }
    ],
    "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",
        "a2aJwks": "https://api.gotcontext.ai/.well-known/a2a-jwks.json",
        "docs": "https://gotcontext.ai/docs",
        "pricing": "https://gotcontext.ai/pricing"
      }
    }
  },
  "found": true,
  "strategy": "manifest-a2a",
  "protocol_std": "a2a"
}

Actions

Test in Playground

The **Agent Card** is a standardized JSON metadata schema containing the agent's capabilities, default inputs/outputs, and OpenAPI endpoints. Download this file to run or register the agent in your local client applications.

Registry Metadata

RegisteredMay 16, 2026
Last UpdatedJul 15, 2026
Standarda2a
Last CheckedJul 15, 2026
Suggestions771 times

Is this your agent?

If you own this agent you can claim it.