Skip to main content
Glama

agda_intro

Fill an Agda goal by introducing a constructor or lambda abstraction. Provide the file path and goal ID, then call agda_load to refresh the goal list.

Instructions

Introduce a constructor or lambda abstraction in a goal.

Tries to fill the hole with an appropriate constructor or lambda. Call agda_load afterwards to refresh goals.

Args: file_path: Absolute path to the .agda file goal_id: The goal/hole number (from agda_load output)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goal_idYes
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses that the tool 'tries' (may fail) and that goals need refreshing afterward, implying a state change. But it does not mention file modification, required preconditions beyond the goal_id source, or failure behavior.

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 brief and front-loaded with the core purpose. Every sentence contributes value, including the follow-up load instruction and the parameter details. No redundancy or filler.

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

Completeness4/5

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

The tool has only two required parameters and an output schema, so the description covers invocation essentials well. It includes the key workflow detail (call agda_load after). It loses a point because it does not mention when to choose this over sibling tools, especially agda_refine_or_intro.

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

Parameters5/5

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

Schema coverage is 0%, but the description compensates fully: file_path is defined as 'Absolute path to the .agda file' and goal_id as 'The goal/hole number (from agda_load output)'. This adds concrete meaning that the schema's names alone do not convey.

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 action ('Introduce a constructor or lambda abstraction in a goal') and elaborates with 'Tries to fill the hole with an appropriate constructor or lambda.' This clearly distinguishes the tool from siblings like agda_case_split or agda_load.

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

Usage Guidelines3/5

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

It gives a workflow instruction: 'Call agda_load afterwards to refresh goals.' However, it does not explicitly say when to prefer this over related tools such as agda_refine_or_intro, agda_auto, or agda_give, so alternatives are not addressed.

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