Skip to main content
Glama
karnameh-mcp

karnameh-mcp

by sepehr071

Compare car specs

kn_compare_specs
Read-onlyIdempotent

Compare two to four car variants side by side to review scores, pros, cons, and spec differences, helping you decide "A or B?" after searching specs.

Instructions

Compare two to four car variants side by side: review score, pros, cons and every spec row.

Use for "A or B?" after kn_specs_search. Spec values follow the order of cars.

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": {
      "slugs": "<slugs>"
    },
    "name": "kn_compare_specs"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugsYesVariant slugs from kn_specs_search.
only_differencesNoOnly rows where the cars differ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / only_differences / description
      Previous value: -"List only the spec rows where the cars differ."New value: +"Only rows where the cars differ."
    • changedInput schema / properties / slugs / description
      Previous value: -"Two to four variant slugs from kn_specs_search."New value: +"Variant slugs from kn_specs_search."
    • changedInput schema / properties / slugs / items / description
      Previous value: -"Variant slug from kn_specs_search (`slug`), e.g. peugeot-207i-automatic-tu5p."New value: +"Variant `slug` from kn_specs_search."
  2. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so safety is covered; the description adds value by disclosing the shape of the output (score, pros, cons, full spec table) and the ordering semantics of returned spec values. With no output schema, that return-content disclosure matters. It does not mention the default `only_differences=true` filtering, which is behavioral and only discoverable in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with no filler: capability first, then the routing condition. Every clause carries information an agent needs to choose and invoke the tool.

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 two-parameter read-only comparison tool with no output schema, the definition covers what it does, when to use it, what comes back, and where the slugs come from. The dangling `cars` reference is the one loose end that could send an agent looking for a field that isn't there.

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 coverage is 100%, so `slugs` and `only_differences` are already fully documented, giving a baseline of 3. The description contributes the arity constraint (two to four) and ordering semantics, but the ordering statement points at a `cars` field that does not match the actual `slugs` parameter, adding confusion rather than clarity.

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 ('Compare two to four car variants side by side') plus the exact contents of the result (review score, pros, cons, every spec row), which is well beyond a restatement of the name. It also implies the boundary against kn_specs_search by naming it as the required prior step. The only blemish is the reference to a `cars` field that does not exist in the schema, which slightly muddies what is being compared.

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?

Explicitly gives the triggering scenario ('Use for "A or B?"') and the prerequisite ('after kn_specs_search'), so an agent knows when this tool is the right pick. There is no explicit when-not or statement about what to do instead when more than four variants must be compared, so it stops short of full routing guidance.

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