Skip to main content
Glama
eecalc-mcp

eecalc-mcp

by aysel-elsh

lc_resonance

Read-onlyIdempotent

Calculate the resonant frequency of an LC circuit from inductance and capacitance using f = 1 / (2π√(LC)).

Instructions

Resonant frequency of an LC circuit: f = 1 / (2π√(LC)).

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": {
      "l_henry": "<l_henry>",
      "c_farad": "<c_farad>"
    },
    "name": "lc_resonance"
  }
}

Input Schema

NameRequiredDescriptionDefault
c_faradYes
l_henryYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so safety and determinism are covered without the text. The description adds the exact computation being performed, which is useful, but is silent on edge cases such as zero capacitance (division by zero), negative values, or unit assumptions.

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?

A single sentence that front-loads the quantity and closes with the formula; every token earns its place and there is no filler.

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?

Output schema exists, so return-value description is not required, and this is a simple two-parameter closed-form calculation. The only real gap is input-format and domain-of-validity guidance, which is minor for a tool of this complexity.

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 carry the load; it partially does by tying L and C to the formula, and the parameter names l_henry/c_farad encode units (henries, farads). It does not explain that each value may be supplied as a number or a string (the anyOf), leaving real ambiguity beyond the schema.

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?

Names the specific quantity (resonant frequency), the resource (an LC circuit), and pins it down with the closed-form formula f = 1/(2π√(LC)), so an agent can tell it apart from reactance, rc_filter, or ohms_law on substance. It stops short of explicitly saying which sibling to use when, so 4 rather than 5.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no statement of alternatives for related questions (e.g. reactance or rc_filter), and no prerequisites. The formula implies a use case but the description never routes the agent.

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