Skip to main content
Glama
ethan-hub26

embedcalc-mcp

by ethan-hub26

Modbus RTU Timing Calculator

embedcalc_modbus_rtu_timing
Read-onlyIdempotent

Calculate Modbus RTU inter-character (t1.5) and inter-frame (t3.5) silence times from baud rate.

Instructions

Modbus RTU inter-character (t1.5) and inter-frame (t3.5) silence times. Per spec: 11 bits/char; above 19200 baud fixed t1.5=750 µs and t3.5=1750 µs. Args: baud. Returns (structured): { char_time_us, t15_us, t35_us }. Example: 9600 -> char 1145.8 µs, t1.5 1718.8 µs, t3.5 4010.4 µs; 115200 -> 750/1750 µs fixed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
baudYesBaud rate in bit/s

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
t15_usYes
t35_usYes
char_time_usYes
Behavior5/5

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

The description adds significant behavioral details beyond what annotations provide. It explains the spec formula (11 bits/char), the two regimes (fixed above 19200 baud, computed below), and gives example outputs. Annotations already indicate read-only and idempotent, and the description reinforces this with clear, non-mutating behavior.

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?

The description is very concise, covering the purpose, spec details, parameters, return structure, and an example in just three sentences. It is front-loaded with the main action and well-organized for quick comprehension.

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 that the tool has only one parameter, a simple output schema, and annotations fully declaring its nature, the description is complete. It includes the return structure and an example, ensuring the agent has all necessary information to invoke the tool correctly.

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?

The input schema already describes the 'baud' parameter as integer bit/s. The description adds meaning by defining what baud is used for (timing calculation), explaining the spec relationship, and giving example conversions (e.g., 9600 baud yields specific microsecond values). This context enhances the schema's information.

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 that the tool calculates Modbus RTU inter-character (t1.5) and inter-frame (t3.5) silence times, with specific reference to the spec (11 bits/char) and baud rate regimes. It distinguishes itself clearly from sibling calculator tools by specifying the exact protocol and timing parameters.

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 clear context for usage: it is for Modbus RTU timing calculations. Although it does not explicitly state when NOT to use this tool or compare with other sibling calculators, the naming and specifics make it obvious when to apply it. No exclusion conditions are given, but it is sufficiently clear for intent.

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/ethan-hub26/embedcalc-mcp'

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