Skip to main content
Glama
petri-net-sim

pns-server MCP Server

add_duplicate

Broadcasts a single token to multiple outputs for parallel processing by independent services, enabling concurrent handling of the same item.

Instructions

Add a Duplicate (Broadcast) pattern — copies one token into N independent copies.

One arriving token produces one token in each output place simultaneously. Use for parallel processing of the same item by independent services.

Use this for:

  • One purchase order triggers parallel handling in warehouse, accounting, logistics

  • One lab sample sent to multiple independent test stations

Args: name: Name for this broadcast point (e.g., "OrderBroadcast") outputs: Output branch names (e.g., ["Warehouse", "Accounting", "Logistics"])

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
outputsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, description carries full burden. Clearly describes that one arriving token produces one token in each output place simultaneously. Could mention if it mutates existing network, but behavior is well explained.

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?

Concise with two introductory sentences, bulleted examples, and clear Args list. Front-loaded with purpose, no wasted words.

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?

Despite having an output schema (not shown), description doesn't mention return value. However, for an add operation, output is likely a success indicator; the description is otherwise complete for understanding and using the tool.

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

Parameters5/5

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

Schema coverage is 0%, but description adds detailed Args section explaining 'name' as broadcast point name and 'outputs' as branch names with examples, providing meaning beyond schema's type-only definitions.

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?

Description uses specific verb 'Add' and resource 'Duplicate (Broadcast) pattern', clearly stating it copies one token into N independent copies. Differentiates from siblings like add_merge or add_unbatch by explaining the broadcast behavior.

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?

Provides explicit use cases: parallel processing of the same item by independent services, with concrete examples. Does not state when not to use, but context is clear given sibling tools.

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