Skip to main content
Glama
karnameh-mcp

karnameh-mcp

by sepehr071

Search car variants with specs

kn_specs_search
Read-onlyIdempotent

Search Karnameh's car specs catalog by brand, model, or variant to find the slug needed for specs lookup and comparison. Returns only variants that have available specs.

Instructions

Find car variants in Karnameh's specs catalog and return the slug that kn_specs and kn_compare_specs take.

Only results with variant: true have specs; otherwise search again with more words.

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": {
      "query": "<query>"
    },
    "name": "kn_specs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMatches to return.
queryYesBrand, model or variant, Persian or English, e.g. corolla.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • changedInput schema / properties / limit / description
      Previous value: -"How many matches to return (1-30)."New value: +"Matches to return."
    • changedInput schema / properties / query / description
      Previous value: -"Brand, model or variant name, Persian or English, e.g. 207, corolla, سمند."New value: +"Brand, model or variant, Persian or English, e.g. corolla."
  2. First observedv0.1.1

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description's job is to add domain behavior — and it does: only records with `variant: true` carry specs, and the recovery path is to broaden the query. What's missing is anything about result multiplicity/no-match behavior or how the slug flows into downstream calls.

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 output contract front-loaded and zero filler. The second sentence is slightly compressed to the point of ambiguity ('otherwise search again with more words' — otherwise meaning a non-variant result, not an empty result).

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 search with no output schema, the description supplies the essential missing piece — what is returned and the fact that only variant:true entries are usable. Only minor gaps remain around empty-result handling and the size/format of returned matches.

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% with both `query` and `limit` documented, so the schema does the heavy lifting and baseline is 3. The description adds only a weak hint that query strings may need to be broadened, without documenting format or matching semantics beyond the schema's example.

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?

States a specific verb and resource ('find car variants in Karnameh's specs catalog') and crucially states the output contract: it returns the `slug` consumed by kn_specs and kn_compare_specs. That distinguishes it cleanly from the sibling lookup tools.

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?

Implicitly positions the tool as the prerequisite step before kn_specs/kn_compare_specs, and gives an explicit retry rule ('search again with more words') plus the filter condition (variant: true). It does not say when to prefer this over sibling search-like tools such as kn_cars, but the usage context is clear enough to act on.

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