Skip to main content
Glama

All AI LLC API: documents and calculators

Preventive maintenance generator calculator (JSON)

calculate_preventive_maintenance_generator
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/preventive-maintenance-generator/ on your numbers and returns the results as JSON (no files). This is a scheduling aid. It ships with no service intervals: every interval comes from you or the equipment manual and is labeled with its source. It does not decide what maintenance a machine needs, and it does not say any equipment is safe, inspected, certified or compliant. It does not replace qualified people or the manufacturer's instructions. 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_preventive_maintenance_generator"
  }
}

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

A3.8/5.0
Behavior5/5

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

Well beyond the annotations, it discloses billing (10 credits per successful call, failed/empty calls free), authentication (Bearer api_key, 3 free keyless trials/day), and the output medium (JSON, no files). It also explicitly frames the tool's epistemic limits — no bundled service intervals, no compliance or safety determination — which is exactly the kind of behavioral context annotations cannot convey.

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 action, output format, and key constraint in the first two sentences, then handles data provenance, disclaimers, and pricing in a compact sequence. The three consecutive negative disclaimers are somewhat repetitive and could be merged without losing meaning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The input side is well covered by the schema and the provenance note, and pricing/auth are handled. But with no output schema, the description's only statement about return values is 'returns the results as JSON' — it never indicates what the schedule output contains, which leaves a real gap for a complex nested-input tool.

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 the nested row schemas document every column, so the baseline is 3. The description adds only one semantic hint beyond that — that intervals must be supplied by the user and carry a labeled source, which maps loosely onto the 'src'/'srcd' columns — and says nothing about the three top-level parameters.

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 ('Runs the calculator ... and returns the results as JSON') and scopes the output format with '(no files)', which implicitly separates it from the generate_* sibling that presumably produces a document. It never names that sibling explicitly, so the differentiation is left to inference rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes context ('This is a scheduling aid', intervals come from the user or manual) and rules out several misuse cases (it does not decide maintenance needs, certify safety, or replace qualified people). However, it gives no explicit guidance on when to pick this over generate_preventive_maintenance_generator or the other calculate_* siblings, so tool selection remains implied.

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.