Skip to main content
Glama

Shovels Permits Search

shovels_permits_search
Read-onlyIdempotent

Search US building permits scoped to a location. Requires a geo_id (a US state code like "CA", a ZIP code, or a Shovels geo_id from shovels_address_search) plus a permit date range (permit_from / permit_to, YYYY-MM-DD). Monetary values (job_value, fees, market value) are returned in both cents and dollars. Example: shovels_permits_search({ geo_id: "CA", permit_from: "2024-01-01", permit_to: "2024-12-31", property_type: "residential", _apiKey: "your-key" })

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "geo_id": "CA",
      "_apiKey": "your-shovels-api-key",
      "permit_to": "2024-12-31",
      "permit_from": "2024-01-01"
    },
    "name": "shovels_permits_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoResults per page (1-100, default 50).
cursorNoPagination cursor from a previous response `next_cursor`.
geo_idYesLocation scope: a US state code ("CA"), a ZIP code ("94103"), or a Shovels geo_id from shovels_address_search.
_apiKeyYesShovels API key (X-API-Key). Sign up at https://app.shovels.ai/create-account/
permit_qNoFree-text search over permit descriptions (max 50 chars).
permit_toYesReturn permits that started on or before this date (YYYY-MM-DD).
permit_fromYesReturn permits that started on or after this date (YYYY-MM-DD).
permit_tagsNoFilter by work-type tags (e.g. ["solar","roofing"]). Prefix a tag with "-" to exclude it.
include_countNoInclude an approximate total_count on the first page (default false).
permit_statusNoFilter by status: final, in_review, inactive, active.
property_typeNoFilter by property type: residential, commercial, industrial, etc.
contractor_nameNoFilter permits by contractor name (partial match, min 3 chars).
permit_min_job_valueNoMinimum permit job value, in CENTS (dollars x 100).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / permit_min_job_value / description
      Previous value: -"Minimum permit job value, in CENTS (dollars × 100)."New value: +"Minimum permit job value, in CENTS (dollars x 100)."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely new behavior context: monetary values come back in both cents and dollars, and date bounds are inclusive of the permit start date. It still says nothing about rate limits or result volume.

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?

Three tight sentences front-load the requirement and the geo_id semantics before the return-value note and example. The example partially duplicates the schema's own examples entry, which is mild redundancy but still illustrates a complete call.

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

Completeness3/5

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

With 13 parameters and no output schema, the description should do more to describe what a permit record contains and how pagination behaves across pages; only the money-unit note covers return values. Required inputs, formats, and a full example are present, so it is adequate but leaves real gaps.

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%, so all 13 parameters are already documented at the field level, including the cents unit on permit_min_job_value and the cursor/size pagination pair. The description's parameter talk (geo_id formats, date format) merely restates what the schema says, so 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 gives a specific verb and resource ("Search US building permits") and an explicit scope ("scoped to a location"), then names a required input. It also points at shovels_address_search as the source of a geo_id, letting an agent separate this tool from the address lookup sibling.

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?

Preconditions are stated plainly: a geo_id plus permit_from/permit_to are required, with accepted geo_id forms and date format spelled out. It gives a worked example call but does not state when *not* to use this tool or contrast it with shovels_contractors_search, so it stops short of full routing guidance.

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.