Skip to main content
Glama

Contractor license check (Washington and Oregon)

contractor_license_check
Read-onlyIdempotent

Answers "Is this contractor licensed?", "Is their insurance current?" or "Vet these subcontractors". Looks up 1-10 Washington (Labor & Industries) or Oregon (Construction Contractors Board) contractors by license number (exact) or registered business name (exact, ignoring case, punctuation and LLC/Inc; never guesses between businesses sharing a name). Returns ok (active license, nothing lapsed), flags (license_expired, insurance_expired, ..._within_30_days, license_inactive, no_insurance_on_file) and the license record. Sole proprietors are shown by license number only. You are only charged when a result is returned: invalid input (400) and upstream failures (4xx/5xx) are not settled. Costs $0.01 USDC per call (up to 10 contractors) via x402. Paid per call with x402 inside MCP (see the server instructions).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "contractors": "<contractors>"
    },
    "name": "contractor_license_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
viaNoOptional: the tool whose next_calls suggested this call (filled in for you).
contractorsYesContractors to check (1-10).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond readOnly/idempotent/openWorld annotations, the description discloses the cost model ($0.01 USDC per call via x402, up to 10 contractors), the billing rule (charged only when a result is returned; 400 and 4xx/5xx are not settled), and an edge case: sole proprietors appear by license number only. That is exactly the supplemental context annotations cannot convey.

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?

It is well structured and front-loaded: the user questions first, then lookup mechanics, then return shape, then billing. It is dense rather than padded, though the billing and x402 sentences are long, and the title/description both restate the WA-OR jurisdictions.

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?

No output schema exists, and the description compensates by naming the return shape: `ok`, an enumerated style flag list (license_expired, insurance_expired, *_within_30_days, license_inactive, no_insurance_on_file) and the license record. Cost, error settlement, and matching limits are all covered, so an agent has what it needs to call the tool and interpret results.

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, and the description raises it by adding matching semantics the schema does not state: exact matching, case/punctuation/legal-suffix insensitivity, and a refusal to disambiguate same-named businesses. It adds little on the `state` enum and the `via` field, which the schema already documents.

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 uses a concrete verb ('Looks up') and names the exact resource and jurisdictions: Washington Labor & Industries or Oregon Construction Contractors Board contractors, by license number or registered business name. It also phrases the purpose as the questions the tool answers ("Is this contractor licensed?"), so an agent can match it to user intent without consulting another schema.

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?

It gives clear conditions for use ('Vet these subcontractors') and spells out the identifier rule: license number (exact) or business name (exact, ignoring case, punctuation and LLC/Inc), never guessing between businesses that share a name. It does not name an alternative tool or state when not to use it, so the condition that selects a sibling is left implicit.

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