Skip to main content
Glama

OpenInjury

Find worksites in a trade

find_contractors
Read-onlyIdempotent

The tool lists worksites in one state and one NAICS trade code in name order, never by rate. It shows each worksite's three-year rate, range, and hours. You can use the list to build a shortlist for vetting, then read each worksite's own record.

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": {
      "state": "<state>",
      "trade": "<trade>"
    },
    "name": "find_contractors"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many results to return, 25 at most.
stateYesTwo-letter state or territory code.
tradeYesNAICS trade code, 2 to 6 digits.
offsetNoHow many results to skip for the next page.
min_hoursNoLeave out worksites with fewer total hours over the three years.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds a genuine behavioral detail, the name-order result ordering, but little else beyond what annotations and the output schema already supply.

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 short sentences, front-loaded with the core behavior and the ordering caveat. The sentence enumerating returned fields (three-year rate, range, hours) is largely redundant given the output schema exists.

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 full schema coverage, rich annotations, and an output schema, the description covers everything an agent needs: what is listed, the scope constraints, the ordering, and the natural next step. No material gap remains for this complexity level.

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 limit, offset, state, trade, and min_hours are all documented in the schema itself. The description reinforces the single-state and single-trade restriction and the cardinality of results, but adds no syntax or format meaning beyond that. 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?

The description gives a specific verb and resource (lists worksites) plus constraining scope (one state, one NAICS trade code) and an ordering guarantee (name order, never by rate). That is enough for an agent to tell it apart from a rate-ranked or free-text sibling, though no sibling is named explicitly.

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 states a concrete use case — building a shortlist for vetting — and points to the follow-up step of reading each worksite's own record. What is missing is an explicit exclusion, e.g. when to prefer a rate-ranked or free-text search instead.

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