Skip to main content
Glama

Calculate a microphone port's acoustic resonance

datasheetvend_calculate_mic_port
Read-onlyIdempotent

Helmholtz resonance of the sound path in front of a MEMS microphone: tubes in order from the microphone outward (PCB hole, gasket, enclosure hole) and the air volume in front of the diaphragm. Returns the resonance frequency and, with band_upper_hz, the peaking at the top of your band; with max_peaking_db, a verdict. A lumped, UNDAMPED model: it gives the upper bound of the peaking, ignores mesh and viscous damping, and says nothing about rattle, wind noise or speaker echo. The front volume must come from the microphone's datasheet. Free with a DatasheetVend API key (no credits), no model call, reads no account data, stores nothing.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "segments": "<segments>",
      "front_volume_mm3": "<front_volume_mm3>"
    },
    "name": "datasheetvend_calculate_mic_port"
  }
}

Input Schema

NameRequiredDescriptionDefault
segmentsYesThe tubes in order, from the microphone outward.
band_upper_hzNo
temperature_cNoDefault 20.
max_peaking_dbNo
front_volume_mm3YesAir volume in front of the diaphragm, mm^3: the microphone's front chamber plus any gasket cavity.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, closed-world, non-destructive, but the description adds substantive behavioral detail: it is a lumped UNDAMPED model, so results are an upper bound on peaking; it ignores mesh and viscous damping; it consumes no credits, makes no model call, reads no account data, and stores nothing. The upper-bound caveat is exactly the kind of trait an agent needs when interpreting results and cannot be inferred from annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is front-loaded — model, inputs, outputs, then limitations, then cost/privacy — and almost every clause carries information. It is dense to the point of being a run-on, and the cost/privacy sentence, while useful, sits in the same block as the technical caveats rather than being separated.

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?

With no output schema, the description correctly explains return values (resonance frequency, band peaking, verdict) and warns about model limitations, which is what an agent needs to use results responsibly. The gaps are minor: temperature_c's effect is undocumented and the exact band semantics of band_upper_hz are implied rather than stated.

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?

With 60% schema coverage, the description supplies meaning the schema lacks: segments are ordered from the microphone outward (PCB hole, gasket, enclosure hole), front_volume_mm3 is the front chamber plus gasket cavity and must be sourced from the datasheet, and the two optional parameters each trigger a distinct output (peaking value, then verdict). temperature_c is never mentioned, leaving one parameter to the schema alone.

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 opens with a precise technical statement of what is computed — Helmholtz resonance of the sound path in front of a MEMS microphone — and enumerates the model's inputs (tube segments in order, front air volume). No sibling in the catalog performs acoustic resonance calculation, so the agent can route to it unambiguously.

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

Usage Guidelines4/5

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

It gives clear usage context: the front volume must come from the microphone datasheet, band_upper_hz yields peaking at the top of the band, and max_peaking_db yields a verdict. It also states what the tool does not cover (rattle, wind noise, speaker echo), which functions as a scope exclusion. It stops short of naming an alternative tool or stating prerequisite inputs beyond the datasheet value.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources