Skip to main content
Glama

FMF Tools Dev Utils

text_similarity

String similarity (Levenshtein, Jaro-Winkler, Soundex) ($0.001 per call, paid via MPP on Tempo). Compare a string to up to 500 candidates: Levenshtein distance and ratio, Jaro-Winkler, token-set overlap, Soundex match; ranked best-first. For fuzzy matching names, dedupe and record linkage. Duo Data charges $0.05. HTTP POST https://mpp-utils.fmf-x402.workers.dev/text/similarity. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.

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": {
      "a": "<a>"
    },
    "name": "text_similarity"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bNo
candidatesNo
case_sensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses per-call cost ($0.001), the payment mechanism (MPP on Tempo), that this wrapper does not settle payment and requires an MPP Payment Authorization header, the HTTP route, and that results are ranked best-first with a 500-candidate cap. What's missing is error/failure behavior and what happens when payment authorization is absent or invalid.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is well front-loaded, but the middle is cluttered: pricing is stated twice ($0.001 per call, then "Duo Data charges $0.05") and the latter line is ambiguous noise, while transport and payment mechanics consume space that could have gone to parameter behavior.

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?

There is no output schema and no annotations, and for a 4-parameter tool the description adequately covers return content (Levenshtein distance and ratio, Jaro-Winkler, token-set overlap, Soundex match, ranked best-first) but leaves the a/b/candidates interaction and case_sensitive behavior unresolved, which are exactly the decisions an agent must make before calling.

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 0%, so the description must compensate, and it only partly does: it clarifies that `candidates` is a list capped at 500 and implies `a` is the reference string. It never explains the role of `b` versus `candidates` (two-string mode vs batch mode) or what `case_sensitive` does or defaults to, leaving two of four parameters semantically opaque.

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 description opens with a specific verb+resource ("String similarity") and enumerates the concrete algorithms (Levenshtein, Jaro-Winkler, Soundex) plus the exact operation shape ("compare a string to up to 500 candidates"). An agent can immediately distinguish this from siblings like text_slug or code_hash without opening the schema.

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 names concrete use cases ("fuzzy matching names, dedupe and record linkage"), which gives clear context for when to reach for this tool. It does not, however, state any exclusion or point to an alternative tool when exact matching or normalization is what's needed.

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