Skip to main content
Glama

prove_informal_text

Formalizes and proves mathematical statements expressed in natural language using the Aristotle API, returning a Project ID for tracking.

Instructions

Submits natural language mathematics directly to be formalized and proved. Returns the Project ID immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
formal_context_pathNo

Implementation Reference

  • main.py:147-168 (handler)
    The handler function for the 'prove_informal_text' tool. It is decorated with @mcp.tool(), which registers it as an MCP tool. The function submits informal text to Aristotle via Project.prove_from_file and returns the project ID.
    @mcp.tool() async def prove_informal_text( text: str, formal_context_path: Optional[str] = None, ctx: Context | None = None, ) -> str: """ Submits natural language mathematics directly to be formalized and proved. Returns the Project ID immediately. """ if ctx: await ctx.info("Submitting informal text to Aristotle...") project_id = await Project.prove_from_file( # type: ignore input_content=text, project_input_type=ProjectInputType.INFORMAL, formal_input_context=formal_context_path, wait_for_completion=False ) monitored_projects.add(project_id) return f"Project started with ID: {project_id}."

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/gleachkr/aristotle-mcp'

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