Skip to main content
Glama

California licensed contractors from the CSLB public Data

b2b_cslb_california
Read-only

California licensed contractors from the CSLB (Contractors State License Board) public Data Portal for one license classification (e.g. B, C-10 Electrical, C-36 Plumbing), optionally one county: license number, business name and type, address, phone, county, issue/expiration dates, classifications and status; county lists add bond and workers' comp insurer. Filter by city; paged. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": {
      "classification": "<classification>"
    },
    "name": "b2b_cslb_california"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoKeep only this city (exact, case-insensitive)
limitNoContractors to return, 1 to 200 (default 50)
countyNoCalifornia county name, e.g. Los Angeles (recommended for big classes like B or C-10)
offsetNoSkip this many (paging)
classificationYesCSLB classification code, e.g. A, B, C-10, C-36, C-61/D-12

Output Schema

NameRequiredDescriptionDefault
totalNo
countyNo
offsetNo
sourceNo
checkedAtNo
contractorsNo
classificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description adds meaningful context beyond that: priced at $0.002 per successful call, paid via x402 with USDC on Base/Solana and other networks, failures not charged, results paged, and county-scoped records include bond and workers' comp insurer. Minor gaps remain on rate limits and paging behavior details, hence not 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 the core resource and scope, then fields, then the filter/paging/cost notes; there is essentially no filler. The mid-sentence run of returned field names is dense but serves the reader, and the pricing sentence is placed last where it belongs.

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 five-parameter, read-only open-data lookup with a full output schema and annotations, the description covers scope, filtering, paging, and payment model, which is what an agent needs to call it correctly. Only marginal items (rate limits, how paging terminates) are absent.

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?

With 100% schema description coverage the baseline is 3, and the description earns an extra point by tying parameters together semantically: 'optionally one county' and the note that county is recommended for large classes like B or C-10, plus 'filter by city' and 'paged' mapping to city/offset/limit. It doesn't add format rules beyond the schema's own examples.

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?

Names a specific verb+resource and scope: licensed contractors from the CSLB public data portal, restricted to one license classification and optionally one county. The enumerated classification examples (B, C-10 Electrical, C-36 Plumbing) and the listed return fields make it unambiguous against siblings like b2b_chicago_business_licenses or the DRE real-estate tool.

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?

Gives clear usage conditions: exactly one classification is required, county is optional but recommended for big classes like B or C-10, and city filtering is available. It stops short of naming an alternative tool or an explicit when-not-to-use condition, so it is strong context rather than 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.

Resources