Skip to main content
Glama

ai_incident_report

Read-only

Workplace incident report + OSHA screen — Turn a free-text workplace incident description (description; optional date, location, type) into a structured EHS incident report: summary, classification, severity, timeline, immediate actions, root causes by category, corrective actions with owner, business-day due date and hierarchy-of-controls type. Offline OSHA keyword screen: 8-hour (fatality) and 24-hour (hospitalization, amputation, eye loss) reporting deadlines under 29 CFR 1904.39, possible recordable signals (stitches, fracture, days away), and a weak-controls flag. Not legal advice. Price: $0.008 USDC (Base, via x402).

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": {
      "description": "<description>"
    },
    "name": "ai_incident_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYese.g. Warehouse worker slipped on wet floor near dock 3, cut hand, needed 4 stitches at urgent care

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

The description adds substantial context beyond the annotations: it discloses the price ($0.008 USDC via x402), the offline OSHA keyword screen, the specific reporting deadlines under 29 CFR 1904.39, and the legal disclaimer. These are meaningful behavioral traits not present in the readOnly/openWorld/destructive annotations.

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?

The description is long but information-dense and front-loaded with the core purpose. It avoids filler, though the single-paragraph format could be easier to scan if the output components and cost were separated.

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 complex report-generation tool with no output schema, the description is nearly complete: it enumerates the report sections, the OSHA screen outputs, cost, and legal status. It does not address input length limits or handling of missing details, leaving a small gap.

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% for the single required description parameter, so the baseline is 3. The description adds useful guidance about what the free text should contain (date, location, type), but the parenthetical 'optional date, location, type' could be misread as separate optional fields that do not exist in the schema.

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 a specific verb and resource: 'Turn a free-text workplace incident description ... into a structured EHS incident report.' It also names the OSHA screening function, so an agent can tell this apart from generic report tools and from the sibling ai_incident_update.

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?

Usage is clear from the opening clause: this is for converting free-text workplace incidents into EHS reports with an OSHA screen. However, it does not explicitly name when to use ai_incident_update instead, nor does it state exclusions or prerequisites beyond 'Not legal advice.'

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.

Resources