Skip to main content
Glama
petri-net-sim

pns-server MCP Server

add_conveyor_line

Adds a complete conveyor line with try-or-bypass workstations, automatically bypassing items at busy stations and returning unprocessed items to the first station with a delay.

Instructions

Add a COMPLETE conveyor line with Try-or-Bypass workstations.

THIS IS THE PREFERRED TOOL for conveyor systems with bypass logic. Creates N workstations, all bypass connections, and return loop in ONE call.

How it works:

  • Each station: if resource FREE -> process; if BUSY -> bypass to next

  • After last station: unprocessed items return to first with delay

  • Processed items exit at their processing station

Args: station_count: Number of workstations processing_time: Mean processing time at each station in time_unit distribution: Processing time distribution transport_time: Time to move between stations in time_unit return_delay: Time for items to return from last to first station in time_unit channels: Number of parallel resources per station station_prefix: Name prefix for stations (default: "Device") time_unit: Unit for all time values — "s", "min", or "h"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
station_countYes
processing_timeNo
distributionNoexp
transport_timeNo
return_delayNo
channelsNo
station_prefixNoDevice
time_unitNos

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the burden of behavioral disclosure. It explains the bypass logic (if free process, if busy bypass), return loop, and processed items exit. It adequately reveals behavioral traits beyond just 'add'.

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?

Description is well-structured with a bold purpose statement, a 'How it works' section, and a bulleted argument list. It is front-loaded with key info, though could be slightly more concise by removing the 'This is the preferred tool' repetition.

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?

Given the tool's complexity (8 parameters, output schema) and many siblings, the description explains the behavioral logic and parameter meanings. It doesn't mention prerequisites like needing a network, but for a creation tool it provides sufficient context.

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 0%, so description must compensate. It provides brief one-line explanations for each parameter (e.g., 'Mean processing time'), but lacks depth like allowed values or dependencies. Adds meaning but minimally.

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 adds a complete conveyor line with Try-or-Bypass workstations. It distinguishes from siblings like add_conveyor (likely simpler) and add_conveyor_workstation (individual) by emphasizing it creates everything in one call and is preferred for bypass logic.

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 explicitly states 'THIS IS THE PREFERRED TOOL for conveyor systems with bypass logic,' providing clear context for when to use it. However, it does not mention when not to use it or compare to alternatives like add_conveyor.

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/petri-net-sim/pns-server'

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