Skip to main content
Glama

OpenInjury

Search worksites

search_worksites
Read-onlyIdempotent

Find worksites by name, with optional state, city or NAICS industry code. Results are ordered by name match, then by name, never by rate. Returns name, address, industry, site_id and the latest year reported.

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": {
      "query": "<query>"
    },
    "name": "search_worksites"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoCity name.
limitNoHow many results to return, 25 at most.
naicsNoNAICS industry code, 2 to 6 digits.
queryYesWorksite or company name, at least two characters.
stateNoTwo-letter state or territory code.

Output Schema

NameRequiredDescriptionDefault
dataNo
notesNo
statusYes
sourcesNo
page_urlNo
release_idNo

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 readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the result ordering rule (name match, then name, never by rate) tells the agent how to interpret ranked output. It does not mention pagination or what an empty result looks like, which keeps it below the top mark.

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?

Two sentences, front-loaded with the action and filters, then the ordering rule. Nothing is padded, though the trailing enumeration of returned fields (name, address, industry, site_id, latest year) is largely redundant given an output schema exists.

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?

This is a simple read-only search: annotations cover safety, the output schema covers the return shape, and the input schema covers all five parameters. The description supplies the one thing structured fields can't, the ranking behavior. Only the limit parameter and empty-result handling go unaddressed, which is minor.

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 the schema already explains query, city, state, naics and limit with formats and bounds. The description mirrors four of the five parameters without adding constraints or format detail. Baseline 3 is appropriate since the schema does the heavy lifting; the unmentioned limit is a small gap.

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 opens with a specific verb and resource ("Find worksites by name") and enumerates the optional narrowing filters (state, city, NAICS). It implicitly separates itself from the singular get_worksite by framing this as a name-based search, but it never names or contrasts that sibling explicitly.

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?

Usage is only implied: you call this when you have a name to match against. There is no statement of when to prefer this over get_worksite or get_employer, and no note on what to do when the name search returns nothing. The 'never by rate' ordering remark hints at an alternative ranking but doesn't turn into 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