Skip to main content
Glama

GleanMark Trademark Search

Compare Two Marks for Confusion

compare_marks
Read-onlyIdempotent

Compare two trademarks for likelihood of confusion using DuPont-style analysis. Returns similarity scores and risk assessment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mark_aYesFirst trademark to compare
mark_bYesSecond trademark to compare
nice_classesNoNice classes for overlap analysis

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
mark_aYes
mark_bYes
risk_levelYes
similarityYes
risk_explanationYes
open_in_gleanmarkNo
nice_class_overlapYes
dupont_factors_summaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "dupont_factors_summary": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "mark_a": {
      +      "type": "string"
      +    },
      +    "mark_b": {
      +      "type": "string"
      +    },
      +    "nice_class_overlap": {
      +      "type": "boolean"
      +    },
      +    "open_in_gleanmark": {
      +      "type": "string"
      +    },
      +    "risk_explanation": {
      +      "type": "string"
      +    },
      +    "risk_level": {
      +      "enum": [
      +        "High",
      +        "Medium",
      +        "Low"
      +      ],
      +      "type": "string"
      +    },
      +    "similarity": {
      +      "properties": {
      +        "overall_similarity": {
      +          "type": "number"
      +        },
      +        "phonetic_similarity": {
      +          "type": "number"
      +        },
      +        "trigram_similarity": {
      +          "type": "number"
      +        },
      +        "visual_similarity": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "visual_similarity",
      +        "phonetic_similarity",
      +        "trigram_similarity",
      +        "overall_similarity"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "mark_a",
      +    "mark_b",
      +    "risk_level",
      +    "risk_explanation",
      +    "nice_class_overlap",
      +    "dupont_factors_summary",
      +    "similarity"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, covering safety. The description adds the behavioral detail of returning similarity scores and risk assessment based on DuPont factors, which is useful context. It does not describe any hidden side effects or limitations, but with annotations handling safety, a score of 3 is appropriate—credit for the methodological hint, but no contradiction.

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?

The description is two short sentences: the first front-loads the action and scope, the second summarizes the output. It contains zero filler and every word contributes meaning. Perfectly sized for an agent to parse quickly.

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?

Given the tool's moderate complexity, an output schema exists (covering return values), and annotations cover safety, the description is largely complete. It states the purpose, methodology, and output type. Minor omissions include explicit guidance on input format for trademarks (e.g., normalized strings) and any caveats about the DuPont analysis, but these do not critically impair an agent's ability to invoke the tool correctly.

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%, so the schema already documents each parameter. The description does not add extra meaning beyond ^^'DuPont-style analysis'^^, which hints at how the parameters are used together. Since the schema carries the load, a baseline 3 is correct; the description adds no new semantics for the parameters themselves.

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 clearly states the verb 'Compare' and the resource 'trademarks', with a specific purpose ('likelihood of confusion') and methodology ('DuPont-style analysis'). It also indicates the output ('similarity scores and risk assessment'), distinguishing it from sibling tools like 'get_similar_marks' (which likely fetches similar marks for one mark) and 'check_brand_availability' (which checks availability, not confusion).

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?

The description implies usage: when you have two trademarks and want to assess confusion risk, use this tool. However, it does not explicitly state when not to use it or mention alternatives, relying on the agent to infer from the tool's distinct purpose. No clear exclusion conditions or named alternatives like 'use get_similar_marks for one-to-many searches'.

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