Skip to main content
Glama

load_event_log

Read event logs from disk in XES, CSV, or Parquet format and store them under a fresh log_id handle. Returns a compact summary with case/event counts and activity preview.

Instructions

Read an event log from disk and store it under a fresh log_id handle.

Format is inferred from the file extension when format is not passed. Supported: XES (.xes, .xes.gz), CSV (.csv), Parquet (.parquet).

For CSV and Parquet, the three *_key parameters tell pm4py which columns to treat as case id / activity / timestamp. Defaults assume the pm4py-standard column names.

Returns a dict with log_id plus a compact summary (case/event counts, activities preview, time range, top 5 variants). Never returns the log itself — subsequent tools retrieve it by handle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
formatNo
case_id_keyNocase:concept:name
activity_keyNoconcept:name
timestamp_keyNotime:timestamp

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, description discloses format inference, supported formats, key parameters for CSV/Parquet, return type, and that it never returns the log itself. Lacks side effects or error info but sufficient.

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?

Concise and well-structured: purpose first, then format details, then key parameters, then return value. No unnecessary words.

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?

Covers all aspects: what the tool does, format support, parameter roles, return structure (dict with log_id and summary including counts, preview, time range, top variants). Output schema exists but description adds sufficient context.

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 has 0% description coverage, but description fully compensates by explaining each parameter: path, format (inferred), *_key parameters as column mappings with defaults and purpose.

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?

Description clearly states 'Read an event log from disk and store it under a fresh log_id handle,' specifying the action and resource. It distinguishes from siblings which are mostly analysis or visualization tools.

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

Usage Guidelines4/5

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

Describes when to use (loading event logs), format inference, and that subsequent tools retrieve by handle. No explicit alternatives but context implies other load tools for different formats like load_ocel.

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/azizketata/pm4py-mcp'

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