Skip to main content
Glama

ScorpTech x402 Tools

Fuzzy Match

fuzzy_match
Read-onlyIdempotent

Fuzzy string matching for entity resolution, dedupe and "did you mean": match one or many queries against up to 5,000 choices with RapidFuzz-style scorers (WRatio weighted blend, ratio / InDel similarity, partial_ratio, token_sort, token_set, Jaro-Winkler, normalised Levenshtein, Damerau / OSA). Default preprocessing lowercases, folds accents and strips punctuation. Returns top matches with 0-100 scores and choice index, optional per-scorer breakdown. Offline, deterministic. Returns JSON with: scorer, choices, query, matches, best. Price: $0.002 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/fuzzy-match

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": {
      "choices": "<choices>"
    },
    "name": "fuzzy_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMatches per query
queryNoString to match
scorerNoSimilarity scorerwratio
choicesYesCandidate strings
detailsNoAdd every scorer for each match
queriesNoSeveral queries (batch)
normalizeNoLowercase, fold accents, strip punctuation first
thresholdNoMinimum score

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the bar is lower, yet the description still adds real value: offline and deterministic execution, the default preprocessing pipeline, and that matches carry 0-100 scores with an optional per-scorer breakdown. It also discloses the $0.002 USDC x402 cost and the HTTPS mirror, which no structured field conveys. The only wrinkle is 'Offline' sitting next to openWorldHint=true, which reads as the matching itself being local while payment/transport is networked - defensible, not a contradiction.

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?

Front-loads the purpose, then behavior, then return shape, then pricing - a sensible order with nearly every clause carrying information. It is dense rather than padded, though the trailing price and endpoint URL make the final sentence a grab-bag.

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?

For an 8-parameter tool with no output schema, the description covers input scale limits, default preprocessing, scorer choice, and enumerates the return keys (scorer, choices, query, matches, best). Minor gaps remain around threshold semantics and error behavior when no match clears the threshold, but nothing essential to a correct call is 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 a 3 is the floor, but the description goes beyond the enum by glossing the scorers ('WRatio weighted blend', 'token_sort', 'token_set', 'Jaro-Winkler', 'normalised Levenshtein', 'Damerau / OSA') and by explaining that normalization lowercases, folds accents and strips punctuation. That gives an agent enough to pick a scorer without external research.

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?

States a specific verb and resource ('Fuzzy string matching for entity resolution, dedupe and did-you-mean') plus the concrete scale (up to 5,000 choices) and the scorer family. An agent immediately knows this is a string-similarity tool, not a general search or math utility like the sibling set.

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?

Gives clear usage contexts (entity resolution, dedupe, 'did you mean') and describes single-query vs batch usage via 'one or many queries'. It stops short of explicit when-not-to-use conditions or naming an alternative, so it lands just below the top band.

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