Skip to main content
Glama

rigid_sphere_scattering

Computes exact far-field form function for rigid-sphere plane-wave scattering via Mie series, a closed-form reference to validate BEM acoustic scattering solvers.

Instructions

Exact rigid-sphere plane-wave scattering far-field form function via the Mie series (NO solver) — the closed-form twin the Bempp exterior-acoustics BEM scattering solve (acoustic_radiation_submit, problem='scattering') is gated against. For compactness ka and scattering angle theta_deg (from the forward direction; 180° is backscatter), f∞(θ) = (2/ika)·Σₙ(2n+1)[−j'ₙ(ka)/h'ₙ(ka)]· Pₙ(cosθ) — a rigorous spherical-harmonic sum (Neumann ∂p/∂r=0 on the sphere) truncated past convergence (fidelity='exact'). The backscatter |f∞(π)| → 1 in the geometric (ka≫1) limit and rises through the resonance region. A BEM scattered far field must land on |f∞(θ)|.

Returns {ka, theta_deg, a_m, form_function_abs, form_function_re, form_function_im, backscatter_abs, n_terms, fidelity, band_pct, valid_range_ok, warnings, escalate_to}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kaYes
a_mNo
theta_degNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses this is a closed-form analytic computation with 'NO solver', truncation 'past convergence', fidelity='exact', and the physical behavior of the backscatter limit. It also signals diagnostics surface via returned fields (valid_range_ok, warnings, escalate_to), though permission/auth or range-limit behavior is not spelled out.

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

Conciseness3/5

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

The purpose and the sibling relationship are front-loaded, but the large inline LaTeX Neumann-series formula does little to help an agent select or invoke the tool, and the prose is dense. The formula and physical-limit sentences occupy space that does not earn its place for tool-selection purposes.

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?

For a complex analytic physics tool with no output schema and no annotations, the description is fairly complete: it lists the returned fields, states the exactness/truncation guarantee, and exposes diagnostics like warnings and escalate_to. Minor gaps remain around valid ranges and the unexplained `a_m` input.

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

Parameters3/5

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

Schema description coverage is 0% across 3 params, so the description must compensate. It explains `theta_deg` well (measured from the forward direction, 180° is backscatter) and implies `ka` is the size parameter, but `a_m` is only visible in the return list and never defined as an input, leaving one of three parameters unexplained.

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 states a specific verb+resource — computing the exact rigid-sphere plane-wave scattering far-field form function via the Mie series — and explicitly positions it as the closed-form twin the BEM solve (`acoustic_radiation_submit`, problem='scattering') is gated against. An agent can tell this apart from the solver-based sibling without opening either schema.

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

Usage Guidelines3/5

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

It establishes the relationship to the BEM scattering solve ('the ... twin the ... BEM solve is gated against') and notes that 'A BEM scattered far field must land on |f∞(θ)|', which implies the verification use case. However, it never states when an agent should call this versus `acoustic_radiation_submit`, or any exclusions — the guidance is implied rather than explicit.

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

Deploy Server

Other Tools