Skip to main content
Glama

Card Campaigns & Deals: List card campaigns

deals_listCampaigns
Read-onlyIdempotent

List card campaigns

The current campaigns of Turkish credit-card programs — Wings, World, Bonus, Maximum and Axess — read daily from the programs' public campaign pages: installment offers, discounts, points (chip-para, Bonus, Worldpuan, MaxiPuan, miles) and prize draws, with the merchant, dates, amounts parsed from the headline, our sector tags and audience segments (student, traveler, driver, homemaker, …). Filter by card, sector, segment, reward, brand, a text search q (Turkish letters optional), and ending_within days; status=ended lists what ended in the last week. Soonest to end first. Use when the user asks what campaigns, discounts, installment offers or points their card has, for a shop or brand, for a kind of spending (market, fuel, travel, clothing), or for a kind of person; link the url for the terms — the program's page is authoritative.

GET /v1/deals/campaigns on Card Campaigns & Deals (SBX-FIRSAT). Costs 1 credit per call.

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

Input Schema

NameRequiredDescriptionDefault
qNoWords to find at the start of words of the title, brand or summary; Turkish letters optional: `market`, `akaryakit`, `trendyol`.
cardNoComma-separated card program ids from /deals/cards, e.g. bonus,axess.
brandNoA merchant name as it appears in `brand`, e.g. Trendyol (case-insensitive).
limitNoItems per page, 1–200.
cursorNoThe `next_cursor` of the previous page, with the same filters.
rewardNoComma-separated reward types (any of): installment, discount, points, draw, other.
sectorNoComma-separated sector ids from /deals/sectors (any of), e.g. grocery,dining.
statusNo`active` (default), `ended` (ended within the last 7 days) or `all`.active
segmentNoComma-separated segment ids from /deals/segments (any of), e.g. student,traveler.
ending_withinNoOnly active campaigns ending within this many days (1–60), soonest first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, and the description still adds substantial behavior: the data provenance (read daily from public campaign pages), default ordering (soonest to end first), the meaning of `status=ended` (last week), and an explicit cost of 1 credit per call. The credit cost and freshness cadence are exactly the operational facts annotations cannot convey.

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?

Purpose is front-loaded in the first four words and the rest is dense with useful facts, but the single paragraph is long and carries some low-yield enumeration (naming Wings, World, Bonus, Maximum, Axess and the individual point currencies). It also repeats the filter list already present in the schema, though nothing is genuinely misleading or padding-only.

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 a 10-parameter list tool with no output schema, the description covers what matters: what entity is returned, which facets accompany each item, sort order, status semantics, cost, and where the authoritative source lives. Pagination and limits are handled by the schema, so nothing an agent needs in order to call 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?

Schema coverage is 100%, so every parameter is already documented, and the description mostly re-enumerates the same filter names (`card`, `sector`, `segment`, `reward`, `brand`, `q`, `ending_within`, `status`). It hints that Turkish letters are optional and that filters combine, but adds no syntax, precedence, or default-ordering detail beyond what the schema states. Baseline 3 is the right landing point.

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?

The description opens with a specific verb and resource ('List card campaigns') and immediately narrows the scope: Turkish credit-card program campaigns scraped daily from public pages covering installments, discounts, points and draws. It also enumerates the returned facets (merchant, dates, amounts, sector tags, audience segments), so an agent can distinguish it from deals_getCampaign (single campaign) without opening a schema.

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

Usage Guidelines4/5

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

It gives explicit when-to-use guidance with four concrete trigger categories: the user's own card, a shop or brand, a kind of spending, or a kind of person. It also advises linking the `url` because the program's page is authoritative. It stops short of naming when NOT to use it or pointing to deals_getCampaign for detail views, so it is strong but not complete routing guidance.

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