svo_get_filter
Pack: svo-filters · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/svo_get_filter for the schema, then POST the same URL with its arguments for the data.
Get one astronomical filter profile from the Spanish Virtual Observatory Filter Profile Service: pivot, mean, effective, peak and central wavelength, effective width, FWHM, min/max wavelength, magnitude system, zero point, and the transmission curve. Wavelengths are in the unit the service publishes (reported in wavelength_unit, normally Angstrom). Give filter_id (e.g. “JWST/NIRCam.F200W”) or facility + instrument + band. The curve is thinned evenly to max_points (default 200, max 2000, endpoints kept); the response reports curve_points_total, curve_points_returned and curve_points_omitted.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
filter_id | string | yes | Service filter ID, “Facility/Instrument.Band”, e.g. “JWST/NIRCam.F200W”. |
facility | string | no | With instrument and band, an alternative to filter_id, e.g. “JWST”. |
instrument | string | no | e.g. “NIRCam”. |
band | string | no | e.g. “F200W”. |
max_points | number | no | Maximum transmission curve points to return (default ${DEFAULT_CURVE_POINTS}, max ${MAX_CURVE_POINTS}). 0 returns no curve, only the point count. |
Example call
Arguments
{
"filter_id": "JWST/NIRCam.F200W",
"max_points": 20
}
curl
curl -X POST https://gateway.pipeworx.io/svo-filters/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"svo_get_filter","arguments":{"filter_id":"JWST/NIRCam.F200W","max_points":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('svo_get_filter', {
"filter_id": "JWST/NIRCam.F200W",
"max_points": 20
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
filter_id | string | |
facility | string | |
instrument | string | |
phot_system | string | |
band | string | |
description | string | |
wavelength_unit | string | |
pivot_wavelength | number | |
mean_wavelength | number | |
effective_wavelength | number | |
central_wavelength | number | |
peak_wavelength | number | |
min_wavelength | number | |
max_wavelength | number | |
effective_width | number | |
fwhm | number | |
magnitude_system | string | |
zero_point | number | |
zero_point_unit | string | |
profile_reference | string | |
comments | string | |
components | string | |
detector_type | string | |
solar_flux | number | |
solar_flux_unit | string | |
curve_wavelength_unit | string | |
curve_points_total | number | |
curve_points_returned | number | |
curve_points_omitted | number | |
transmission_curve | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"filter_id": {
"type": "string"
},
"facility": {
"type": "string"
},
"instrument": {
"type": "string"
},
"phot_system": {
"type": "string"
},
"band": {
"type": "string"
},
"description": {
"type": "string"
},
"wavelength_unit": {
"type": "string"
},
"pivot_wavelength": {
"type": "number"
},
"mean_wavelength": {
"type": "number"
},
"effective_wavelength": {
"type": "number"
},
"central_wavelength": {
"type": "number"
},
"peak_wavelength": {
"type": "number"
},
"min_wavelength": {
"type": "number"
},
"max_wavelength": {
"type": "number"
},
"effective_width": {
"type": "number"
},
"fwhm": {
"type": "number"
},
"magnitude_system": {
"type": "string"
},
"zero_point": {
"type": "number"
},
"zero_point_unit": {
"type": "string"
},
"profile_reference": {
"type": "string"
},
"comments": {
"type": "string"
},
"components": {
"type": "string"
},
"detector_type": {
"type": "string"
},
"solar_flux": {
"type": "number"
},
"solar_flux_unit": {
"type": "string"
},
"curve_wavelength_unit": {
"type": "string"
},
"curve_points_total": {
"type": "number"
},
"curve_points_returned": {
"type": "number"
},
"curve_points_omitted": {
"type": "number"
},
"transmission_curve": {
"type": "array",
"items": {
"type": "object",
"properties": {
"wavelength": {
"type": "number"
},
"transmission": {
"type": "number"
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the svo-filters pack
{
"mcpServers": {
"svo-filters": {
"url": "https://gateway.pipeworx.io/svo-filters/mcp"
}
}
}
See Getting Started for client-specific install steps.