Skip to main content
Glama

inverse_fourier_transform_expression

Convert frequency-domain expressions to spatial or time-domain functions using the inverse Fourier transform, enabling signal reconstruction and inverse filtering.

Instructions

    Inverse Fourier transform: F(k) → f(x).

    ═══════════════════════════════════════════════════════════════════════
    🆕 PHASE 2 - NOT IN SYMPY-MCP OR NSFORGE v0.2.3!
    ═══════════════════════════════════════════════════════════════════════

    Transforms frequency domain back to spatial/time domain.

    USE CASES:
    - Reconstruct signal from spectrum
    - Inverse filter design
    - Synthesize periodic patterns
    - Diffusion problem solutions

    Args:
        expression: Frequency-domain expression F(k)
        freq_var: Frequency variable (default: "k")
        space_var: Space/time variable (default: "x")

    Returns:
        Spatial/time-domain function f(x)

    Examples:
        # Lorentzian spectrum
        inverse_fourier_transform_expression("1/(1 + k**2)", "k", "x")
        → {"result": "pi*exp(-abs(x))", ...}

        # Sinc function
        inverse_fourier_transform_expression("Heaviside(k+1) - Heaviside(k-1)", "k", "x")
        → {"result": "sin(x)/(pi*x)", ...}

        # PK: Reconstruct concentration profile from spectrum
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
freq_varNok
space_varNox
expressionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the return type ('Spatial/time-domain function f(x)') and provides worked examples with expected outputs, but it does not discuss assumptions, convergence conditions, or failure modes when the inverse transform does not exist.

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?

The description is well-organized into Use cases, Args, Returns, and Examples sections, with the core definition front-loaded. Some decorative content like the 'PHASE 2' banner and 'PK' note is non-essential, but the structure makes the longer length acceptable.

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?

For a symbolic transform tool with an output schema, the description covers input semantics, defaults, use cases, return type, and gives concrete expected outputs. It lacks explicit normalization-convention details and limitations, but is sufficiently complete for an agent to select and invoke the tool correctly.

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 Args block is essential and fully compensates. It explains that expression is the frequency-domain expression F(k), freq_var is the frequency variable (default 'k'), and space_var is the space/time variable (default 'x'), adding semantic meaning not available in the schema.

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 opens with a precise mathematical definition: 'Inverse Fourier transform: F(k) → f(x).' and states it 'Transforms frequency domain back to spatial/time domain.' This uses a specific verb and resource, clearly distinguishing it from forward Fourier and Laplace transform siblings.

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?

The description lists four concrete use cases (reconstruct signal from spectrum, inverse filter design, synthesize periodic patterns, diffusion problem solutions) that signal when to use the tool. It does not explicitly name alternatives or exclusions, but the forward/inverse distinction and sibling tool names provide adequate context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/u9401066/nsforge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server