Skip to main content
Glama

NBI — Detailed Bridge Record by Structure Number

nbi.infrastructure.bridge_detail
Read-onlyIdempotent

Retrieve the full NBI record for a specific US highway bridge identified by state FIPS code and NBI structure number. Returns all inspection and inventory fields: condition ratings (deck, superstructure, substructure, channel, culvert), load ratings (operating and inventory, in tons), structural evaluation, waterway adequacy, posting/closure status, scour-critical rating, deck area (m²), approach details, owner and maintenance agency, functional classification, design load, deck structure/surface/membrane type, improvement costs, inspection frequency and date, fracture-critical designation, federal lands flag, and skew angle. Use nbi.search or nbi.nearby to discover structure numbers before calling this tool. Data: FHWA NBI as of June 2023. No auth required — USDOT public domain.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
state_codeYesTwo-digit FIPS state code (e.g. "06" for California, "48" for Texas, "36" for New York, "17" for Illinois). Leading zero required for single-digit states (e.g. "01" for Alabama).
structure_numberYesNBI structure number — the unique bridge identifier within the state (e.g. "06 0021", "27 0052"). Obtainable from the structure_number field in nbi.search or nbi.nearby results.

Output Schema

TableJSON 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.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the description's job is lighter. It adds valuable context beyond annotations: data source ('FHWA NBI as of June 2023'), no auth required, and public domain licensing. No contradictions found.

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 well-structured: purpose first, then field enumeration, then usage guidance, then data source. The exhaustive field list is a bit long but serves to set expectations about the richness of the record. There is some redundancy with the output schema, but it earns its place by clarifying the tool's comprehensive coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a straightforward lookup tool with two well-documented parameters and an output schema, the description covers everything an agent needs: identifiers, how to obtain them, data vintage, auth requirements, and licensing. No missing information that would prevent correct invocation.

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%, and both parameters already have detailed descriptions with examples and format patterns. The description adds the semantic context that state_code and structure_number together identify a specific bridge, but does not provide additional syntax or format details beyond the schema. Baseline 3 applies since the schema does the heavy lifting.

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 uses a specific verb ('Retrieve') and names the exact resource ('full NBI record for a specific US highway bridge') along with the two required identifiers. It clearly distinguishes itself from sibling tools like nbi.search and nbi.nearby by indicating this is the record retrieval tool, not a discovery tool.

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

Usage Guidelines5/5

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

Explicitly instructs to 'Use nbi.search or nbi.nearby to discover structure numbers before calling this tool,' which is a clear when-to-use directive and points to the correct alternatives. This is exactly what an agent needs to route to the right tool.

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.