Skip to main content
Glama

discover_log_skeleton

Discover a log skeleton: a set of behavioral constraints per activity pair, including equivalence, always_after, always_before, never_together, directly_follows, and activ_freq. Serves as a declarative complement to process mining.

Instructions

Discover a log skeleton — a set of behavioral constraints per activity pair.

The log skeleton captures six constraint types (equivalence, always_after, always_before, never_together, directly_follows, activ_freq). Useful as a declarative complement to Petri-net / process-tree discovery.

noise_threshold in [0, 1] prunes infrequent patterns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_idYes
noise_thresholdNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, so the description must fully disclose behavioral traits. It does not mention whether the tool is read-only, destructive, requires authentication, or any side effects. The description focuses on output but omits operational behavior.

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?

The description is concise with three sentences. It front-loads the main purpose and uses a code block for the parameter. No unnecessary details, though the code block is informal.

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

Completeness3/5

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

Given the presence of an output schema, the description does not need to detail return values. It adequately explains the tool's function and key parameter, but lacks context on input prerequisites or log format requirements.

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?

With 0% schema description coverage, the description compensates partially by explaining noise_threshold (range [0,1] and pruning purpose). However, log_id is not described, leaving a gap. The added parameter info is useful but incomplete.

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 clearly states it discovers a log skeleton with six constraint types. It is a specific verb+resource and distinguishes itself from siblings like discover_petri_net or discover_declare by focusing on behavioral constraints per activity pair.

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?

The description mentions it is 'useful as a declarative complement to Petri-net / process-tree discovery,' providing some context but no explicit when-to-use or when-not-to-use guidance. It lacks alternatives or exclusions.

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