Skip to main content
Glama
lzinga

US Government Open Data MCP

dol_osha_violations

Read-only

Search workplace safety violations from OSHA inspections by inspection number, violation type, or standard cited. Retrieve penalty amounts and abatement status to assess compliance.

Instructions

Search OSHA violations found during workplace inspections. Violation types: S=Serious, W=Willful, R=Repeat, O=Other, U=Unclassified, F=Failure to abate. Returns standard cited, penalty amounts (initial and current), abatement status. Link to inspections via activity_nr.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
activity_nrNoInspection activity number (links to specific inspection)
viol_typeNoViolation type: S=Serious, W=Willful, R=Repeat, O=Other
standardNoOSHA standard cited: '19100147' (control of hazardous energy)
sort_byNoField to sort by: 'issuance_date' (default), 'current_penalty'
sort_orderNoSort direction (default: desc)
limitNoMax results (default 25)
offsetNoPagination offset
Behavior3/5

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

Annotations already indicate readOnlyHint=true, so the description's 'Search' aligns. The description adds that the tool returns penalty amounts and abatement status, but no additional behavioral traits (e.g., rate limits, auth needs) are disclosed. Annotations carry most of the burden.

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: two sentences plus a line for violation types. It is front-loaded with the core purpose and structured efficiently with no superfluous words.

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?

Despite no output schema, the description adequately covers what the tool returns (standard cited, penalties, abatement status) and how it links to inspections. The parameter list is fully documented in the schema, and the description provides sufficient context for an agent to use the tool correctly.

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% with descriptions for all 7 parameters. The description reiterates violation types but adds no new meaning beyond the schema. Baseline score of 3 is appropriate.

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 clearly states the tool searches OSHA violations and lists return fields. It mentions linking to inspections via activity_nr, which helps distinguish from inspection or accident tools. However, it does not explicitly contrast with sibling OSHA tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives like dol_osha_inspections or dol_osha_accidents. The description lacks context for when this tool is appropriate.

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/lzinga/us-gov-open-data-mcp'

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