Skip to main content
Glama

WhichPortal

Search merchants

search_merchants
Read-onlyIdempotent

Search for merchants that have live rates, by name or domain.

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_merchants"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results to return
queryYesSearch term (merchant name or domain)
countryNoMarket to compare: "US" (default, USD) or "UK" (GBP, points per £1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, open-world and non-destructive behavior, so the safety profile is covered. The description's one genuine addition is the 'live rates' filter, which tells the agent results are restricted to merchants currently offering rates. It says nothing about result ordering, pagination, or empty-result behavior.

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?

A single sentence with no filler, leading with the verb and resource and ending with the key scoping constraint. Nothing is redundant or buried.

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

Completeness3/5

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

For a simple three-parameter read tool with strong annotations and full schema coverage, the essentials are present. With no output schema, however, the description could say more about what a result contains (e.g. merchant identity and rate availability) and whether matching is exact or partial, which matters for an open-world search.

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 limit, query and country are already fully documented including the country enum and currency implications. The description only adds the 'name or domain' hint for the query parameter, which the schema already states, so it does not meaningfully exceed the schema baseline.

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?

States a specific verb and resource ("Search for merchants") plus the search fields ("by name or domain") and a scope qualifier ("that have live rates"). An agent can tell this is a lookup-by-name/domain tool, though it does not explicitly contrast with the sibling find_by_url, which handles URL-based lookup.

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 implied: use it when you have a merchant name or domain and want candidates that currently have live rates. However, there is no explicit guidance on when to prefer this over find_by_url or best_deal, and no statement about what to do when no merchants match.

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.