Skip to main content
Glama

Match names (probabilistic)

match_names_probabilistic
Read-onlyIdempotent

Score two company or individual names with Jaro-Winkler similarity to check if they likely refer to the same party, tolerating typos and legal suffix variations.

Instructions

Score two counterparty names using Jaro-Winkler string similarity.

Purpose: Computes similarity in [0, 1] between two company or individual names, tolerating typographical variations and legal suffix abbreviations (e.g. 'Corp' vs 'Corporation Inc').

When to use:

  • When verifying whether two counterparty or entity names represent the same party.

  • When evaluating name similarity thresholds for automated matching rules.

When NOT to use:

  • Do NOT use for full multi-signal transaction matching; use reconcile or explain_match.

  • Do NOT use with non-string inputs.

Behavioral transparency: Pure, deterministic string calculation; read-only and idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
name_aYesFirst counterparty name.
name_bYesSecond counterparty name.
thresholdNoSimilarity in [0, 1] at or above which the pair is a match.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.0.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description still adds value by stating the operation is a pure, deterministic string calculation that tolerates typographical variation and legal suffix abbreviations, which explains behavior annotations cannot express.

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-loaded with the core operation, then cleanly grouped under Purpose / When to use / When NOT to use / Behavioral transparency headers. Slightly over-structured for a three-parameter tool, and the transparency line partly restates annotations, but no sentence is wasted.

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?

Covers purpose, positive usage, negative usage with alternatives, and behavioral character. An output schema exists, so return values need no explanation, and the remaining gaps are negligible for a deterministic two-string comparison tool.

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% and all three parameters carry descriptions, so this is the baseline case. The description adds meaningful context about what the computed similarity represents and what variations it tolerates, but adds nothing about the threshold parameter beyond what the schema already says.

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 ('Score two counterparty names using Jaro-Winkler string similarity') and pins down what the score means ([0, 1]). It explicitly names the siblings it is not (reconcile, explain_match), so an agent can distinguish it without opening any 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?

Provides explicit when-to-use cases (verifying same party, evaluating matching thresholds) and explicit when-NOT-to-use cases naming the alternative tools for multi-signal matching. Nothing about tool selection is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.