Skip to main content
Glama

All AI LLC API: documents and calculators

Expense report generator calculator (JSON)

calculate_business_expense_report_generator
Read-onlyIdempotent

Runs the calculator from https://allaiforms.com/tools/business-expense-report-generator/ on your numbers and returns the results as JSON (no files). This is an organizer that adds up your entries. It does not decide what is deductible, reimbursable under any plan, or taxable, and it is not an accounting system or a substitute for your employer's expense policy. Rates shown come from the IRS page on the date noted; confirm them before you submit. 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_business_expense_report_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.9/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses the paid model (10 credits per successful call), how to authenticate (Authorization: Bearer), that failed or empty calls are free, the 3-call/day keyless trial, and that rates are only as current as the IRS page date. That is material operational context an agent cannot get from 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?

Front-loaded with the core action, then scope limits, then billing/auth. Every sentence carries information, though the pricing/auth block is verbose boilerplate that occupies roughly half the text.

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?

With nested row objects and 3 top-level parameters the description covers scope, cost, auth, and data-freshness caveats well. There is no output schema and only 'returns the results as JSON' about the response shape, which is the main remaining 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 description coverage is 100% and every field, enum, row ordering, and row cap is documented in the schema itself. The description adds nothing about the rows/fields structure, so the baseline 3 applies.

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 action: runs the linked expense-report calculator on supplied numbers and returns JSON. The parenthetical '(no files)' implicitly separates it from the generate_* siblings that produce documents, though it never names them.

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?

Boundary statements ('does not decide what is deductible... not an accounting system') tell the agent when the output is insufficient, and 'no files' hints at the generate_ alternative, but usage is only implied rather than an explicit when-to-use/when-not rule with a named alternative.

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.