Math & Numbers
Convert between frequency and wavelength with selectable medium; results in all common frequency and length units
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/frequency-wavelength' \
-H 'Content-Type: application/json' \
-d '{"convertFrom":"frequency","freqUnit":"MHz","frequency":100,"lenUnit":"m","wavelength":0,"medium":"light","speed":299792458}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/frequency-wavelength| Name | Type | Required | Description |
|---|---|---|---|
| convertFrom | select | No | — |
| freqUnit | select | No | — |
| frequency | number | No | — |
| lenUnit | select | No | — |
| wavelength | number | No | — |
| medium |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-frequency-wavelength": {
"name": "frequency-wavelength",
"description": "Convert between frequency and wavelength with selectable medium; results in all common frequency and length units",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=frequency-wavelength",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "frequency-wavelength",
"arguments": {
"convertFrom": "frequency",
"freqUnit": "MHz",
"frequency": 100,
"lenUnit": "m",
"wavelength": 0,
"medium": "light",
"speed": 299792458
}
}
}Questions or issues? Contact [email protected]
| select |
| No |
| — |
| speed | number | No | — |
HTML result
{
"result": "<div>Processed HTML content</div>",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}