Skip to main content
Glama
paintbrushv

plat-costmodel

by paintbrushv

check_renovation_roi

Evaluate renovation ROI against a minimum threshold using conservative high-end cost estimates and projected rent lift to decide if a plan clears the gate.

Instructions

Check whether a renovation plan clears the minimum ROI threshold.

Uses the HIGH cost estimate (conservative). Formula: (annual_rent_lift / total_cost_high) * 100. Default threshold is 15%.

Args: total_cost_high: High-end total renovation cost estimate current_monthly_rent: Current monthly rent target_monthly_rent: Expected post-renovation monthly rent threshold_pct: Minimum ROI percentage (default 15%)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
threshold_pctNo
total_cost_highYes
target_monthly_rentYes
current_monthly_rentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations the description carries the full burden, and it does disclose meaningful behavior: it uses the HIGH (conservative) cost estimate, the exact ROI formula, and the 15% default threshold. It does not disclose the return shape (pass/fail boolean vs numeric ROI) or any edge-case behavior.

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 purpose, then the formula and default, then the argument list. Slightly duplicative in restating parameter names, but each sentence carries useful 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?

For a no-annotation, no-output-schema tool with 4 parameters, the description covers inputs and computation logic well but never states what the tool returns (a boolean clearing the threshold, the ROI value, etc.), which an agent needs to interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does: each of the four parameters is annotated with its meaning (high-end cost estimate, current rent, target rent, minimum ROI percentage), and the formula clarifies how they interact.

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 ('check whether a renovation plan clears the minimum ROI threshold') and adds the formula and default threshold, so an agent knows exactly what is computed. It does not name or differentiate itself from sibling estimation tools, so it falls short of a 5.

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?

Usage is only implied: the description makes clear it is a threshold check on a renovation plan, but gives no explicit when-to-use versus the many estimate_* siblings, and no prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.