Skip to main content
Glama
efranceschetti

festo-codesys-mcp

PLC Function Block Library

plc_library
Read-onlyIdempotent

Search, browse, or retrieve reusable CODESYS ST function blocks and DUTs for motor, valve, PID, sensor, and safety logic. Avoid creating new blocks when existing ones suffice.

Instructions

Access the 38-block reusable ST library (30 Function Blocks + 8 shared DUTs) — ALWAYS check here BEFORE creating new FBs. USE WHEN: about to create any FB, or looking for ready-made motor/valve/PID/sensor/safety logic. Actions: 'search' (keyword match), 'list' (browse by category), 'get' (full source code). Categories: types (8), motion (4), actuators (5), sensors (4), safety (2), system (5), utilities (10). Contains ready-to-use blocks for motors, valves, PID, sensors, safety, and more. DO NOT create a new FB if a similar one already exists here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoBlock name for action=get (e.g., "FB_StandardMotor", "E_AxisState")
queryNoSearch term for action=search (e.g., "motor", "temperature", "pid")
actionYes'search': find blocks by keyword | 'list': browse all blocks (optionally by category) | 'get': retrieve full .st source code
categoryNoFilter by category for action=list, or category hint for action=get
Behavior4/5

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

Annotations already indicate readOnlyHint=true and idempotentHint=true. The description adds value by detailing the actions (search, list, get) and that it provides source code, without contradicting 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 reasonably concise and front-loaded with the main purpose. Each sentence adds value, though it could be slightly more compact.

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

Completeness5/5

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

Given the 4 parameters with enums, rich annotations, and no output schema, the description covers actions, categories, usage guidance, and what to expect, making it fully informative for the agent.

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

Parameters4/5

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

Schema has 100% coverage. Description adds examples (e.g., 'FB_StandardMotor' for name) and explains the actions and categories in more detail than schema, enhancing understanding.

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 'Access the 38-block reusable ST library' and lists specific actions (search, list, get) and categories. This distinguishes it from sibling tools like 'review_st_code' and 'plc_lookup'.

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?

Explicit guidance: 'ALWAYS check here BEFORE creating new FBs' and 'DO NOT create a new FB if a similar one already exists.' It lacks explicit alternatives, but the context strongly implies when to use.

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/efranceschetti/festo-codesys-mcp'

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