Skip to main content
Glama

Building permit leads with contractor license status

permit_leads
Read-only

Answers "What just got permitted, and who's building it?", "New roofing or solar jobs this week?" or "Which permitted contractors have an active license and insurance?". Returns the newest issued building permits (Tacoma, WA today; more Pacific Northwest cities as permission is granted) with address, declared project value, work description, a trade label and the official record link, each matched where possible to the contractor's Washington L&I license (number, status, expiry, insurance expiry; sole proprietors by license number only). Filter with trades, min_valuation_usd, since and require_contractor_match. Owner and applicant names are never returned. Keep the attribution notice with the data. For bulk or scheduled pulls priced per permit, the same feed is on the Apify Store (vanakenj45/permit-leads-license-status). You are only charged when a result is returned: invalid input (400) and upstream failures (4xx/5xx) are not settled. Costs $0.05 USDC per call (up to 25 permits) via x402. Paid per call with x402 inside MCP (see the server instructions).

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": "permit_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
viaNoOptional: the tool whose next_calls suggested this call (filled in for you).
sinceNoStart date (inclusive), e.g. 2026-11-01. Default: 30 days ago.
untilNoEnd date (exclusive). Default: today.
citiesNoCity ids to include. Default: every city currently available.
tradesNoOnly these trades: new_construction, addition_alteration, roofing, solar, hvac_mechanical, electrical, plumbing, fire_protection, demolition, sign, site, right_of_way, utility, other. Default: all.
statusesNoPermit statuses to include: in_review, issued, finaled, expired, cancelled. Default: issued.
date_fieldNoWhich date `since`/`until` filter on.issued_date
max_permitsNoMost permits to return, newest first (1-25). Default 10.
max_valuation_usdNo
min_valuation_usdNoOnly permits whose declared project value is at least this.
min_match_confidenceNoLowest match confidence to show a contractor (high = license number; medium = one exact-name active business; low = weaker).medium
require_contractor_matchNoOnly permits matched to a contractor license.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / since / description
      Previous value: -"Start date (inclusive). Default: 7 days ago."New value: +"Start date (inclusive), e.g. 2026-11-01. Default: 30 days ago."
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly/openWorld/non-idempotent/non-destructive), the description discloses pricing ($0.05 USDC per call via x402, up to 25 permits), the billing rule that 400/4xx/5xx responses are not settled, geographic coverage limits (Tacoma, WA today, more PNW cities as permission is granted), match limits (sole proprietors by license number only), and two obligations: owner/applicant names are never returned and the attribution notice must be retained.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening consists of three quoted natural-language questions before any declarative purpose statement, pushing the core verb+resource sentence back. Useful disclosures (pricing, attribution, coverage) follow, but the example-question preamble and the Apify storefront plug add length without adding selection signal.

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?

With 12 optional parameters, no output schema, and no required arguments, the description carries the necessary weight: it enumerates the fields a caller should expect, states defaults indirectly via filters, warns what is excluded (owner/applicant names), and covers cost, coverage, and attribution. An agent has enough to decide and invoke correctly.

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 92%, so the schema already documents since, trades, valuation bounds, statuses, and match confidence. The description only echoes a subset (trades, min_valuation_usd, since, require_contractor_match) without adding format or default detail, so it neither compensates nor misleads — the baseline 3 applies.

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 names a specific verb and resource — returning the newest issued building permits enriched with Washington L&I contractor license data — and enumerates the returned fields (address, declared value, work description, trade label, record link, license number/status/expiry). It is clearly distinguishable from contractor_license_check because the unit of output is a permit matched to a license, not a license lookup itself.

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?

Example questions ("What just got permitted, and who's building it?", "New roofing or solar jobs this week?") give concrete use contexts, and the description routes bulk or scheduled pulls to a different channel (the Apify Store feed). It stops short of explicit when-not-to-use guidance or a named sibling for single-license lookups, so it is clear on context but lacks exclusions.

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