Skip to main content
Glama

ikman_search_ads

Search classified ads on ikman.lk with category, location, price, and condition filters, then sort by price ascending, price descending, or recency while filtering out Rs. 0/1 spam prices.

Instructions

Search classified ads on ikman.lk with filters and true price sorting (cheapest/expensive/newest). Automatically filters out Rs. 0/1 spam prices.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for pagination (starts at 1)
queryNoSearch keyword (e.g. "iPhone 15", "Toyota Prius")
sortByNoSort criterion. "cheapest" activates real low-to-high price ordering.
categoryNoCategory slug (e.g. "mobile-phones", "cars", "electronics", "house-for-sale")
locationNoLocation slug (e.g. "colombo", "kandy", "gampaha", "sri-lanka")
maxPriceNoMaximum price filter in LKR
minPriceNoMinimum price filter in LKR
cleanSpamNoFilter out fake/dummy Rs. 0 or Rs. 1 spam prices when sorting by cheapest (default: true)
conditionNoCondition of the item

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose two non-obvious traits: automatic removal of Rs. 0/1 spam prices and 'true' price ordering that differs from naive sorting. However, it says nothing about result shape, how many ads per page, whether pagination terminates, or whether any auth/rate limits apply, leaving meaningful behavioral gaps for a 9-parameter search tool.

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?

Two tight sentences, both front-loaded: the capability first, then the notable spam-filter behavior. No filler, no redundancy, and the distinguishing quirk is not buried.

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 9-parameter, zero-annotation, no-output-schema tool, the description covers the search intent and two behavioral quirks but omits the return shape and pagination semantics, which the agent must guess. It is adequate to invoke the tool but not complete enough to set expectations about results.

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 all nine parameters are already documented in detail, including the enum for sortBy and the spam-clean default; the baseline of 3 applies. The description's mention of cheapest/expensive/newest and spam filtering largely restates what the schema already says rather than adding new syntax, defaults, or interactions between parameters.

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 ('Search classified ads on ikman.lk') plus the standout capability (filters and true price sorting), so an agent can tell this apart from the detail/lookup siblings such as ikman_get_ad_details or ikman_list_categories without opening the schema. It stops short of naming a sibling or explicit boundary, which keeps it at 4 rather than 5.

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?

Usage context is implied (use this when you want filtered keyword search over listings), and the spam-filtering note hints at a default the agent should be aware of. There is no explicit when-to-use/when-not-to-use guidance, no mention of when to prefer the details or category/location lookup siblings, and no note on what to do when results are empty.

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