Skip to main content
Glama

WhichPortal

Find by URL

find_by_url
Read-onlyIdempotent

Find rates for a merchant by their website URL.

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": {
      "url": "<url>"
    },
    "name": "find_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe merchant website URL (e.g., "https://www.nike.com" or "amazon.com")
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?

The annotations already declare the full safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), so the description's burden is lower. It correctly frames the call as a read-style merchant lookup, but adds nothing about behavior for unrecognized URLs (error vs. empty result), how many portals/rates come back, or whether the lookup is exact-match or fuzzy on domains.

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 tightly written sentence with the outcome ('rates for a merchant') front-loaded and the keying constraint ('by their website URL') following immediately. Nothing is redundant and nothing needs reordering.

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 two-parameter read tool this is close to adequate, and the annotations cover safety. However, with no output schema, the description leaves the return shape entirely undefined — what 'rates' means (per-portal rates, cashback, points) and how they are structured is left to guesswork.

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 description coverage is 100%, and the schema already explains both the URL format (with examples) and the country market enum including currency implications. The description adds no meaning beyond that — it merely echoes that the lookup is keyed on the merchant's site — so the baseline of 3 applies.

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 states a specific verb and resource ('Find rates for a merchant') plus the keying mechanism ('by their website URL'), which is enough to distinguish it from lookups keyed on merchant name or deals listings. It stops short of naming a sibling such as search_merchants, so differentiation is inferred rather than declared.

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 gathers that this is the right tool when it already holds a URL rather than a merchant name. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative lookup path, and no mention of what happens if the URL is unknown to the catalog.

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.