Skip to main content
Glama

All AI LLC API: documents and calculators

Job Hazard Analysis (PDF and Word)

generate_job_hazard_analysis
Read-onlyIdempotent

Break a job into steps, list the hazards of each step, and record the controls, using the task-step-hazard-control method in OSHA Publication 3071. Returns a fillable PDF and a Word file built by the same engine as https://allaiforms.com/tools/job-hazard-analysis/ . This tool helps qualified, competent people organize their own safety paperwork. It does not certify compliance with OSHA, NFPA, state-plan, insurer or local fire-code requirements, and it does not replace a site-specific review by a qualified person. Check the official sources listed with it. PAID: 250 credits ($0.25) per successful call from one-time prepaid credits; send Authorization: Bearer <api_key>. Failed or empty calls are free. Keyless callers get 3 free trial calls per day.

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": {
      "fields": "<fields>"
    },
    "name": "generate_job_hazard_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNoTable rows by table id.
fieldsYesForm fields by id. Leave out what you do not know; the document keeps a blank line for it.
formatNoOutput files. pdf is fillable.both
api_keyNoOptional. Only for clients that cannot send an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent/non-destructive annotations by disclosing pricing (250 credits / $0.25 per successful call, prepaid), that failures and empty calls are free, the Authorization header requirement, keyless trial limits (3/day), and the rendering engine behind the files. These are exactly the operational facts an agent needs before committing to a paid call.

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-loads the core action and output in the first two sentences, then layers cost/auth and disclaimers, so a skimming agent gets the essentials immediately. The compliance disclaimer is longer than strictly necessary but is materially relevant to how the output should be represented.

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?

With no output schema, the description correctly states what is returned (fillable PDF and Word file, selectable via the format enum) and covers cost, auth, and trial behavior. For a nested, multi-row form generator the remaining gaps are minor since the input schema fully documents row structure.

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%, including nested row keys and enums, so the structured data carries the parameter burden. The description only restates the step/hazard/control concept and adds no extra syntax, ordering, or constraint guidance beyond what the schema already documents; baseline 3 applies.

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?

Names a concrete verb chain and resource: break a job into steps, list hazards per step, record controls, using the task-step-hazard-control method from OSHA 3071, and states the deliverables (fillable PDF plus Word). This is specific enough to separate it from adjacent safety-document generators like the PPE assessment or incident investigation tools without needing to name them.

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?

Frames the intended user (qualified, competent people organizing their own safety paperwork) and states exclusions: it does not certify OSHA/NFPA/state-plan/insurer/fire-code compliance and does not replace a site-specific review. It stops short of routing the agent among the many sibling generators, so tool-selection guidance is implied rather than explicit.

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.