AGDA TOOLS

72 tools from the Agda MCP Server, categorised by risk level.

READ 57 tools
Read agda_auto Attempt to automatically solve a goal using Agda's proof search. By default, writes the solution to the fil... Read agda_auto_all Attempt to automatically solve all goals using Agda's proof search. Read agda_bug_report_bundle Emit a structured bundle for a new bug report or regression, suitable for issue filing or later updates. Read agda_builtin_migration_map Return curated builtin rename/removal records across Agda versions. Read agda_bulk_status Run a multi-file status sweep and cluster failing files by likely root-cause file. Read agda_cache_info Report the state of every `.agdai` interface artifact for a source file. Lists each artifact's path, the Ag... Read agda_case_split Case-split on a variable in a goal. Returns the new function clauses that replace the current clause. By de... Read agda_check_postulates Check an Agda file for postulate declarations. In Kernel/ files, postulates are forbidden by construction. Read agda_compute Normalize (evaluate) an expression. If goalId is provided, evaluates in that goal's context; otherwise eval... Read agda_context Show only the local context for a specific goal, using Agda's exact Cmd_context query. Read agda_effective_options Return effective Agda options for a file with source attribution (OPTIONS pragma, .agda-lib flags, wrapper ... Read agda_elaborate Elaborate an expression in a goal context: normalize and show the fully explicit form. Read agda_find_clash_source Given a symbol and file, identify local and imported binding sites and the likely `open import` introducing... Read agda_give Fill a goal with an expression. If the expression type-checks against the goal type, the goal is solved. By... Read agda_goal Show only the current goal type for a specific goal, using Agda's exact Cmd_goal_type query. Read agda_goal_analysis Analyze a goal: show its type, parsed context, splittable variables, and suggested next actions. Use this t... Read agda_goal_catalog Return a structured catalog of all goals in the current proof state: goal IDs, types, contexts, splittable ... Read agda_helper_function Generate a helper function type signature for an expression in a goal context. Useful for extracting a subp... Read agda_highlight Highlight an expression in a goal context using Agda's Cmd_highlight command. Read agda_infer Infer the type of an expression. If goalId is provided, infers in that goal's context; otherwise infers at ... Read agda_infer_fixity_conflicts Detect user-defined operators missing fixity declarations that likely bind unexpectedly against imported op... Read agda_intro Introduce a lambda or constructor using Agda's exact Cmd_intro command. By default, writes changes to the f... Read agda_list_modules List Agda modules under a tier directory (`agda/<tier>/...`). Always reports the total module count; pagina... Read agda_load Load and type-check an Agda file. This establishes the interactive session — subsequent commands operate on... Read agda_load_highlighting_info Load highlighting information for a file using Agda's Cmd_load_highlighting_info. Read agda_load_no_metas Load and type-check an Agda file, failing if unsolved metavariables remain after loading. Note: Cmd_load_no... Read agda_metas List all unsolved metavariables (goals) in the currently loaded file, tagged by owning file so diagnostics ... Read agda_postulate_closure Return transitive postulate dependencies for a file (optionally scoped to a symbol) grouped by subdirectory. Read agda_project_config Inspect the resolved project-level Agda configuration (.agda-mcp.json + AGDA_MCP_DEFAULT_FLAGS) with proven... Read agda_project_progress Project-wide static progress summary by subdirectory: total files, files with holes, files with postulates,... Read agda_proof_status Get a complete proof state snapshot: loaded file, staleness, all goals with types, and constraints. Use thi... Read agda_protocol_parity Return the current Agda IOTCM parity matrix, distinguishing mapped commands from semantically verified comm... Read agda_read_module Read an Agda module file and return its contents with line numbers. For literate files (.lagda.md, .lagda.t... Read agda_refine Refine a goal by applying a function. Creates new subgoals for the function's arguments. By default, writes... Read agda_refine_exact Refine a goal using Agda's exact Cmd_refine command. By default, writes changes to the file and reloads. Fi... Read agda_reload Reload the currently loaded file and report what changed: which goals were solved, which are new, and the c... Read agda_search_about Search for definitions in the loaded module matching a query string (searches by type components and name f... Read agda_search_definitions Search for a definition, theorem, or type name across Agda modules. Read agda_session_snapshot Return a structured snapshot of the current session state: loaded file, phase, goal counts, completeness, s... Read agda_session_status Show the current Agda session status: phase, loaded file, and available goal IDs. Read agda_show_implicit_args Set whether Agda should display implicit arguments. Read agda_show_irrelevant_args Set whether Agda should display irrelevant arguments. Read agda_show_module Show the exported contents of an Agda module. If goalId is provided, shows contents visible from that goal'... Read agda_show_version Show the Agda version and runtime capabilities: supported source extensions, feature flags, and protocol ch... Read agda_solve_all Attempt to solve all goals that have unique solutions. By default, writes the solutions to the file and rel... Read agda_solve_one Attempt to solve one goal that has a unique solution using Agda's exact Cmd_solveOne command. By default, w... Read agda_stdlib_migration_map Return the curated stdlib rename map keyed by source and target versions. Use this before applying mechanic... Read agda_term_search Search the goal's context for terms whose type matches the goal type (or a custom target type). Returns can... Read agda_toggle_implicit_args Toggle whether Agda displays implicit arguments. Read agda_toggle_irrelevant_args Toggle whether Agda displays irrelevant arguments. Read agda_token_highlighting Load token-based highlighting for a file using Agda's Cmd_tokenHighlighting. Read agda_tool_recommend Suggest likely next MCP tool calls based on the current semantic proof state. Returns recommendations order... Read agda_tools_catalog Return the generated manifest view of exposed MCP tools, categories, protocol mappings, schema field names,... Read agda_triage_error Classify a raw Agda error into mechanical/proof/toolchain categories with confidence and a machine-readable... Read agda_typecheck Type-check an Agda file and return a compact classification-only response. This routes through the same sin... Read agda_verify_builtin Given a builtin name, report whether it is resolvable from the curated builtin map and provide migration hi... Read agda_why_in_scope Explain why a name is in scope. If goalId is provided, checks within that goal's context; otherwise checks ...

The managed route: connect Agda through the PolicyLayer gateway — every tool call above is checked against your policy before it runs, with a full audit log.

DIRECT INSTALL (UNMANAGED) npx -y agda-mcp-server
How many tools does the Agda MCP server have? +

The Agda MCP server exposes 72 tools across 3 categories: Read, Write, Execute.

How do I enforce policies on Agda tools? +

Route the Agda server through the PolicyLayer gateway. Define allow, deny, or approval rules per tool in the dashboard — they are enforced on every call before it reaches the server.

What risk categories do Agda tools fall into? +

Agda tools are categorised as Read (57), Write (13), Execute (2). Each category has a recommended default policy.

Let agents act without letting them run wild.

Route your MCP servers through PolicyLayer and every tool call is checked against your policy before it runs — allow, deny, or require approval. Per-identity grants. Full audit log. Live in minutes.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.