Skip to main content
Glama

visualize_performance_spectrum

Plot case durations across activities to reveal bottleneck segments in process execution.

Instructions

Render a performance spectrum (Graphviz/neato, PNG-only output via our helper).

Plots the duration of each case along an ordered activity list, revealing bottleneck segments visually. activities is required — the chart is only meaningful when the caller picks a subset of activities to track. Typically the activities of interest from the dominant variant(s).

Requires the dot / neato binaries from Graphviz.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
log_idYes
activitiesYes
Behavior4/5

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

With no annotations provided, the description carries full burden. It discloses the external dependency on Graphviz binaries and the PNG-only output format. It does not mention any side effects or data mutation, which is acceptable for a read-only visualization tool. No contradictions with annotations.

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 four sentences, concise and front-loaded with the main action. It efficiently covers purpose, parameter guidance, and external requirements. Minor improvement could be structuring with bullet points, but overall it earns its place.

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 tool has 2 parameters, no output schema, and no annotations, the description covers purpose and parameter guidance adequately. However, it lacks details on the output image content, interpretation, or potential errors (e.g., missing Graphviz binaries). A more complete description would mention these aspects.

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 description coverage is 0%, so the description must compensate. It adds meaning to 'activities' by stating it should be a subset of activities, typically from the dominant variant. However, 'log_id' is not elaborated beyond the schema, leaving a gap. The description adds some value but does not fully compensate for the lack of schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool renders a performance spectrum using Graphviz/neato, plotting case durations along activities to reveal bottlenecks, with PNG-only output. The purpose is specific, but it does not explicitly differentiate this from sibling visualization tools like visualize_dotted_chart or visualize_dfg.

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 explains that 'activities' is required and should be a meaningful subset, typically from dominant variants, and that Graphviz binaries are needed. However, it does not indicate when to prefer this tool over alternatives or when not to use it.

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