Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Card offers near a place

offers_near
Read-onlyIdempotent

Card offers and discounts in or near a town or Colombo area in Sri Lanka, such as Kandy, Galle, Negombo, Kollupitiya or Colombo 7, from every bank on anybanq.lk. Give a place name, or a latitude and longitude in Sri Lanka. Returns the offers in that place, then the nearest ones around it with their distance, and nearby towns with offers.

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude, with lon, when the person shares their location
lonNoLongitude, with lat
bankNoBank that issued the card, e.g. 'HNB'
limitNoHow many offers to return (1-20)
placeNoTown or Colombo area, e.g. 'Kandy', 'Kollupitiya', 'Colombo 3', 'Nuwara Eliya'
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)

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 establish readOnly, idempotent, non-destructive, closed-world behavior, so the description's added value is the result shape: offers in the place first, then nearest offers with distance, then nearby towns with offers. That ordering and distance payload is genuinely useful information not present in any annotation. It does not discuss the limit parameter's effect on those three result tiers, which is a minor omission.

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?

Three sentences, front-loaded with the resource and location scope, then the input instruction, then the return structure. The 'from every bank on anybanq.lk' clause is slightly promotional but conveys coverage breadth. No significant padding.

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

Completeness4/5

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

With no output schema, the description carries the return-value burden and does so by describing the ordered tiers of results. For a six-parameter, all-optional read tool this is nearly complete; the only unaddressed case is the fallback when neither place nor coordinates are given.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents place, lat, lon, bank, category, and limit with examples. The description still adds the either/or semantics — place name OR lat/lon pair — which resolves the ambiguity created by all six parameters being optional. It does not clarify what happens when neither is supplied, leaving one gap.

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 — card offers and discounts in or near a named place or Colombo area in Sri Lanka — and scopes it to 'every bank on anybanq.lk'. It is clearly a geographic offer lookup, but it never explicitly contrasts itself with siblings like search_offers or get_offer, so an agent must infer the boundary.

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 input guidance — 'Give a place name, or a latitude and longitude in Sri Lanka' — which tells the agent how to invoke it. It stops short of saying when to prefer this over search_offers or get_offer, so the when-to-use condition is only implied by the 'near a place' framing.

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