Skip to main content
Glama

Search games

search_games
Read-only

Search games by title and return each match's lowest listed price per platform, plus the franchises and publishers whose names match. Use it when the reader names a game, series or publisher, or to get the slug that get_game_offers needs; for open requests by genre, platform or budget use find_games, and for what is on sale use list_deals. query is matched against titles, typo-tolerant: titles starting with it first, then titles containing it, then the closest. Only priced games are returned, and no match gives empty lists, not an error. Links go through getcheapgames.com and carry the stores' partner tracking; listed prices exclude the service fee marketplaces add at checkout.

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": {
      "query": "<query>"
    },
    "name": "search_games"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoGames to return, 1-50. Defaults to 10.
queryYesA game title or part of one, e.g. "Elden Ring" or "cod"; also matched against franchise and publisher names.
countryNoTwo-letter market code, any case, e.g. de, gb, us, br or pl (43 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro).

Output Schema

NameRequiredDescriptionDefault
queryNo
marketNo
resultsYes
franchisesNo
publishersNo
resultCountNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter market code, any case, e.g. de, gb, us, br or pl (42 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro)."New value: +"Two-letter market code, any case, e.g. de, gb, us, br or pl (43 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro)."
  2. Changed7 schema fields changed
    • changedOutput schema / properties / results / items / properties / bestListedPrice / description
      Previous value: -"The cheapest in-stock price of a key that activates in the market."New value: +"The lowest listed price of an in-stock key that activates in the market; null for a free game, or when no such key is in stock."
    • changedOutput schema / properties / results / items / properties / bestMayNotActivateHere / description
      Previous value: -"True when every key is region-locked for the market, so bestListedPrice is a locked key's."New value: +"True when keys are in stock but none is confirmed to activate in the market, so there is no bestListedPrice; never true beside a price."
    • changedOutput schema / properties / results / items / properties / buyUrl / description
      Previous value: -"Redirect through getcheapgames.com to the cheapest in-stock key."New value: +"Redirect through getcheapgames.com to the lowest-priced in-stock key that activates in the market; null when there is none."
    • addedOutput schema / properties / results / items / properties / eligibleOfferCount
      Added value: +{
      +  "description": "In-stock keys that activate in the market, in `currency`: the offers bestListedPrice is the lowest of, the count the game's page states.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / results / items / properties / eligibleStoreCount
      Added value: +{
      +  "description": "Distinct stores among those eligible offers, as the page counts them.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / results / items / properties / offerCount / description
      Added value: +"Every listing tracked for the game, in any stock, region or currency. Not the set bestListedPrice is the lowest of: see eligibleOfferCount."
    • addedOutput schema / properties / results / items / properties / priceNote
      Added value: +{
      +  "description": "Why there is no bestListedPrice, when there is none.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed1 schema field changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter market code, any case, e.g. de, gb, us, br or pl (40 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro)."New value: +"Two-letter market code, any case, e.g. de, gb, us, br or pl (42 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro)."
  4. Changed2 schema fields changed
    • changedOutput schema / properties / results / items / properties / bestListedPrice / description
      Previous value: -"The cheapest in-stock listed price."New value: +"The cheapest in-stock price of a key that activates in the market."
    • addedOutput schema / properties / results / items / properties / bestMayNotActivateHere
      Added value: +{
      +  "description": "True when every key is region-locked for the market, so bestListedPrice is a locked key's.",
      +  "type": [
      +    "boolean",
      +    "null"
      +  ]
      +}
  5. Changed4 schema fields changed
    • changedInput schema / properties / country / description
      Previous value: -"Two-letter market code, e.g. de, gb, us, br. Decides the currency, which keys count as region-locked and the market every link points into. Defaults to ie (euro)."New value: +"Two-letter market code, any case, e.g. de, gb, us, br or pl (40 markets). It decides the currency prices come back in, which keys count as region-locked, and the market every link opens in. Omitted or unsupported codes fall back to ie (Ireland, euro)."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum games to return. Defaults to 10."New value: +"Games to return, 1-50. Defaults to 10."
    • changedInput schema / properties / query / description
      Previous value: -"Title, publisher or genre, e.g. \"Elden Ring\"."New value: +"A game title or part of one, e.g. \"Elden Ring\" or \"cod\"; also matched against franchise and publisher names."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "franchises": {
      +      "items": {
      +        "properties": {
      +          "games": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "pageUrl": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "market": {
      +      "type": "string"
      +    },
      +    "publishers": {
      +      "items": {
      +        "properties": {
      +          "games": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "pageUrl": {
      +            "type": "string"
      +          },
      +          "slug": {
      +            "type": "string"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "query": {
      +      "type": "string"
      +    },
      +    "resultCount": {
      +      "type": "integer"
      +    },
      +    "results": {
      +      "items": {
      +        "properties": {
      +          "bestListedPrice": {
      +            "description": "The cheapest in-stock listed price.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "buyUrl": {
      +            "description": "Redirect through getcheapgames.com to the cheapest in-stock key.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "genres": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "imageUrl": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "isAtThirtyDayLow": {
      +            "type": [
      +              "boolean",
      +              "null"
      +            ]
      +          },
      +          "offerCount": {
      +            "type": "integer"
      +          },
      +          "pageUrl": {
      +            "description": "Its price comparison page.",
      +            "type": "string"
      +          },
      +          "pricesByPlatform": {
      +            "additionalProperties": {
      +              "type": "string"
      +            },
      +            "description": "Lowest price per platform, e.g. {\"PC\": \"19.99 EUR\"}.",
      +            "type": "object"
      +          },
      +          "publisher": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "releaseYear": {
      +            "type": [
      +              "integer",
      +              "null"
      +            ]
      +          },
      +          "savingVsDearest": {
      +            "description": "Saving against the regular price.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "slug": {
      +            "description": "The game's id, for its offers.",
      +            "type": "string"
      +          },
      +          "thirtyDayLow": {
      +            "description": "A decimal amount such as 19.99, in the game's `currency`.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "title": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "slug",
      +          "title",
      +          "pageUrl",
      +          "currency",
      +          "pricesByPlatform"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "results"
      +  ],
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover safety (readOnly, openWorld, non-destructive), and the description adds substantial behavior beyond them: typo-tolerant matching with a stated ranking order (prefix, then contains, then closest), only priced games returned, and empty lists rather than an error on no match. It also discloses affiliate link routing through getcheapgames.com and that listed prices exclude marketplace checkout fees, which is exactly the kind of caveat an agent needs to relay accurately.

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?

It is a single dense paragraph with zero filler sentences and the primary purpose is front-loaded ahead of the alternatives and caveats. It is on the long side and could break more cleanly into usage/matching/caveat sentences, but every sentence carries load.

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?

With an output schema present, return structure needn't be described, and the description still covers the edge case that matters (no match yields empty lists, not an error) plus the pricing and link caveats. For a 3-parameter read tool this leaves nothing an agent needs 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 100%, so the baseline is 3, but the description adds real meaning for `query` beyond the schema: typo tolerance and the ordered fallback ranking (prefix first, then contains, then closest), plus that it is also matched against franchise and publisher names. `limit` and `country` are left to their schema text, which already covers defaults and the ie fallback.

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 opening clause names a specific verb and resource ("Search games by title") and immediately scopes the return value to lowest listed price per platform plus matching franchises and publishers. It is clearly differentiated from find_games, list_deals and get_game_offers by name, so an agent can pick it 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 Guidelines5/5

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

Explicit when-to-use is given ("when the reader names a game, series or publisher, or to get the `slug` that get_game_offers needs") and explicit exclusions route elsewhere: open requests by genre/platform/budget to find_games, sale browsing to list_deals. Both the positive trigger and the alternatives are stated.

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.