Skip to main content
Glama
apexsotjo-blip

RemoteConnect MCP Server

place_fb_in_ladder

Create a function block in a Ladder section for any project DFB, automatically generating the block geometry and wiring a boolean input to the rung.

Instructions

Place a function block in LADDER from scratch — NO template needed — for any project DFB. Then build_project to confirm.

An FFB in Ladder can't normally be hand-authored (CE owns the pin layout), but this generates the correct geometry automatically: it reads the DFB's pin interface, places the block (height = max(in,out)+1), wires ONE boolean input on its pin-row to the rail (EN left enabled), and binds the rest.

fb_type: a project DFB type (e.g. 'FC_Valve', 'FC_VSD', 'Motor'). instance_name: the FB instance variable. bindings: {pin: variable_or_literal} for the data / in-out / output pins (e.g. {"Valve":"AV2","ExtReset":"0"}); auto-declared with the right types. rung_input: which BOOL input the rung drives (default: first boolean input). rung_contact: the BOOL variable feeding that input (default '_EN'). For elementary EFBs (TON/CTU/…) author in FBD instead. Multiple blocks = call once per block (each makes its own section).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoMAST
pos_xNo
fb_typeYes
sectionYes
bindingsYes
rung_inputNo
rung_contactNo
instance_nameYes
Behavior4/5

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

Since no annotations are provided, the description must carry the full behavioral burden. It discloses key internal behavior: reads the DFB's pin interface, places the block with computed height (max(in,out)+1), wires one boolean input to the rail, and auto-declares bindings with the right types. This gives significant insight into what the tool does beyond the schema, enough to predict side effects like variable creation.

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 well-structured: a clear purpose in the first sentence, a rationale paragraph, then per-parameter explanations, followed by usage notes. Each sentence adds value; there is no fluff. It is somewhat long but appropriate for the tool's complexity. The key information is front-loaded, and the parameter list is organized with examples.

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?

For a tool of this complexity (8 parameters, no output schema, no annotations), the description covers the main mechanics and defaults, but leaves important gaps. The 'section' parameter is required yet unexplained, and 'task' and 'pos_x' are only mentioned by default values. It also doesn't describe return values or error scenarios. The description is sufficient for a rough understanding but not fully complete for correct invocation without additional inference.

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 document all parameters. It explains fb_type, instance_name, bindings, rung_input, and rung_contact with examples, covering 5 of 8 parameters. However, it omits explanations for section (required), task, and pos_x, leaving them ambiguous. The agent has to infer their meaning from names and defaults, which is insufficient given the lack of schema descriptions.

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 starts with a clear, specific verb and resource: 'Place a function block in LADDER from scratch'. It explicitly differentiates from alternative authoring by stating 'NO template needed' and 'For elementary EFBs (TON/CTU/…) author in FBD instead', which implies this tool is for project DFBs. This gives the agent a precise understanding of what the tool does and how it differs from related tools.

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 provides explicit when-not-to-use guidance: 'For elementary EFBs (TON/CTU/…) author in FBD instead.' It also says 'Then build_project to confirm,' indicating a follow-up step. However, it doesn't explicitly compare with the sibling 'use_fb_in_ladder', though the 'from scratch — NO template needed' phrase implicitly contrasts it. This is clear enough for an agent to decide when to invoke this tool.

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/apexsotjo-blip/remoteconnect-mcp'

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