Skip to main content
Glama

math.ifft

Read-onlyIdempotent

Reconstruct time-domain samples from full FFT bins containing magnitude and phase, applying 1/N normalization and enforcing real output when required.

Instructions

fft 결과의 bin 리스트({magnitude, phase_rad})에서 시간 영역 샘플을 복원한다(1/N 정규화 포함). 최대 65536개. real_output 기본 true 는 허수부 절대값이 1e-9 를 넘으면 오류를 내고 문자열 리스트를 반환하며, false 면 {real, imag} 쌍을 반환한다. bin 은 N개 전체를 순서대로 넣어야 하며 일부만 넣으면 다른 신호가 복원된다.

Input Schema

NameRequiredDescriptionDefault
binsYes
real_outputNo

Output Schema

NameRequiredDescriptionDefault
_metaNo서버가 붙이는 영수증(integrity), 엔진, 힌트
traceYes계산 근거(tool, formula, inputs, steps, output)
samplesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the size ceiling (65536), the 1e-9 imaginary-tolerance error behavior for real_output=true, and that the return shape itself changes (string list vs {real, imag} pairs). These are exactly the runtime traits an agent cannot infer from annotations or schema.

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?

Four dense sentences, each contributing a distinct fact (purpose, size limit, flag behavior, input completeness constraint), with the core purpose front-loaded. No filler or restatement of the name.

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?

For a two-parameter transform tool with an output schema, the description covers the input contract, size limit, error mode, and output variants, so nothing needed to call it correctly is missing. Return-value structure being described is a bonus rather than a redundancy.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 and it does: bins is defined as the ordered, complete N-length magnitude/phase list, and real_output's default, error threshold, and output-shape consequence are all spelled out. Only the string encoding of bin values is left implicit.

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 names a specific verb and resource in the inverse direction: reconstruct time-domain samples from an fft bin list of {magnitude, phase_rad} with 1/N normalization. That makes the inverse relationship to math.fft unambiguous without the agent needing to inspect either schema.

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?

It states the operational precondition that bins must contain all N entries in order, and warns that supplying a partial list reconstructs a different signal, which is genuine when-to-use-in-this-way guidance. It also gives a rule for choosing real_output (true for real signals, false when imaginary components are expected), but it never explicitly names math.fft as the forward-direction alternative.

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

Deploy Server

Other Tools