Skip to main content
Glama

All AI LLC API: documents and calculators

Job offer comparison calculator (JSON)

calculate_job_offer_comparison_calculator
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/job-offer-comparison-calculator/ on your numbers and returns the results as JSON (no files). Arithmetic on the numbers you enter. Not tax, legal, benefits or financial advice, and not a recommendation to accept or decline any offer. The optional payroll-tax lines use only the published Social Security and Medicare employee rates and exclude income tax, Additional Medicare Tax, and state and local taxes. 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_job_offer_comparison_calculator"
  }
}

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

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description still adds real value beyond them: the paid-credit cost model, the Bearer auth requirement, free failed/empty calls, the 3-call/day keyless trial, and explicit non-advice disclaimers with payroll-tax scope limits. It stops short of describing what the returned JSON contains.

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?

Purpose and the 'no files' distinction are front-loaded, then disclaimers, then billing. The billing and trial sentences are the longest block and are somewhat tangential to invocation, but they do carry decision-relevant cost information.

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 thoroughly specified via schema, but this is a complex calculator with nested row/offer objects and no output schema, and the description says only 'returns the results as JSON' without indicating what a result contains (per-offer totals, scorecard weighting, warnings on incomplete cells). For a tool whose whole value is the returned numbers, that is a meaningful 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% and the nested row/offer properties are documented exhaustively in the schema itself, so the schema does the heavy lifting. The description contributes one genuine semantic addition, the scope of the payroll-tax lines (Social Security and Medicare only, excluding income tax, Additional Medicare Tax, and state/local). The remaining parameters get no added meaning.

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 from ... on your numbers and returns the results as JSON') and adds the crucial 'no files' qualifier that separates it from a document-generating sibling. It does not name the sibling outright, so an agent must infer that the generate_ variant is the file-producing alternative.

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 'returns the results as JSON (no files)' phrasing implies when to pick this over a file-generating alternative, and the pricing/auth notes imply when a call will fail. There is no explicit statement of when to use this versus the sibling generator or what inputs are required to get a useful run.

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.