Skip to main content
Glama

All AI LLC API: documents and calculators

PPE assessment calculator (JSON)

calculate_ppe_assessment_organizer
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/ppe-assessment-organizer/ on your numbers and returns the results as JSON (no files). This worksheet supports the person who performs the PPE hazard assessment. The assessor identifies the hazards and selects the PPE; the tool makes no suggestions, does not rank PPE, does not say an assessment is adequate, and does not certify compliance with OSHA or any state plan. Respiratory and hearing protection are outside this tool. Check the official sources listed with it. PAID: 10 credits ($0.01) 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": "calculate_ppe_assessment_organizer"
  }
}

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.
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?

Annotations already mark it read-only, idempotent and non-destructive; the description adds real value on top by disclosing billing (10 credits per successful call, failures and empty calls free), the keyless trial allowance, the Authorization header requirement, and an expectation-setting disclaimer that the tool makes no suggestions, ranks nothing, and certifies nothing. Those are exactly the behaviors structured fields cannot express.

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 purpose before disclaimers and pricing, and each clause carries distinct information. It is dense for a single paragraph, particularly the pricing and auth sentence, but no sentence is filler.

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 nested form-filling tool with no output schema, the description covers scope, cost, auth and the nature of the output ('results as JSON, no files'). It does not describe the shape of the returned JSON beyond that, which is the one meaningful gap given there is no output schema to fall back on.

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% and every nested row/column id is documented in the schema, so the description does not need to explain parameters. It adds no format or validation guidance beyond what the schema already carries, which is the expected baseline for full-coverage schemas.

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 specific verb and resource ('Runs the calculator from ... on your numbers and returns the results as JSON'), and the parenthetical '(no files)' implicitly separates it from the generate_* sibling that produces documents. The scope exclusions (respiratory and hearing protection, no compliance certification) further sharpen what this tool is.

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 clear context for use: the assessor supplies hazards and PPE selections, the tool computes and returns JSON only. It never names the companion 'generate_ppe_assessment_organizer' tool or states the condition that would send an agent there instead, so the when-not 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.