Skip to main content
Glama
jxbaoxiaodong

FTIR.fun MCP Server

analyze_ftir_spectrum

Read-onlyIdempotent

Identify unknown materials by matching FTIR spectra from peak lists, natural-language descriptions, or instrument files against a spectral library.

Instructions

Search the FTIR.fun spectral library for one unknown FTIR spectrum in one call.

Use when the user provides an FTIR peak list, a natural-language description containing peaks, or a base64-encoded FTIR instrument file and wants ranked material candidates. Do not use for general chemistry Q&A, non-FTIR spectra, or institutional report review.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
peaksNoFTIR peak positions in cm-1.
queryNoNatural-language FTIR request. Peak positions such as 1730, 1600, 1250 cm-1 can be extracted automatically.
top_kNoNumber of ranked library candidates to return.
filenameNoOriginal filename for FTIR format detection.spectrum.0
file_base64NoOptional base64-encoded FTIR spectrum file.
tolerance_cm1NoPeak-only search tolerance in cm-1.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false. Description adds that it searches and returns ranked candidates, consistent with annotations. No additional behavioral disclosure needed beyond what annotations provide.

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?

Two sentences, front-loaded purpose, no wasted words. Every sentence provides essential information.

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?

Given 6 parameters and existence of output schema, the description covers core functionality: search library, return ranked candidates. It lacks details on output format, but output schema exists to fill that gap.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds value by mentioning that peak positions can be extracted automatically from natural language, which is not in schema descriptions. This extra guidance justifies a 4.

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 clearly states the tool searches the FTIR.fun spectral library for one unknown FTIR spectrum. It specifies input types (peak list, natural language, base64 file) and distinguishes from siblings by focusing on a single spectrum analysis.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use (user provides FTIR data wanting ranked candidates) and when not to use (general chemistry Q&A, non-FTIR, report review). This provides clear alternatives.

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/jxbaoxiaodong/ftirfun-mcp'

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