Skip to main content
Glama
Open Data B2B & Compliance MCP Server

Open Data B2B & Compliance MCP Server

search_metro_building_permits

Read-onlyIdempotent

Find live building, solar, roofing, electrical, HVAC, plumbing, and remodel permits across major US metros with contractor names, valuations, and B2B lead scores.

Instructions

Search live municipal building, solar PV, roofing, electrical, HVAC/mechanical, plumbing, new construction, and commercial remodel permits across major US metros (Chicago, Austin, Seattle, Los Angeles, San Francisco) with contractor names, valuations, and B2B lead scores.

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

Input Schema

NameRequiredDescriptionDefault
metrosNoUS metro portals to query. Supported keys: "chicago", "austin", "seattle", "los_angeles", "san_francisco". Default: ["chicago", "austin", "seattle"].
keywordsNoOptional keywords matched against work description, permit type, contractor name, or address (e.g., ["EV charger", "heat pump"]).
maxResultsNoMaximum permit leads to return (1-50 in MCP Standby mode). Default: 10.
tradeFilterNoFilter permits by specialty trade or construction category ("all", "solar", "roofing", "electrical", "hvac_mechanical", "plumbing", "new_construction", "commercial_remodel"). Default: "all".all
minEstimatedCostUsdNoMinimum reported project valuation / estimated cost in USD. Default: 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that by disclosing that results include contractor names, valuations and B2B lead scores, and that the data is live. It says nothing about rate limits, latency, coverage caps, or what happens when a metro portal is unavailable, which matters for an open-world scraper-backed search.

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?

A single front-loaded sentence with no filler; the verb and resource come first and the coverage details follow. The long comma list of trades is dense but every element carries information, so nothing 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 no output schema, the description partially compensates by naming the salient return fields (contractor names, valuations, lead scores) alongside the domain scope. It is adequate for a parameterized search tool, though it omits result-shape detail such as address/permit-number fields and paging behavior.

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, but the description goes slightly beyond by mapping its enumerated trade list to the tradeFilter enum and its metro list to the metros enum, and by flagging that valuations are part of the payload. It leaves 'keywords' and the 1-50 maxResults standby cap entirely to the schema, so the lift is modest.

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?

The description names a specific verb ('Search') and a precise resource ('live municipal building permits'), then enumerates the covered trades and metros, so the agent knows exactly what dataset this returns. It does not name or contrast any alternative tool, which is the only thing separating it from a 5, though the sibling set is implicitly disjoint by domain.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, no prerequisites, and no mention of alternatives. The only usage signal is the word 'live', which hints at freshness but does not tell the agent when this tool beats another.

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