Skip to main content
Glama

Shovels Contractors Search

shovels_contractors_search
Read-onlyIdempotent

Search US construction contractors scoped to a location, with license, work history and aggregate job value. Requires a geo_id (state code, ZIP, or Shovels geo_id from shovels_address_search) plus a permit date range (permit_from / permit_to, YYYY-MM-DD). Job-value fields are returned in both cents and dollars. Example: shovels_contractors_search({ geo_id: "94103", permit_from: "2023-01-01", permit_to: "2024-12-31", contractor_name: "solar", _apiKey: "your-key" })

Input Schema

TableJSON 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_toYesConsider permits that started on or before this date (YYYY-MM-DD).
permit_fromYesConsider permits that started on or after this date (YYYY-MM-DD).
permit_tagsNoFilter by work-type tags of the contractor’s permits. Prefix "-" to exclude.
include_countNoInclude an approximate total_count on the first page (default false).
property_typeNoFilter by property type: residential, commercial, industrial, etc.
contractor_nameNoFilter by contractor name (partial match, min 3 chars).
contractor_licenseNoFilter by contractor license number.
contractor_min_total_job_valueNoMinimum total job value across the contractor’s permits, in CENTS.
contractor_classification_derivedNoFilter by derived contractor classification/specialty. Prefix with "-" to exclude.
contractor_min_total_permits_countNoMinimum number of permits the contractor has.

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 declare read-only, idempotent, non-destructive behavior, so the safety profile is covered. The description adds genuinely useful non-schema context: the source of geo_id (shovels_address_search) and that job-value fields are returned in both cents and dollars, which matters because there is no output schema. It does not discuss pagination behavior or rate limits, keeping it short of a 5.

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 the required inputs and format, then a clarifying note, then a concrete example call. It is slightly long because of the full example, but every element is functional and nothing is filler.

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?

For a 14-parameter read tool with no output schema, the definition covers required inputs, geo_id provenance, and the monetary-unit quirk of the response. Remaining gaps are minor: pagination flow and the shape of returned contractor records are left to the schema rather than explained.

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 14 parameters are already documented in the schema (including units for contractor_min_total_job_value). The description only restates the required geo_id and date range and the YYYY-MM-DD format, adding little beyond the schema; baseline 3 applies.

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 and resource ('Search US construction contractors') plus scope ('scoped to a location, with license, work history and aggregate job value'), so the agent knows exactly what is returned. It names shovels_address_search as the geo_id source, but does not explicitly differentiate itself from the sibling shovels_permits_search, leaving some ambiguity about which search to pick.

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?

It states the mandatory inputs (geo_id plus permit_from/permit_to) and where geo_id comes from, which is implied usage guidance. However, there is no explicit when-to-use/when-not-to-use guidance relative to the other Shovels search tools, so the agent must infer selection from sibling names.

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.