Skip to main content
Glama

Счётчики по фильтру

count

Calculate the number of ss.ge real estate listings matching a filter without fetching them. Validate search criteria and compare filter options.

Instructions

Считает результаты по фильтру, не выкачивая их — один дешёвый запрос. Годится, чтобы проверить осмысленность критериев и сравнить варианты фильтра. Возвращает два несовпадающих счётчика; сообщай их раздельно.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cityNoназвание или id города, напр. «Тбилиси» или 95Тбилиси
dealYesтип сделки
roomsNoчисло комнат, напр. [2,3]
estateNoтип недвижимостиflat
area_maxNoплощадь до, м²
area_minNoплощадь от, м²
currencyNoвалюта цены в фильтреUSD
featuresNoбулевы удобства: elevator, furniture, heating, balcony, garage, withImageOnly и др.
price_maxNoверхняя граница цены
price_minNoнижняя граница цены
price_per_m2Noцена задана за м², а не целиком
subdistrictsNoмикрорайоны или районы по названию/id. Название района раскрывается во все его микрорайоны — отдельного фильтра по району в API нет

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations, so the description carries the full burden. It usefully discloses that this is a single cheap request that does not fetch listings and that it returns two non-matching counters to be reported separately — non-obvious behavior. However it never explains why the two counters differ or what each represents, and says nothing about read-only nature, limits, or auth.

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?

Three tight sentences, front-loaded with what the tool does and the cheapness rationale, with no filler. The final sentence carries a critical, non-obvious output caveat rather than padding.

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?

With 12 parameters and no output schema, the description must carry return-value meaning, and it only partially does: it names 'two non-matching counters' without explaining what distinguishes them. Parameter meaning is fully covered by the schema, so the gap is confined to the ambiguous return semantics.

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% across 12 well-documented parameters, so the schema does the heavy lifting and the baseline is 3. The description adds no parameter-level meaning beyond the schema.

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 ('считает результаты по фильтру') and clarifies scope ('не выкачивая их'), which implicitly contrasts it with the download-heavy sibling 'search'. It does not name a sibling explicitly, so it stops short of 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 concrete when-to-use guidance: validating that criteria are meaningful and comparing filter variants. No explicit when-not-to-use or named alternative, but the use case is clear and actionable.

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

Deploy Server

Other Tools