Train Horn SPL MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server estimates free-field sound-pressure level for a point source such as a portable train horn, using inverse-square spreading and, when a frequency is supplied, ISO 9613-1 atmospheric absorption.
Tools:
spl_at_distance: SPL at a target distance, given a level at a reference distance.
distance_for_target_spl: distance at which the estimated SPL equals a target.
a_weighting: IEC 61672-1 A-weighting in dB at one frequency.
Caveats are included in every tool result. The tools are not a substitute for a calibrated sound level meter. Absorption is omitted when frequency_hz is left unset.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| spl_at_distanceA | Estimate free-field SPL at a target distance. |
| distance_for_target_splA | Estimate the free-field distance at which SPL equals a target level. |
| a_weightingA | Return the IEC 61672-1 A-weighting in decibels at one frequency. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool targets a distinct operation: forward propagation (spl_at_distance), the numerical inverse (distance_for_target_spl), and a frequency-domain weighting helper (a_weighting). The argument signatures differ clearly (target_distance_m vs target_spl_db), so an agent can pick correctly without reading the bodies.
All three names are snake_case and follow a consistent 'quantity or model being returned' convention rather than verb_noun (spl_at_distance, distance_for_target_spl, a_weighting). This is predictable and readable, but the lack of a verb prefix makes it slightly less self-documenting than an ideal pattern.
Three tools is small but well-matched to a narrowly scoped acoustic calculator: forward model, inverse model, and a weighting utility. Every tool earns its place, with no filler or redundancy.
The core forward/inverse propagation pair is covered, but the domain surface is incomplete: there is no way to apply A-weighting across a spectrum or to chain weighting with propagation in one call, and the tool description itself admits a_weighting is not a complete dB(A) calculation. Ground reflection, barriers, and multi-band train-horn spectra are also unaddressed.