Skip to main content
Glama

All AI LLC API: documents and calculators

Complaint resolution workflow calculator (JSON)

calculate_customer_complaint_resolution_workflow
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/customer-complaint-resolution-workflow/ on your numbers and returns the results as JSON (no files). This is an operational template. It does not give legal, insurance, medical or financial advice, does not decide fault or what a customer is owed, and does not guarantee that following it satisfies any law, contract or standard. Complaints in regulated settings follow that regulator's rules. 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_customer_complaint_resolution_workflow"
  }
}

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

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

Adds substantial context the annotations do not: prepaid credit cost per successful call, failed/empty calls free, a 3-call/day keyless trial, and Bearer auth (or the api_key fallback). It also discloses scope limits – it does not decide fault or give legal/insurance advice and does not guarantee compliance. Remaining gap: no description of what the returned JSON contains or how errors surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Strongly front-loaded: the operation comes first, then the no-files contrast, then the disclaimer, then pricing/auth. Each block is a single tight sentence and no wording is redundant, even though the disclaimer is lengthy.

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?

For a nested calculator with three params, tables capped at 200/30/20 rows and no output schema, the description should say what the results are or what the agent is expected to do with them. It covers cost, auth, and legal scope thoroughly but leaves the output side entirely opaque, so an agent cannot reason about the returned 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% and every column id (rcv, ch, ack_h, res_d, triggers, etc.) is documented inline, so the baseline is 3. The description adds no parameter meaning at all and never explains the meaningful split between 'fields' (scalar form inputs) and 'rows' (the complaint log, categories, and remedy policy tables).

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?

A specific verb and resource: 'Runs the calculator ... on your numbers and returns the results as JSON (no files).' It clearly signals a compute-and-return-JSON operation rather than a document generator. The weakness is that what the calculator actually computes (acknowledgement/resolution timing, repeat-issue flags, escalation triggers) is only accessible via the external URL, not the text.

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?

'Returns the results as JSON (no files)' implicitly contrasts with the generate_customer_complaint_resolution_workflow sibling, which is the only usage routing present. There is no explicit statement of when to pick this over the generate variant, nor any prerequisites such as needing the fields populated first.

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.