Skip to main content
Glama

Circuit Sim Lab (電路模擬實驗室)

晶振負載電容與增益餘裕

xtal_load_cap

外掛電容 C1、C2 與雜散電容算出實際負載電容 CL、頻率偏移 ppm、振盪增益餘裕、驅動功率,並給出剛好對上規格 CL 的電容值。

Input Schema

NameRequiredDescriptionDefault
fNo晶振頻率(MHz)
c0No並聯電容 C0(pF)
c1No外掛電容 C1。2026-10-12 起預設 26 pF(原 30 pF),配合 cs 預設 5 pF 讓 CL=18 pF(pF)
c2No外掛電容 C2。2026-10-12 起預設 26 pF(原 30 pF),配合 cs 預設 5 pF 讓 CL=18 pF(pF)
cmNo動態電容 Cm(fF)
csNo雜散電容(腳位+走線)。2026-10-12 起預設 5 pF(原 3 pF),出處 ST AN2867/TI SLLA122(pF)
gmNo晶片振盪器跨導 gm(mA/V)
clsNo晶振規格的負載電容 CL(pF)
esrNo等效串聯電阻 ESR(最大值)(Ω)
vppNoC1 那端的峰對峰電壓(算驅動功率用)(V)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / c1 / default
      Previous value: -30New value: +26
    • changedInput schema / properties / c2 / default
      Previous value: -30New value: +26
    • changedInput schema / properties / cs / default
      Previous value: -3New value: +5
  2. Changed3 schema fields changed
    • changedInput schema / properties / c1 / description
      Previous value: -"外掛電容 C1(pF)"New value: +"外掛電容 C1。2026-10-12 起預設 26 pF(原 30 pF),配合 cs 預設 5 pF 讓 CL=18 pF(pF)"
    • changedInput schema / properties / c2 / description
      Previous value: -"外掛電容 C2(pF)"New value: +"外掛電容 C2。2026-10-12 起預設 26 pF(原 30 pF),配合 cs 預設 5 pF 讓 CL=18 pF(pF)"
    • changedInput schema / properties / cs / description
      Previous value: -"雜散電容(腳位+走線)(pF)"New value: +"雜散電容(腳位+走線)。2026-10-12 起預設 5 pF(原 3 pF),出處 ST AN2867/TI SLLA122(pF)"
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden. It enumerates the computed outputs (a useful stand-in for the missing output schema) but never states that the tool is a pure, side-effect-free calculation, nor any assumptions or model limitations (e.g. which formulas/sources are used). Mutation risk is low for a calculator, but the disclosure is thin.

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 dense sentence that front-loads the inputs (external caps, stray capacitance) and then lists the resulting quantities. No filler, though the run-on enumeration of four outputs makes it slightly harder to scan than it could be.

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 10-parameter, no-annotation, no-output-schema calculator, the description usefully covers the return values and the input concept. However it omits usage context, assumptions, and the fact that all parameters are optional with sensible defaults — gaps an agent would otherwise have to discover from the schema.

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 100%, with per-parameter units, ranges and even default-change notes in the schema itself, so the schema does the heavy lifting. The description only gestures at C1, C2 and stray capacitance conceptually and adds no syntax or modeling detail beyond the schema. Baseline 3 applies.

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?

States a specific verb (算出) and enumerates the concrete quantities produced: actual load capacitance CL, frequency offset in ppm, oscillation gain margin, drive power, and the cap values matching the spec CL. This is clearly distinguishable from generic EE calculators, though it never names any sibling tool (crosstalk, impedance, etc.) to sharpen the boundary.

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?

The description says what is computed but nothing about when to reach for this tool versus the sibling calculators, nor what prerequisites (e.g. knowing the crystal's spec CL or gm) are needed. An agent must infer the scenario from the name alone.

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.

Resources