Skip to main content
Glama
Swipe Smart MCP

Swipe Smart MCP

by afzalmukhtar

search_card_info

Finds credit card reward information from official documents, reviews, and community sources, then organizes results so reward rules and caps can be extracted for card selection.

Instructions

Searches the web for credit card reward information using targeted DuckDuckGo queries.
Focuses on official docs (MITC/KFS/T&Cs), reviewers, and community sources.

Args:
    card_name: The name of the credit card (e.g., "HDFC Regalia Gold", "SBI Cashback").
    bank: Optional bank name for targeted site: searches (e.g., "HDFC", "ICICI", "Axis").
    max_results: Maximum total results to return. Default 15.

Returns:
    dict with categorized search results (official_docs, rewards_math, caps, reviews, community).
    Use this information to extract reward rules for add_reward_rules().

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": {
      "card_name": "<card_name>"
    },
    "name": "search_card_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
bankNo
card_nameYes
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the search backend (DuckDuckGo), the source targeting strategy, and the categorized shape of the returned dict, which is valuable since there is no output schema. It says nothing about failure modes, rate limits, or result quality/relevance filtering.

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?

The purpose sentence is front-loaded and the Args/Returns sections are compact and scannable. The docstring framing is slightly formal but every line conveys usable information, with no filler.

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 annotations and no output schema, the description steps in to describe the return structure as a dict keyed by official_docs, rewards_math, caps, reviews, and community, which is exactly what an agent needs to parse results. Only error handling and query-construction details are missing.

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 0%, so the description must compensate and largely does: card_name is illustrated with concrete examples ('HDFC Regalia Gold', 'SBI Cashback'), bank is explained as optional input used for targeted site: searches, and max_results documents its default of 15. It adds real meaning beyond the bare JSON schema, though the interaction between bank and query construction could be spelled out more precisely.

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 gives a specific verb and resource ('Searches the web for credit card reward information') plus the mechanism ('targeted DuckDuckGo queries') and the source mix it targets. It is clearly narrower than a generic web search, though it never names a sibling like custom_web_search to draw the boundary explicitly.

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 states the downstream purpose plainly: 'Use this information to extract reward rules for add_reward_rules()', which tells the agent this is a precursor step in a workflow. It also names the kinds of sources targeted (official docs, reviewers, community). It stops short of saying when NOT to use it or which sibling to prefer for other searches.

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