Skip to main content
Glama

call402

STR Profit Calculator (STR Profit Tracker, KeyLedgerDesigns)

str_profit_calculator
Read-only

Deterministic spreadsheet math from the STR Profit Tracker workbook. Send up to 5 properties, platform fee %s, the year, bookings and expenses; get back the Dashboard the workbook formulas produce: per-property bookings, nights, gross, platform fees, host payout, expenses, net profit, occupancy (nights / 365), ADR and RevPAR, plus the monthly P&L for the year. No AI, no external data. Caps: 5 properties, 200 bookings, 300 expenses per call. Price: $0.01 per successful call (x402 USDC on eip155:8453). Failed or empty calls are never charged.

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": {
      "properties": "<properties>",
      "year": "<year>"
    },
    "name": "str_profit_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearYesYear the monthly P&L covers.
bookingsNo
expensesNo
propertiesYesUp to 5 property names (Settings).
platform_feesNoFee as a fraction of gross per platform: Airbnb, Vrbo, Booking.com, Direct, Other. Defaults to the example workbook (0.03, 0.05, 0.15, 0, 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations, it discloses determinism, absence of AI/external data, hard input caps, and a precise billing model ($0.01 per successful call via x402 USDC on eip155:8453, with failed or empty calls never charged) — exactly the kind of cost and failure behavior annotations cannot convey. The only friction is 'No external data' sitting alongside openWorldHint=true, which reads as network/paid-call access rather than a real conflict.

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 is front-loaded in the first sentence, followed by inputs, outputs, limits and price in a logical order. The prose is dense but every sentence carries information; only the 'No AI, no external data' phrasing is slightly redundant with the determinism claim.

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 no output schema and five nested-object parameters, the description carries the burden well: it enumerates the returned metrics and the monthly P&L, and states caps and cost. It does not say what the response envelope looks like (JSON object vs. workbook/sheet), which is the main remaining gap for a compute tool returning a 'Dashboard'.

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?

The description names all four input groups and the year, but says 'platform fee %s' while the schema defines platform_fees as a fraction of gross with defaults 0.03/0.05/0.15/0/0 — a percent-vs-fraction ambiguity that could cause a 100x error. With 60% schema coverage, the description neither resolves that ambiguity nor adds detail on booking/expense field semantics.

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?

The first sentence names the specific artifact (the STR Profit Tracker workbook) and the operation (deterministic spreadsheet math), and the second enumerates the exact outputs produced (per-property bookings, nights, gross, fees, payout, net, occupancy, ADR, RevPAR, monthly P&L). An agent can tell exactly what this computes without opening the schema.

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?

It states the invocation contract clearly — send up to 5 properties, platform fee percentages, the year, bookings and expenses — and gives hard limits (5 properties, 200 bookings, 300 expenses). It does not name a when-not condition or an alternative, though the sibling catalog contains no comparable profit/underwriting tool, so there is little to route against.

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.

Resources