Skip to main content
Glama
MED Vehicle Intelligence MCP Server

MED Vehicle Intelligence MCP Server

should_i_fix_or_replace

Decide whether to repair or replace a vehicle by comparing repair costs with market value, mileage, age, and repair history, including the real cost of replacement.

Instructions

Get a fix-or-replace recommendation for your vehicle.

Analyzes repair cost vs vehicle value, mileage, age, and repair history to recommend whether to fix your current vehicle or start shopping for a replacement. Includes the real cost of replacement for comparison.

Args: vehicle_year: Model year of the vehicle (e.g., 2015) vehicle_make: Vehicle manufacturer (e.g., "Honda") vehicle_model: Vehicle model (e.g., "Civic") repair_cost: Cost of the repair you're facing in dollars vehicle_value: Estimated current market value in dollars (check KBB.com or Edmunds.com) vehicle_mileage: Current odometer reading in miles (0 if unknown) annual_repair_spend: Total spent on non-routine repairs in the past 12 months (0 if unknown)

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": {
      "vehicle_year": "<vehicle_year>",
      "vehicle_make": "<vehicle_make>",
      "vehicle_model": "<vehicle_model>",
      "repair_cost": "<repair_cost>",
      "vehicle_value": "<vehicle_value>"
    },
    "name": "should_i_fix_or_replace"
  }
}

Input Schema

NameRequiredDescriptionDefault
repair_costYes
vehicle_makeYes
vehicle_yearYes
vehicle_modelYes
vehicle_valueYes
vehicle_mileageNo
annual_repair_spendNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations present, the description carries the burden and does reasonably well: it discloses the analytical model (repair cost vs value, mileage, age, repair history) and that the output includes the real cost of replacement for comparison. It does not address input validation (e.g., negative costs) or reliability caveats, but for a stateless advisory computation the disclosed methodology is substantial.

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?

The purpose and methodology are front-loaded in two tight sentences before the Args list, so an agent gets the gist immediately. The Python-docstring style is functional and mostly earned, though the Args entries repeat field names in a way that adds slight bulk over a table form.

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?

For a 7-parameter tool (5 required) with no annotations, all parameters are documented with units and examples, and the return content is partly described, so the output schema need not be explained. Minor gaps remain: no note on what accuracy loss occurs when mileage or annual spend default to 0, and no bounds or error conditions for the dollar inputs.

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

Parameters5/5

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

Schema description coverage is 0% — the schema only supplies titles — so the Args block is doing all the work, and it does it thoroughly: units for every numeric field, format examples ("Honda", "Civic", 2015), the sentinel convention of 0 for unknown mileage and annual spend, and a sourcing hint (KBB.com or Edmunds.com) for vehicle_value. This is a genuine supplement rather than a restatement.

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 opening line states a specific verb and resource: a fix-or-replace recommendation for a vehicle. The second sentence enumerates the exact inputs considered (repair cost vs vehicle value, mileage, age, repair history) and what comes back (replacement cost comparison), which clearly separates it from siblings like check_repair_estimate or get_maintenance_schedule.

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 implied rather than stated: an agent can infer this is for the moment you face a repair decision, since repair_cost is required. However, there is no explicit when-to-use vs when-not guidance and no reference to the sibling tools (e.g., use check_repair_estimate to price the repair first), so the agent must infer the routing itself.

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