Skip to main content
Glama

Hitta bil efter behov

find_car
Read-onlyIdempotent

Ger en rangordnad shortlist av bilar utifrån behov (budget kr/mån, bagage, räckvidd, drivmedel, märken, mil/år) eller en namngiven modell (sok, t.ex. "Volvo XC40") med total månadskostnad, kostnadsuppdelning och länk per bil. Standardvärden om inget anges: privatleasing, 3 år, 1 500 mil/år – anropa direkt utan motfrågor och redovisa antagandena (fältet standardvarden) i svaret. Alla argument är valfria.

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": "find_car"
  }
}

Input Schema

NameRequiredDescriptionDefault
arNo
sokNoMärke/modell i fritext, t.ex. "XC40", "VW Golf", "Model 3"
limitNo
markenNo
milPerArNo
drivmedelNo
prioritetNo
anskaffningNo
minRackviddKmNo
budgetPerManadNo
minLastutrymmeLiterNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / sok
      Added value: +{
      +  "description": "Märke/modell i fritext, t.ex. \"XC40\", \"VW Golf\", \"Model 3\"",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/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, closed-world), so the description's added value is what it does around them: it discloses the default assumptions applied when inputs are omitted and names the response field (standardvarden) that must be echoed back. That is concrete behavioral context beyond the structured fields, though it says nothing about ranking mechanics or result limits.

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 dense sentences with no filler: the capability and output shape come first, followed by the defaults and the instruction to answer without clarifying questions. The first sentence is long and stacks several filters, but every clause carries 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 an 11-parameter tool with no output schema, the description covers the essentials an agent needs to call it: optionality, defaults, and what comes back. However, the semantics of prioritet, ar and limit are absent from both schema and description, and there is no hint of how many results a shortlist contains, leaving real gaps for a search tool of this breadth.

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 only 9% across 11 parameters, so the description has to carry meaning and partly does: it maps needs to budget per month, luggage volume, minimum range, fuel type, brands and miles per year, and explains sok as a free-text model search with an example. It leaves ar, limit, prioritet and (explicitly) anskaffning's non-default options unexplained, so the compensation is partial rather than complete.

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: it returns a ranked shortlist of cars either from stated needs (budget, luggage, range, fuel, brands, miles/year) or from a free-text model name, and enumerates what each result contains (total monthly cost, cost breakdown, link). It does not distinguish itself from the sibling compare_cars, which is the only thing keeping it from 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives strong operational guidance: all arguments are optional, sensible defaults apply (privatleasing, 3 years, 1 500 mil/year), and the agent is told to call directly without follow-up questions and surface the assumptions in the answer. It lacks explicit routing versus siblings such as compare_cars or total_cost, so there is no when-not-to-use clause.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources