Skip to main content
Glama
Origin 일해 MCP

Origin 일해 MCP

Official
by ilhae-ai

spectrum_peaks_fit

Detects peaks in spectrum data and fits multiple Gaussian, Lorentz, or Voigt profiles with a constant baseline, returning center positions, FWHM, area, and R² for quantitative peak analysis.

Instructions

스펙트럼 피크 찾기 + 다중 피크 피팅(가우시안·로렌츠·보이트, 상수 기준선). 중심·FWHM·면적·R².

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spectrum_peaks_fit"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo열 번호(0부터)·짧은 이름·긴 이름. 생략 시 역할로 자동 선택
yNo열 번호(0부터)·짧은 이름·긴 이름. 생략 시 역할로 자동 선택
bookNoOrigin 워크북 이름. path 와 둘 중 하나
pathNo측정 파일 절대 경로(CSV/TXT). book 과 둘 중 하나
modelNogauss
sheetNo
centersNo피크 위치를 직접 지정할 때
n_peaksNo
prominenceNo(최대-최소) 대비 피크 돌출 비율
plot_resultNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden, yet it says nothing about side effects: plot_result defaults to true, implying a graph object is created in Origin, but that is never stated. Permissions, whether it mutates the active workbook, and failure behavior for non-spectral data are all undisclosed.

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?

Two dense lines, front-loaded with the primary action and then the outputs, with zero filler. It is terse to the point of being a fragment, but nothing is wasted.

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?

For a 10-parameter tool with no annotations, the definition is thin: the output schema covers return values, but the description never explains how to reach the tool (book/path/sheet), how x and y are resolved, or the graph side effect of plot_result. An agent would have to reverse-engineer call setup from the schema alone.

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 coverage is 60%, and the description adds one genuinely useful fact — the baseline is held constant — along with the model names that map to the enum. However, the unclear interplay between centers and n_peaks (auto-detect vs manual specification) and the role-based auto-selection of x/y are left entirely to the schema, so it does not compensate for the uncovered parameters.

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 names a specific verb and resource — finding spectrum peaks plus multi-peak fitting — and enumerates the supported line shapes (Gaussian/Lorentz/Voigt) and fixed baseline, plus the fitted quantities (center, FWHM, area, R²). It is clearly distinguishable from spectrum_fft or signal_filter by content, though it never names a sibling to route against.

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 or when-not-to-use guidance. It does not say when to pick this over fit_curve or spectrum_fft, nor does it state prerequisites such as having an Origin workbook open or a spectral file imported first. Usage can only be inferred from the tool name.

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