Skip to main content
Glama

NBI — Find Bridges Near a Location

nbi.infrastructure.nearby
Read-onlyIdempotent

Find US highway bridges within a specified radius (up to 50 miles) of a latitude/longitude coordinate. Results are sorted by lowest sufficiency rating ascending (most at-risk bridges first). Returns the same core fields as nbi.search: structure number, location, feature below, coordinates, condition (Good/Fair/Poor), deck/superstructure/substructure ratings, operating load rating, max span length, deck width, average daily traffic, open/posted/closed status, and scour classification. Useful for infrastructure planning, site assessments, disaster response routing, and proximity analysis. Covers all 621,000+ US highway bridges. No auth required — USDOT/FHWA public domain data.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of nearby bridges to return (1–100, default 25). Sorted by lowest sufficiency rating ascending.
latitudeYesCenter latitude of the search area in decimal degrees (e.g. 37.7749 for San Francisco).
longitudeYesCenter longitude of the search area in decimal degrees (e.g. -122.4194 for San Francisco).
radius_milesNoSearch radius in miles from the center point (0.1–50, default 10). Larger radii may return up to 100 results.

Output Schema

NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds valuable behavioral context beyond that: results are sorted by sufficiency rating ascending, the dataset covers 621,000+ bridges, no auth is required, and the source is public-domain USDOT/FHWA data. This goes beyond what structured annotations alone convey.

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 description is front-loaded with the core purpose, followed by sort behavior, returned fields, use cases, and data/auth notes. It is slightly longer than necessary — the field list and 'useful for' sentence are somewhat redundant with schema/output schema and generic context — but every section earns its place and no irrelevant detail is present.

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?

Given the full schema coverage, rich annotations, and presence of an output schema, the description is largely complete. It covers the query geometry, radius constraint, sort order, returned fields, data scale, and authentication posture. Minor omissions like pagination or no-results behavior are not critical for this tool's complexity and are likely covered by the output schema.

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 100%, so the baseline is 3. The description restates the 50-mile radius limit and mentions sort order, which overlaps with schema descriptions, but does not add meaningful new parameter-level meaning beyond that. It does not compensate for anything missing because the schema already documents all four parameters thoroughly.

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 specific action and resource: 'Find US highway bridges within a specified radius (up to 50 miles) of a latitude/longitude coordinate.' It clearly distinguishes this from general NBI search by emphasizing the geospatial radius, and the explicit reference to nbi.search and the field list helps an agent map it against sibling tools.

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?

The description clearly establishes the context for use — proximity-based bridge discovery for infrastructure planning, site assessments, disaster response routing, and proximity analysis. It could be stronger with an explicit 'use nbi.search for non-proximity queries' route, but the radius-based usage is unambiguous and the listed use cases give solid practical guidance.

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.