Skip to main content
Glama

trazimstan.hr — nekretnine u Hrvatskoj

Cijene nekretnina na trazimstan.hr

get_price_stats

Vraća medijan cijene i cijenu po m² za vrstu nekretnine (opcionalno po gradu), izračunato iz AKTUALNIH oglasa na trazimstan.hr. Korisno npr. za "koliko košta zemljište u Istri" ili "cijene stanova u Zagrebu". VAŽNO: ovo je presjek ponude na trazimstan.hr, a ne službena tržišna statistika — uvijek navedi veličinu uzorka.

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

Input Schema

NameRequiredDescriptionDefault
cityNoGrad (opcionalno), npr. Zagreb
transactionTypeNoSALE
propertyCategoryNoVrsta nekretnineAPARTMENT

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / city / maxLength
      Added value: +100
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses provenance (computed from current listings), the interpretive limitation (supply snapshot, not official market data), and mandates reporting sample size, which implies that value is returned. It does not cover behavior for missing data, tiny samples, or whether the read is free of side effects.

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?

Three sentences, front-loaded with the returned metrics, then examples, then the caveat — each part earns its place. Slightly more compact phrasing of the examples could tighten it further, but nothing is redundant.

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?

Without an output schema, the description still conveys the key return values (median price, price per m²) and hints at sample size, which is enough for an agent to call and present results. The unmentioned transactionType dimension and undefined behavior for empty result sets are the remaining holes for a 3-parameter analytics tool.

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?

The description explains the property-type dimension and that city is optional filtering, matching the schema-documented parameters. However, transactionType (RENT/SALE, default SALE) is undocumented in both the schema and the description, so the text leaves an agent unaware that rental statistics are available at all — a real gap at 67% coverage.

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?

Names a specific computed output (median price and price per m²), the resource dimension (property type, optionally city), and the data source (current listings on trazimstan.hr). The aggregate-statistics nature clearly separates it from listing-level siblings like get_listing or search_listings, and two example queries pin the intent down.

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?

Concrete example questions ('how much does land cost in Istria', 'apartment prices in Zagreb') tell the agent exactly which user intents this tool serves, and the caveat about it being a supply snapshot rather than official statistics sets usage boundaries. It stops short of naming an alternative tool for individual listings or stating when not to call it.

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