Skip to main content
Glama
cyntrica

Gov Data MCP

by cyntrica

dol_osha_inspections

Read-only

Search OSHA workplace inspections by state, establishment, industry code, or inspection type to retrieve site details and inspection dates.

Instructions

Search OSHA workplace inspections. Find inspections by state, establishment name, industry (SIC/NAICS), or type. Inspection types: A=Accident, B=Complaint, C=Referral, H=Planned, L=Programmed high-hazard. Returns site details, inspection type/scope, open/close dates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax results (default 25)
stateNoTwo-letter state code: 'CA', 'TX', 'NY'
offsetNoPagination offset
sort_byNoField to sort by: 'open_date' (default), 'close_case_date'
sic_codeNoSIC industry code
insp_typeNoInspection type: A=Accident, B=Complaint, C=Referral, H=Planned, L=High-hazard
estab_nameNoEstablishment name: 'Amazon', 'Walmart', 'Tesla'
naics_codeNoNAICS industry code: '236220' (commercial construction)
sort_orderNoSort direction (default: desc)
Behavior4/5

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

Given the readOnlyHint annotation already conveys safety, the description adds value by disclosing the return contents ('site details, inspection type/scope, open/close dates') and explaining inspection type codes. This goes beyond the annotation, though it does not discuss quotas, pagination behavior, or error cases.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured, with a front-loaded purpose statement followed by compact, useful filter and return information. Every sentence earns its place; no filler or redundancy.

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 9-parameter search tool with no output schema, the description covers the core concepts: what it searches, key filter dimensions, type codes, and return fields. It doesn't mention defaults for limit/sort, but those are documented in the schema, and the tool is not overly complex. The description is adequate for an agent to decide whether to invoke it.

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 coverage is 100%, so the baseline is 3. The description restates what the schema already contains (e.g., state, SIC/NAICS, inspection type codes) without adding new meaning or clarifying parameter relationships or syntax beyond the schema's descriptions.

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 opens with 'Search OSHA workplace inspections,' clearly identifying the action and resource. It then lists specific filter dimensions (state, establishment, industry, type) and inspection types, which differentiates it from sibling tools like dol_osha_violations and dol_osha_accidents.

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?

The description provides clear context on what can be searched (state, establishment, SIC/NAICS, type) and enumerates inspection types with their meanings. However, it does not explicitly mention when to use this tool over sibling tools (e.g., dol_osha_violations), so it lacks explicit exclusions or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyntrica/gov-data-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server