Skip to main content
Glama

Standard Local

Search local business public disclosure records

search_records
Read-onlyIdempotent

Search audited residential HVAC, Plumbing, Electrical, and Roofing contractor records by free-text location (city, ZIP, county, or metro), trade, state, keyword, website disclosure flags, Diamond Certified status, or Bay Area utility programs. Uncovered locations return a structured covered: false response rather than a schema error.

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_records"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum records to return (default: 20, max: 50).
metroNoOptional legacy metro slug (bay-area, salt-lake-city, provo-orem, dfw, miami) or location string.
queryNoCase-insensitive substring match against business name, legal entity, city, service area, license number, utility program, brands, credentials, or services.
stateNoFilter by two-letter state code.
tradeNoFilter by trade (default: all).
locationNoFree-text city, ZIP code, county, or metro name (e.g., "San Jose", "94107", "Oakland", "Plano", "Orem", "Coral Gables").
utility_programNoCase-insensitive filter for verified Bay Area utility/rebate programs (e.g., "BayREN", "TECH", "EBMUD", "PG&E", "SVCE").
has_24_7_emergencyNoFilter by whether 24/7 emergency service is stated.
has_online_bookingNoFilter by whether an online scheduling/booking form was found.
has_license_on_siteNoFilter to businesses that display (true) or omit (false) their state license number on inspected website pages.
has_diamond_certifiedNoFilter to Bay Area businesses with verified Diamond Certified profiles.
has_warranty_durationNoFilter by whether an explicit labor/workmanship warranty duration is published.
has_diagnostic_fee_publishedNoFilter to businesses that publish (true) or omit (false) a standalone non-member diagnostic, trip, or inspection fee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real context beyond them by disclosing the uncovered-location fallback (covered: false rather than a schema error), which is a non-obvious response behavior an agent needs.

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?

Two sentences, front-loaded with the core action and the filter surface, then the fallback behavior. The filter enumeration is long but each item maps to a distinct parameter, so little is wasted.

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 13 optional parameters, no output schema, and full schema coverage, the definition covers what an agent needs to construct a query and what happens when geography is uncovered. Return shape beyond the covered:false case is left implicit, but the annotations and schema fill most of that gap.

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% for all 13 parameters, so the schema already carries parameter meaning. The description only groups the filters conceptually ('website disclosure flags, Diamond Certified status, Bay Area utility programs') without adding syntax, precedence, or combination rules.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: searching audited residential contractor disclosure records across four trades by location, trade, state, keyword, and website-verification flags. It is clearly distinguishable from a single-record fetch like get_business_record, though no sibling is named explicitly.

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?

The description enumerates valid filter axes and notes that uncovered locations return a structured covered:false instead of an error, which implies broad-geography usage. It does not say when to prefer this over get_business_record or verify_contractor_claims, nor when to avoid it.

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