Skip to main content
Glama

fft_transform

Computes a Cooley-Tukey radix-2 Fast Fourier Transform on real-valued signal samples, with an option to perform the inverse transform.

Instructions

Fast Fourier Transform (Cooley-Tukey radix-2) with optional inverse.

Input Schema

NameRequiredDescriptionDefault
signalYesArray of real-valued samples.
inverseNoPerform inverse FFT (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.11

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses the algorithm (Cooley-Tukey radix-2), which implies a power-of-two input length, and mentions the inverse option. However, it omits critical behavioral details such as explicit input-length constraints, output format (e.g., complex array), and inverse normalization.

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?

The description is a single front-loaded sentence with no wasted words. It efficiently conveys the core operation and the optional inverse.

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?

There is no output schema, and the description does not explain the return format or input constraints. For a mathematical transform, an agent needs to know the expected input length (power of two) and the output representation (complex values), neither of which is provided.

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%, so both parameters are already documented in the schema. The description does not add syntax, format, or semantic details beyond what the schema provides, making the baseline 3 appropriate.

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 states a specific mathematical transform, names the algorithm (Cooley-Tukey radix-2), and mentions the optional inverse. It does not explicitly differentiate from related siblings such as ntt, goertzel, or convolution, so it falls short of a 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 guidance on when to use this tool versus alternatives like ntt or goertzel. The only usage-related phrase is 'with optional inverse,' which does not explain the conditions for selecting forward versus inverse mode.

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