Skip to main content
Glama

Load an event log

load_event_log
Idempotent

Loads CSV or XES event logs to extract cases, events, steps, and timestamps, then proposes matches between log activities and BPMN diagram elements for process mining.

Instructions

Loads an event log (process mining): a CSV with one row per step carried out (case id, step, start and/or end date, optional resource), or XES. Columns are guessed from the headers. Returns cases, events, period, steps with counts, and the proposed match of each step with a diagram element. Case ids and resources stay in the editor: no tool returns them. Then map_log_activities, apply_log_frequencies, check_conformance, or get_log_summary on an empty diagram.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "content": "<content>"
    },
    "name": "load_event_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoFile name, shown to the user (for example orders-2026.csv)
formatNoFormat; guessed from the content when omitted
columnsNoCSV only: column headers, when the guess is wrong
contentYesThe whole file content, CSV or XES text

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.6

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world operation, so the description needn't restate safety. It does add real behavior: headers are guessed, output includes cases/events/period/step counts and a proposed step-to-element match, and case ids and resources are deliberately retained in the editor and never returned. It omits limits such as the 50 MB content cap and re-load semantics over an existing log.

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

Conciseness4/5

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

It is front-loaded with the core verb and input formats, and each sentence carries new information: input shape, guessing behavior, return payload, privacy constraint, follow-up tools. Density is high and the parenthetical list of columns is slightly cramped, but there is no 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?

With no output schema, describing the returned fields (cases, events, period, step counts, element match) is exactly the right compensation, and the note that case ids/resources never leave the editor prevents an agent from promising data it cannot retrieve. Only the absence of size/limit and repeat-load guidance keeps it below full completeness for a state-mutating ingestion tool.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already defines all four parameters including the nested column-mapping object, setting the baseline at 3. The description adds modest context by explaining that format and columns are guessed automatically, implying the `columns` object is an override for bad guesses, but it gives no concrete header examples or format-detection rules.

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?

States a specific verb and resource ("Loads an event log") and immediately constrains the domain to process mining, enumerating the accepted inputs (CSV with case id, step, start/end date, optional resource; or XES). That detail makes it unmistakable versus the sibling tools, which all operate on an already-loaded log or the diagram.

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?

The description names the exact follow-on tools (map_log_activities, apply_log_frequencies, check_conformance, get_log_summary) and the condition "on an empty diagram", which is genuinely useful routing. It stops short of explicit when-not guidance, e.g. what to do if a log is already loaded or how it differs from a manual diagram import.

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