Skip to main content
Glama
Crawlora MCP

Crawlora MCP

Official

fresha_search_count

Count Fresha venues matching search filters without fetching venue results, enabling market sizing and territory analysis from clean counts.

Instructions

Count Fresha venues matching a search filter set. Returns the number of Fresha (fresha.com) venues that match one search filter set, without fetching any venue: the gateway's own count field, which equals fresha-search-venues' count for the same filters (verified on every filter). Use it for market sizing and territory analysis at a fraction of a search page's cost. The filters are the same as fresha-search-venues: a latitude/longitude pair (with neither, the gateway uses its own default centre and the response reports the centre it used), query, min_price, max_price, distance_max_km (greater than 0 and at most 1000), service_gender (one or more of EVERYONE, MALE, FEMALE, comma-separated), awards (one or more of BEST_IN_CLASS, HIGHLY_RECOMMENDED, comma-separated), verified_only, has_deals, has_group_appointments, the availability window (availability_date YYYY-MM-DD, availability_start_time_from and availability_start_time_to as 24-hour HH:MM, availability_time_zone as an IANA zone) and the three treatment ids from fresha-taxonomy. count_formatted is the gateway's display string (for example 5.9K+). A zero count is an honest answer for a valid filter set; an unknown time zone is a 400.

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

Input Schema

NameRequiredDescriptionDefault
queryNoFree-text query matched by Fresha's venue search
awardsNoFresha award filter; one or more of BEST_IN_CLASS, HIGHLY_RECOMMENDED, comma-separated
latitudeNoLatitude of the search centre; supply with longitude
has_dealsNoCount only venues advertising deals
longitudeNoLongitude of the search centre; supply with latitude
max_priceNoMaximum service price in the market's own currency
min_priceNoMinimum service price in the market's own currency
verified_onlyNoCount only Fresha-verified venues
service_genderNoVenue gender focus; one or more of EVERYONE, MALE, FEMALE, comma-separated
distance_max_kmNoMaximum distance from the centre in km, greater than 0 and at most 1000
treatment_tag_idNoTaxonomy tag id from fresha-taxonomy, e.g. tag:haircut
availability_dateNoCount only venues with an open slot on this date, YYYY-MM-DD
treatment_type_idNoTaxonomy treatment id from fresha-taxonomy, e.g. treatment:nails/wedding-nails
treatment_category_idNoTaxonomy category id from fresha-taxonomy, e.g. category:nails
availability_time_zoneNoIANA time zone for the availability window
has_group_appointmentsNoCount only venues accepting group appointments
availability_start_time_toNoLatest appointment start time, 24-hour HH:MM
availability_start_time_fromNoEarliest appointment start time, 24-hour HH:MM

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.17.28

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so well: it discloses that no venues are fetched, that the count equals fresha-search-venues' count for the same filters, that a default centre may be used and reported, that count_formatted is a display string, that zero is an honest valid result, and that an unknown time zone yields a 400. These are exactly the operational details an agent needs.

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

Conciseness3/5

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

The description is front-loaded with a clear purpose sentence, but it becomes verbose by listing all 18 filters in prose, largely duplicating the schema. While the detail is relevant for a complex tool, several sentences repeat structured fields rather than adding new meaning, so it is adequate but not maximally concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (18 parameters, no output schema, no annotations), the description is highly complete: it explains the return values (count and count_formatted), error behavior, default-centre handling, filter constraints, and the cost advantage over a full search. Nothing material is missing for an agent to call it correctly.

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%, so the baseline is 3. The description does add some meaning beyond the schema—such as the default-centre behavior when latitude/longitude are omitted and the relationship of filters to fresha-search-venues—but it mostly re-enumerates parameter constraints and valid values already documented in the schema, so it does not substantially exceed the baseline.

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?

The description states a specific verb and resource ('Count Fresha venues matching a search filter set') and explicitly distinguishes this tool from its sibling fresha-search-venues by noting it returns only the count without fetching any venue. An agent can immediately tell what the tool does and how it differs from the search endpoint.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

It gives explicit usage context: 'Use it for market sizing and territory analysis at a fraction of a search page's cost.' It also names the alternative (fresha-search-venues) and explains the cost/response difference, leaving no ambiguity about when to choose this tool.

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