Skip to main content
Glama

Osha Search

osha_search
Read-onlyIdempotent

Keyword search across OSHA standards, the US workplace-safety / occupational safety and health regulations in 29 CFR (parts 1900-1990). Answers "what OSHA standards cover X", "OSHA regulation / workplace safety requirement for X", "find the OSHA rule about X". Great for topics: fall protection, hazard communication (HazCom / GHS), lockout tagout (LOTO), respiratory protection, personal protective equipment (PPE), confined space, bloodborne pathogens, machine guarding, scaffolding, excavation, permissible exposure limits, recordkeeping. Returns matching OSHA standards with citation, heading, excerpt, and source URL. Results are filtered to OSHA parts only (1910 general industry, 1926 construction, 1915/1917/1918 maritime, 1928 agriculture, 1904 recordkeeping, etc.), Title-29 wage/hour parts are excluded. Example: osha_search({ query: "fall protection" }); osha_search({ query: "lockout tagout", limit: 15 }). Keyless.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "fall protection"
    },
    "name": "osha_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results to return, 1-20 (default 10).
queryYesWorkplace-safety topic or phrase, e.g. "fall protection", "hazard communication", "lockout tagout", "respiratory protection", "PPE", "confined space", "bloodborne pathogens".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / limit / description
      Previous value: -"Max results to return, 1–20 (default 10)."New value: +"Max results to return, 1-20 (default 10)."
  2. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "query": "fall protection"
      +  },
      +  {
      +    "limit": 15,
      +    "query": "lockout tagout"
      +  }
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world safety, so the description's added value is the parts they can't express: the return shape (citation, heading, excerpt, source URL), the result filter (OSHA 1910/1926/1915/1917/1918/1928/1904 only, wage/hour excluded), and keyless access. It doesn't note ranking or pagination behavior, but the disclosure is substantive.

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 purpose and scope, then examples and the exclusion rule — logical order. The long 'Great for topics' list and the two example calls partly duplicate the schema's own examples and parameter description, which is mild redundancy rather than bloat.

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?

For a two-parameter read-only search with an already-rich schema, the description covers purpose, scope boundaries, return fields, and auth needs — nothing an agent needs to invoke it correctly is missing, and no output schema is required given the described return shape.

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 defines both parameters including the 1-20 limit range. The description reinforces query semantics with topic examples and one example call using limit, but adds no format or constraint detail beyond what the schema states; the 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?

States a specific verb and resource — 'keyword search across OSHA standards in 29 CFR parts 1900-1990' — and scopes exactly what is and isn't covered (Title-29 wage/hour parts excluded). It does not explicitly name the sibling osha_standard (citation lookup) or osha_inspection, so sibling routing must be inferred from the 'keyword search' framing.

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 concrete activation phrases ('what OSHA standards cover X', 'find the OSHA rule about X') and a topic list that tells the agent when this tool fits, plus example invocations showing query and limit usage. It stops short of naming exclusions or directing the agent to osha_standard/osha_inspection for specific lookups.

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.