Skip to main content
Glama

discover_temporal_profile

Compute mean and standard deviation of sojourn time for each ordered activity pair to detect anomalies when a pair's duration deviates significantly from its profile.

Instructions

Discover a temporal profile — per-activity-pair mean + stddev of sojourn time.

For every ordered activity pair (A, B) seen in any case, the profile records (mean_seconds, std_seconds). Useful for anomaly detection: an execution where a pair is much slower than its profile mean is flagged.

Returns a handle plus the number of pairs observed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_idYes

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 provided, the description explains the behavioral output: returns a handle and number of pairs observed, and describes the computation method (mean/std per pair). It does not cover side effects or permissions, but the behavioral insight is sufficient for a read-only analysis tool.

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?

The description is concise with three sentences, each serving a clear purpose: state the main function, detail the output, and note the use case. No extraneous information is included.

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 existence of an output schema and the tool's simplicity (single parameter, straightforward computation), the description is nearly complete. However, the missing parameter explanation is a notable gap that affects completeness.

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

Parameters1/5

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

The input schema has only one parameter 'log_id' with 0% schema description coverage. The description fails to mention or explain this parameter, leaving the agent without guidance on what to provide.

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 the tool's purpose: discovering a temporal profile of per-activity-pair sojourn time statistics (mean and stddev). It distinguishes from siblings like 'abstract_temporal_profile' by specifying the exact computation and output.

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 the tool is 'useful for anomaly detection' but does not explicitly state when to use it versus alternatives, nor does it provide when-not-to-use guidance. Usage context is implied but not comprehensive.

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