Skip to main content
Glama

Municipal Bid Index & Siting API

Search Verified Public-Works Bid Unit Prices

search_unit_price_bids
Read-onlyIdempotent

Search penny-reconciled US municipal, county, and utility contractor bid line items (quantity * unit_price = extended_total) sorted newest-first. Use this tool when you need individual contractor bids, quantities, bidder names, or source PDF page scans; for aggregated state cost percentiles (P25/median/P75/P90), use get_material_price_benchmarks instead, and for land-use or power-siting dockets use search_infrastructure_siting. Requires a Bearer p4013_live_... header and at least one search filter (unfiltered calls return HTTP 400 FILTER_REQUIRED); multiple filters combine via logical AND. Meters each returned row against daily/monthly plan quotas, excludes unreconciled OCR lines automatically, and attaches 15-minute AES-256-GCM expiring WebP proof scan URLs on PDF-sourced records.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_unit_price_bids"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoMaterial or civil work item keyword (e.g. 'ductile pipe', 'asphalt', 'curb')
unitNoCanonical unit (LF, SY, CY, SF, TON, EA, LS, HR, DAY, GAL)
limitNoMaximum records returned in a single call (integer, default 10-15; capped at 15/call on Builder & Pro keys and 50/call on Corporate keys).
stateNoTwo-letter uppercase US state code filter (e.g., 'IL', 'VA', 'TX', 'OH'). Omit to include all covered states.
bidderNoCase-insensitive substring matched against the submitting contractor or vendor legal name (e.g., 'Hauling', 'Construction').
jurisdictionNoCity, county, or utility authority name

Output Schema

NameRequiredDescriptionDefault
dataNoMatching math-verified contractor bid line items with unit_price_usd, quantity, extended_total_usd, canonical unit, bidder_name, and optional 15-minute evidence_image_url.
metaNo
countNoNumber of bid rows returned in this response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / bidder / description
      Previous value: -"Contractor company name"New value: +"Case-insensitive substring matched against the submitting contractor or vendor legal name (e.g., 'Hauling', 'Construction')."
    • addedInput schema / properties / limit / description
      Added value: +"Maximum records returned in a single call (integer, default 10-15; capped at 15/call on Builder & Pro keys and 50/call on Corporate keys)."
    • changedInput schema / properties / state / description
      Previous value: -"2-letter US state code"New value: +"Two-letter uppercase US state code filter (e.g., 'IL', 'VA', 'TX', 'OH'). Omit to include all covered states."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Filtered contractor bid line-item results and quota/provenance metadata.",
      +  "properties": {
      +    "count": {
      +      "description": "Number of bid rows returned in this response.",
      +      "type": "integer"
      +    },
      +    "data": {
      +      "description": "Matching math-verified contractor bid line items with unit_price_usd, quantity, extended_total_usd, canonical unit, bidder_name, and optional 15-minute evidence_image_url.",
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), yet the description adds substantial non-obvious behavior: a required Bearer p4013_live_... header, a hard FILTER_REQUIRED HTTP 400 on unfiltered calls, AND-combination of filters, per-row quota metering against daily/monthly plans, automatic exclusion of unreconciled OCR lines, and 15-minute AES-256-GCM expiring proof scan URLs. These are operational constraints an agent could not infer from the schema or 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?

Front-loaded with purpose, then usage routing, then operational constraints — a sensible order with no filler sentences. It is a single dense paragraph, however, and the auth/quota/scan-URL clauses would read better separated from the core purpose statement.

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?

An output schema exists, so return-value explanation is unnecessary, and the description still notes the proof-scan URL attachment. Auth, error conditions, filter logic, quota accounting, and data-quality exclusions are all covered, which is complete for a 6-parameter search tool.

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?

Schema coverage is 100%, so the baseline is 3; the description still adds value by stating that multiple filters combine via logical AND and that at least one filter is mandatory, which corrects the schema's misleading 'required parameters: 0'. It does not add per-parameter syntax beyond what the schema documents.

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?

States a specific verb and resource: searching penny-reconciled US municipal, county, and utility contractor bid line items, with the reconciliation invariant (quantity * unit_price = extended_total) and newest-first ordering. It names the two siblings it is not (get_material_price_benchmarks for percentiles, search_infrastructure_siting for dockets), so an agent can discriminate without opening schemas.

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?

Explicit when-to-use clause ('when you need individual contractor bids, quantities, bidder names, or source PDF page scans') paired with two named alternatives and the conditions that select them. This is the full when/when-not/alternative pattern.

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