Skip to main content
Glama
karnameh-mcp

karnameh-mcp

by sepehr071

Biggest new-car price movers

kn_price_movers
Read-onlyIdempotent

Rank new zero-km car variants by percent change in their latest price quote, filtering by days, production year, direction, and result limit.

Instructions

Rank new (zero-km) car variants by the percent change of their latest price quote.

change_percent is against the previous quote. Trend: kn_price_history with a row's name.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "kn_price_movers"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoOnly quotes within this many days of the newest.
yearNoProduction year (Persian, 1404).
limitNoRows to return.
directionNoBiggest rises, drops, or either.up

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.2.0
    • changedInput schema / properties / days / description
      Previous value: -"Only quotes dated within this many days of the newest quote (1-30)."New value: +"Only quotes within this many days of the newest."
    • changedInput schema / properties / direction / description
      Previous value: -"Biggest rises, biggest drops, or biggest in either direction."New value: +"Biggest rises, drops, or either."
    • changedInput schema / properties / limit / description
      Previous value: -"How many rows to return (1-50)."New value: +"Rows to return."
    • removedInput schema / properties / year / anyOf
      Removed value: -[
      -  {
      -    "maximum": 1450,
      -    "minimum": 1380,
      -    "type": "integer"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / year / description
      Previous value: -"Production year (Persian, e.g. 1404)."New value: +"Production year (Persian, 1404)."
    • addedInput schema / properties / year / maximum
      Added value: +1450
    • addedInput schema / properties / year / minimum
      Added value: +1380
    • addedInput schema / properties / year / type
      Added value: +[
      +  "integer",
      +  "null"
      +]
  2. First observedv0.1.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds one genuinely behavioral fact: `change_percent` is measured against the previous quote, which defines the comparison basis. It says nothing about ordering/ties, minimum data requirements, or what a row contains beyond `name`.

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?

Two short sentences with the core action front-loaded and no filler. The closing fragment 'Trend: kn_price_history with a row's `name`.' is telegraphic and slightly awkward to parse, which keeps it from a 5.

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 four all-optional, fully documented parameters and no output schema, the description carries a reasonable load: it names the key output field and its baseline, and signals that rows have a `name`. It could say more about the returned row shape and sort order, but nothing essential to invoking the tool is missing.

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%, so `days`, `year`, `limit` and `direction` are fully documented in the schema, making 3 the baseline. The description adds no syntax, unit, or interaction detail beyond that (e.g. how `days` interacts with `direction` or the default ranking order); its only semantic addition concerns the output field `change_percent`, not the inputs.

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 with a scoping qualifier: 'Rank new (zero-km) car variants by the percent change of their latest price quote.' The '(zero-km)' parenthetical usefully excludes used cars, and the second sentence points at kn_price_history as the alternative for per-item trends. It doesn't distinguish itself from kn_latest_prices or kn_price_list, which are the closest siblings.

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?

Gives an explicit routing rule: for a variant's trend, use kn_price_history with the row's `name`. That is a concrete alternative plus the condition that selects it. It stops short of saying when this tool is *not* appropriate relative to kn_latest_prices or kn_price_list, so the routing is only partial.

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