Skip to main content
Glama

agda_load

Loads and type-checks an Agda file, returning goals, errors, and warnings. Call before other commands and after edits to refresh results.

Instructions

Load and type-check an Agda file. Returns goals, errors, and warnings.

This must be called before other commands. Call again after edits to refresh.

Args: file_path: Absolute path to the .agda file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Since no annotations are provided, the description carries the full burden. It discloses that the tool type-checks, returns diagnostics, and requires a specific call order, including a refresh pattern after edits. It does not mention potential side effects, but for a load/type-check tool, this is arguably sufficient and adds substantial context beyond the schema.

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

Conciseness5/5

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

The description is concise and front-loaded: it states the main purpose in the first sentence, then gives usage requirements and argument details. Each sentence earns its place with no redundant or filler content.

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

Completeness5/5

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

Given the tool's simplicity (one parameter) and the existence of an output schema, the description covers the essential usage context: what it does, what it returns, and the required call/refresh pattern. It is complete for an AI agent to correctly invoke the tool.

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

Parameters4/5

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

With 0% schema description coverage, the description compensates by defining `file_path` as 'Absolute path to the .agda file'. This adds critical semantics (absolute path and file extension) that the raw schema lacks, making it clear to the agent what value to provide.

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

Purpose5/5

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

The description states a specific verb ('Load and type-check') and resource ('an Agda file'), and explicitly mentions the outputs ('goals, errors, and warnings'). This clearly distinguishes it from sibling tools that perform more targeted operations like case splitting or hovering, establishing it as the foundational entry point.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'This must be called before other commands' and 'Call again after edits to refresh.' This tells the agent exactly when to use the tool and when to re-invoke it, which is essential for the interactive Agda workflow.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DreamLinuxer/agda-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server