Skip to main content
Glama

All AI LLC API: documents and calculators

Emergency Action Plan (PDF and Word)

generate_emergency_action_plan
Read-onlyIdempotent

Write a site-specific emergency action plan organized around the six minimum elements in OSHA 29 CFR 1910.38(c): reporting, evacuation, critical operations, accounting for employees, rescue and medical duties, and who to contact. Returns a fillable PDF and a Word file built by the same engine as https://allaiforms.com/tools/emergency-action-plan/ . 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_emergency_action_plan"
  }
}

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.1/5.0
Behavior3/5

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

Adds substantial context beyond annotations: output types (fillable PDF and Word), the engine/source URL, and the full commercial model, which covers 250 credits per successful call, Bearer auth, free failed calls, and 3 free keyless calls per day. However, it does not explain how the files are delivered (URL vs base64 vs attachment), which is the main behavioral unknown an agent faces. The 'readOnlyHint=true' annotation is consistent with a document-generation tool that does not mutate server state.

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 purpose, then the return artifacts, then the compliance disclaimer, then pricing and auth. The compliance sentence is long and repetitive ('does not certify... and it does not replace...'), but every block carries decision-relevant information, so it is defensible length.

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?

Covers the hard parts for a paid, multi-output generator: what is produced, cost, auth, and legal limits. Without an output schema, it should still specify how the PDF/Word artifacts are returned, and it omits any error or partial-input behavior beyond 'failed calls are free'.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, which normally sets a baseline of 3, but the description adds real meaning by enumerating the six OSHA content elements (reporting, evacuation, critical operations, employee accounting, rescue/medical, contacts), which map directly to the required field ids. That helps an agent decide what content each field needs, more than the schema labels alone convey.

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?

States a concrete verb and resource ('Write a site-specific emergency action plan') and scopes it to the six minimum elements of OSHA 29 CFR 1910.38(c). That level of specificity separates it cleanly from siblings like generate_fire_prevention_plan or generate_hot_work_permit 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?

Clearly frames intended users ('qualified, competent people') and enumerates exclusions: it does not certify OSHA/NFPA/state-plan/insurer/fire-code compliance and does not replace a qualified site review. It does not explicitly route to sibling OSHA generators, so it stops short of full when-to-use-vs-alternative 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.