Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Search card offers

search_offers
Read-onlyIdempotent

Search the card offers and discounts running today at shops, restaurants, hotels and online stores in Sri Lanka, from every bank on anybanq.lk. Ask in plain words (query 'shoes', 'dinner in Kandy', 'Keells', 'laptop online with Visa', 'black friday') and narrow by bank, category, card network, credit or debit, online, town or season. Results are ranked by how well they match, then by discount, with each offer's discount, bank, the cards it is for, end date and anybanq.lk page.

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

Input Schema

NameRequiredDescriptionDefault
bankNoBank that issued the card, e.g. 'HNB', 'Commercial Bank', 'Sampath'
sortNorelevance = best match first (biggest discount first without a query)relevance
limitNoHow many offers to return (1-20)
placeNoTown or Colombo area in Sri Lanka, e.g. 'Kandy', 'Kollupitiya', 'Colombo 7'
queryNoWhat the person wants, in their words: a thing to buy, a shop or brand, a place, e.g. 'shoes', 'buffet', 'Odel', 'hotel in Ella'
onlineNotrue = only offers for shopping online
seasonNoblack-friday = usable over the Black Friday weekend to Cyber Monday; christmas = the banks' Christmas promotions
networkNoCard network the person pays with
cardTypeNoCredit or debit card
categoryNoOffer category: dining (Dining), cafes-restaurants (Cafés & Restaurants), supermarkets (Supermarkets), hotels-leisure (Hotels & Leisure), travel (Travel), fashion (Fashion), home-lifestyle (Home & Lifestyle), online-shopping (Online Shopping), electronics (Electronics), health-wellness (Health & Wellness), beauty-salons (Beauty & Salons), jewellery (Jewellery), automobile (Automobile), education (Education), seasonal (Seasonal), e-wallets (E-Wallets), other (Other)
minDiscountPctNoOnly offers of at least this percentage off

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely new behaviour: ranking is by match quality then discount, and the default relevance sort flips to 'biggest discount first' when no query is supplied — a non-obvious trait worth having. It also discloses the returned fields, which no output schema provides.

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?

Front-loaded with the core action and scope, and the second sentence efficiently covers query style, narrowing facets and result composition. Dense but readable; the long example list and facet enumeration could be slightly trimmed without losing meaning.

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?

For an 11-parameter, no-output-schema search tool this is complete: scope, input style, facet list, ranking logic, sort default behaviour and the shape of each result (discount, bank, eligible cards, end date, page). An agent can call it correctly and describe the response without further documentation.

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 coverage is 100% and every one of the 11 parameters already has a description, so the schema does the heavy lifting. The description adds useful framing for `query` (free-text, in the user's own words, with sample phrasings) and groups the narrowing facets, but it adds no syntax or format detail beyond what the schema states.

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+resource ("Search the card offers and discounts") with clear scope: live today, Sri Lanka, shops/restaurants/hotels/online, every bank on anybanq.lk. An agent immediately knows this is the broad offers search, though it never names the neighbouring narrowed lookups (offers_near, get_offer) that could be confused with it.

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?

Gives strong in-the-moment usage advice: call it with plain-language queries and view the worked examples ('shoes', 'dinner in Kandy', 'black friday'), then narrow with facets. However it never states when NOT to use it or which sibling to pick when the user wants a single offer or offers near a location, so the alternative-selection guidance is only implied.

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