Skip to main content
Glama

M2MCent x402 Universal MCP Gateway

4-20ma-analog-converter-mcp

[0.010 USDC] Industrial 4-20mA Current Loop & NAMUR NE43 Converter: Scales industrial 4-20mA / HART current loops to engineering units, raw ADC counts (12/16/24-bit), and NAMUR NE43 burnout/saturation alarm states.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currentMa": "<currentMa>"
    },
    "name": "4-20ma-analog-converter-mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitsNo
adcBitsNo
currentMaYes
engineeringRangeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it only mentions the 0.010 USDC cost. It never states that this is a pure stateless calculation with no side effects, what happens when currentMa falls outside the 4-20mA band, how NAMUR NE43 thresholds (3.6/3.8/20.5/21 mA) are applied, or what the response contains. For a zero-annotation tool this leaves significant behavioral gaps.

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?

A single front-loaded sentence with the domain, the verb, and the three output forms, plus a cost tag up front. Every clause carries information and nothing is padded. It is dense to the point of being slightly jargon-heavy, but that suits the domain.

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

Completeness2/5

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

There is no output schema and no annotations, and the four parameters are entirely undocumented in structured form, so the description is the only source of truth. It gestures at return values and field meanings but omits defaults, valid ranges, alarm threshold definitions, and error behavior for out-of-range input, which is insufficient for a four-parameter numeric converter.

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% across four parameters, so the description must compensate and it only partly does. It hints at the meaning of three of them ('engineering units' for units/engineeringRange, '12/16/24-bit' for adcBits, '4-20mA' for currentMa), but gives no allowed values for units, no statement that engineeringRange is a two-element min/max pair, and no default for adcBits or units. The mapping is suggestive rather than definitive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb ('Scales') and a specific resource ('industrial 4-20mA / HART current loops'), and enumerates the three output forms (engineering units, raw ADC counts at 12/16/24-bit, NAMUR NE43 alarm states). That is enough for an agent to know exactly what the tool does without opening the schema. It does not explicitly differentiate itself from any sibling, but the sibling list shown contains no comparable signal-conversion tool, so the omission costs little.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the agent can infer 'use this when you have a mA loop reading and need engineering units or alarm state,' but the description never states when to use it, when not to, or what alternatives exist. It also does not say whether a prior calibration or range configuration is required. Minimum viable rather than instructive.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.