Skip to main content
Glama

AnyBanQ — Sri Lankan banking products and card offers

Card offer details

get_offer
Read-onlyIdempotent

Full details of one card offer running in Sri Lanka, as anybanq.lk lists it: the discount and its terms, every merchant, dates, and which of the bank's credit and debit cards qualify, with their anybanq.lk pages.

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": {
      "id": "<id>"
    },
    "name": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesOffer id: the number in the offer's anybanq.lk URL (/offers/<id>-…), as returned by search_offers or offers_near

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld=false, so the safety profile is covered. The description still adds real value beyond them by disclosing the data source ('as anybanq.lk lists it') and enumerating exactly what is returned — discount terms, every merchant, dates, qualifying credit/debit cards and their pages — which compensates for the absent output schema.

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?

One front-loaded sentence with a colon-delimited payload list; the scope statement comes first and every clause carries information an agent needs. Nothing is redundant or padded.

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?

For a simple single-parameter lookup with no output schema, the description does the heavy lifting by listing the returned fields and pinning the data source. It stops short of stating error behavior for an unknown/expired offer id or whether merchant lists can be truncated, but nothing essential to calling it correctly is missing.

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?

With a single parameter at 100% schema coverage, the schema already explains the id format and its origin from search_offers/offers_near. The description adds no further meaning about the parameter, so the baseline 3 applies.

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?

Names the exact resource and scope: 'Full details of one card offer running in Sri Lanka, as anybanq.lk lists it.' The singular 'one card offer' plus the enumeration of contents (discount terms, merchants, dates, qualifying cards) makes it immediately distinguishable from a search/list tool such as search_offers or offers_near.

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 is only implied: an agent can infer this is the follow-up call once it has an offer id from search_offers or offers_near (the id-provenance note lives in the schema, not the description). There is no explicit when-to-use/when-not-to-use statement and no alternative named, so the routing logic must be inferred.

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