Skip to main content
Glama
umuro

prolog-mcp

by umuro

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
prolog_queryA

Execute a Prolog goal and return all solutions as JSON

prolog_assertA

Assert a fact or rule into the KB. Persists to disk and survives daemon restarts. Use agent:main (default) for permanent knowledge; use session: for ephemeral facts tied to the current session.

prolog_retractA

Retract matching facts or rules from a layer. Removes from disk and reloads — retraction survives daemon restarts.

prolog_write_fileA

Write a .pl file to disk and hot-reload it. WARNING: replaces the entire file — not an append. Use for authoring multi-clause rule files (core.pl, scratch/). For individual facts use prolog_assert instead. On syntax error the file is rolled back and the server keeps running.

prolog_load_fileB

Hot-reload an existing .pl file

prolog_list_factsA

List facts in the KB, optionally filtered by functor

prolog_reset_layerA

Clear a session or scratch layer (core and agent layers are permanent)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/umuro/prolog-mcp'

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