Skip to main content
Glama

Save a hunt alert

save_hunt_alert
DestructiveIdempotent

Saves a hunt alert for this query after the seeker agrees to share their email with partners whose listings match, and emails them when a home matches. Requires consent true. Does not accept a phone number. A phone is shared later only on the website, and only with the partner whose property the seeker shortlists. Creates a seeker account when the email is new. An email that already has an account is not attached from this tool; the hunt stays pending until that person confirms it. Verify your phone so matching partners can reach you.

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": {
      "consent": "<consent>",
      "email": "<email>",
      "city": "<city>"
    },
    "name": "save_hunt_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity slug
nameNoSeeker display name
emailYesEmail the seeker agreed to share
mealsNoPG meal slots required when meals are included.
suitsNoPG suits: working professionals or students.
genderNoPG gender filter.
has_acNoTrue only when AC is required. Omit or false means not required, not excluded.
statusNoHousehold: Single, Couple, or Family (values single, partner, or family). single matches Everyone and Singles only. partner is Couple and matches Everyone and Couples. family matches Everyone and Families only.
consentYesTrue only when the seeker has explicitly agreed, for this query, to share this email with partners whose listings match. This is not consent to share a phone number.
sharingNoPG sharing types (multi-select).
area_minNoOptional minimum apartment size. Pair with area_unit. Omit for any size.
currencyNoBudget currency for price_max. Defaults to the city's local currency. USD rates are the live cached interbank quote. Saved alerts store the USD equivalent.
has_liftNoTrue only when a lift or elevator is required. Omit or false means not required, not excluded.
has_petsNoTrue when the seeker has pets. Excludes homes that explicitly disallow pets. Unknown pet policy still appears as ask about pets.
localityNoExact area inside the city, such as Baner or Kharadi. A Baner search does not return Hinjewadi.
rent_maxNoPG max rent per bed per month (INR).
rent_minNoPG min rent per bed per month (INR).
amenitiesNoPG property amenities (all required must be present on the listing).
area_unitNoUnit for area_min. Use sqft in Pune and sqm in other cities. Defaults from the city when area_min is set and this is omitted.
furnishedNoSet true only when the seeker explicitly asks for furnished. Omit for any furnishing.
hunt_nameNoOptional label for the saved hunt
no_curfewNoTrue when the seeker needs no gate curfew. Omit or false means not required, not excluded.
price_maxNoMax monthly rent in `currency` units. Defaults to the city's local currency (Pune INR, Dubai/Sharjah AED, Bangkok/Phuket THB, Vietnam VND). Example: 30000 INR, 4000 AED.
lock_in_maxNoMax lock-in months the seeker will accept
stay_nightsNoDesired stay length in nights (7=1 week … 330=11 months, 365=12 months). 11 months is offered everywhere; it is the standard residential lease in India.
available_byNoMove-in by date, YYYY-MM-DD
bedrooms_minNo
near_transitNoTrue only when near transit is required. Omit or false means not required, not excluded.
pet_friendlyNoTrue only when pets are required. Omit or false means not required, not excluded.
rent_bracketNoPG rent brackets (multi-select, INR per bed).
accommodationNoLegacy stay type after city. Prefer property_type. pg starts the PG filter path (no bedroom/BHK filters). whole_home is a standard apartment hunt. Omit for any category.
attached_bathNoTrue only when an attached bath is required. Omit or false means not required, not excluded.
property_typeNoApartment vs PG / co-living after city. When pg, use sharing, gender, rent_min/rent_max per bed, meals_included, attached_bath, ac, suits, amenities — not bedrooms_min.
meals_includedNoPG meals included in rent.
near_coworkingNoTrue only when near coworking is required. Omit or false means not required, not excluded.
deposit_months_maxNoMax security deposit in months of rent

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • addedInput schema / properties / accommodation
      Added value: +{
      +  "description": "Legacy stay type after city. Prefer property_type. pg starts the PG filter path (no bedroom/BHK filters). whole_home is a standard apartment hunt. Omit for any category.",
      +  "enum": [
      +    "pg",
      +    "whole_home"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / amenities
      Added value: +{
      +  "description": "PG property amenities (all required must be present on the listing).",
      +  "items": {
      +    "enum": [
      +      "wifi",
      +      "housekeeping",
      +      "laundry",
      +      "power_backup",
      +      "parking",
      +      "gym"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / gender
      Added value: +{
      +  "description": "PG gender filter.",
      +  "enum": [
      +    "boys",
      +    "girls",
      +    "coed"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / meals
      Added value: +{
      +  "description": "PG meal slots required when meals are included.",
      +  "items": {
      +    "enum": [
      +      "breakfast",
      +      "lunch",
      +      "dinner"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / meals_included
      Added value: +{
      +  "description": "PG meals included in rent.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / property_type
      Added value: +{
      +  "description": "Apartment vs PG / co-living after city. When pg, use sharing, gender, rent_min/rent_max per bed, meals_included, attached_bath, ac, suits, amenities — not bedrooms_min.",
      +  "enum": [
      +    "apartment",
      +    "pg"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / rent_bracket
      Added value: +{
      +  "description": "PG rent brackets (multi-select, INR per bed).",
      +  "items": {
      +    "enum": [
      +      "under_6k",
      +      "6_9k",
      +      "9_12k",
      +      "12_16k",
      +      "16_20k",
      +      "20k_plus"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / rent_max
      Added value: +{
      +  "description": "PG max rent per bed per month (INR).",
      +  "maximum": 500000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / rent_min
      Added value: +{
      +  "description": "PG min rent per bed per month (INR).",
      +  "maximum": 500000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / sharing
      Added value: +{
      +  "description": "PG sharing types (multi-select).",
      +  "items": {
      +    "enum": [
      +      "private",
      +      "twin",
      +      "triple",
      +      "4plus"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / suits
      Added value: +{
      +  "description": "PG suits: working professionals or students.",
      +  "enum": [
      +    "professional",
      +    "student"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond annotations, the description discloses consent requirements, that phone numbers are not accepted by this tool, that phone sharing happens later on the website, that a seeker account is created for a new email, and that an existing email is left pending until confirmation. It does not explain the destructiveHint=true or idempotentHint=true implications, but it adds substantial behavioral context.

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?

The description is front-loaded with the core action and consent condition, and most sentences carry relevant business rules. The final phone-verification sentence feels tangential, and the consent/email point is repeated, keeping it short of ideal concision.

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 a complex 36-parameter mutation with rich schema coverage, the description covers key consent, account-creation, and phone-sharing behavior. It still leaves notable gaps: it does not explain the destructive annotation, the return behavior with no output schema, or how this differs from save_pg_alert.

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 97%, so the schema already documents nearly all 36 parameters in detail. The description adds only high-level constraints around consent and email sharing, largely restating schema semantics, so it does not materially extend parameter meaning.

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?

The description states a specific verb and resource: it 'Saves a hunt alert for this query' and explains that the seeker consents to share email and will be emailed on matches. This is clear purpose, but it does not explicitly distinguish this tool from the sibling save_pg_alert, which overlaps in the alert-saving domain.

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

Usage Guidelines3/5

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

It gives a prerequisite ('Requires consent true') and an exclusion ('Does not accept a phone number'), plus the existing-email pending case, so usage is implied. However, it never explicitly says when to use this tool instead of save_pg_alert, search_rentals, or search_pg, leaving sibling selection to inference.

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