Skip to main content
Glama

GleanMark USPTO Trademark Search

Search Marks by Pattern and Filters

search_marks_by_pattern
Read-onlyIdempotent

Exhaustive structured search over all 14M USPTO marks, using the same engine as the structured search workspace in the GleanMark app. Returns every mark that matches a name pattern combined with class, status, owner, date or register filters, with an exact total count and paging: for example all marks that start with a word, every registered mark ending in a word, or marks containing a word in a class. search_trademarks instead returns up to 20 ranked closest matches. match_mode sets literal matching: contains, starts_with, ends_with or exact, plus contains_word, starts_with_word and ends_with_word, which require the term to stand alone as a word (starts_with_word on ON matches ON, ON THE GO and ON & ON, but not ONE or ONYX). The word modes suit short terms where substring matches would add noise. mark_name also accepts wildcards: * for any run of characters and ? for exactly one. Requires a signed-in GleanMark account on a Professional plan; TESS_SEARCH_ACCESS_DENIED means the plan does not include it. Not a clearance opinion.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_marks_by_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page (default 100, max 300; max 60 when include_goods is true). total_count always reflects ALL matches, not just this page.
offsetNoPagination offset (default 0).
statusNoBroad live/dead filter. Ignored when display_status is set.All
force_runNoRe-run a search the server refused as too broad (TESS1). Only set this after the user has been told the search is broad and asks to run it anyway.
mark_nameNoThe word or phrase to match in the mark text. Wildcards (* and ?) are used verbatim and match_mode is then ignored. Optional when owner_name, goods_services, nice_classes, serial_number or registration_number is given.
mark_typeNoAll
match_modeNoHow mark_name is matched. The *_word variants require the term to stand alone as a whole word.contains
owner_nameNoOwner name substring filter.
sort_columnNofiling_date
nice_classesNoNice class filter, e.g. [14, 25]. Omit for all classes.
include_goodsNoInclude each mark's FULL goods/services recitation. Set true whenever the user asks about goods, services, or what a mark covers — it saves calling lookup_trademark once per mark. Page size is capped at 60 when this is on.
register_typeNoPrincipal vs Supplemental register.All
serial_numberNo
display_statusNoNarrow to one precise status. Use 'Registered' when the user asks for REGISTERED marks — narrower than status='Live', which also includes pending applications.
filing_date_toNoYYYY-MM-DD.
goods_servicesNoSubstring filter over the goods/services recitation.
sort_directionNoDESC
filing_date_fromNoYYYY-MM-DD.
registration_numberNo
standard_charactersNoLimit to marks claiming standard characters.
registration_date_toNoYYYY-MM-DD.
registration_date_fromNoYYYY-MM-DD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already cover read-only/idempotent safety, and the description adds material context beyond them: account and plan requirements, the meaning of TESS_SEARCH_ACCESS_DENIED, exact total counts with paging, and an explicit 'not a clearance opinion' caveat. It also pre-empts a common pitfall by contrasting word-boundary matching with substring matching using a concrete ON/ONE/ONYX example.

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 scope and the sibling contrast before drilling into match semantics and prerequisites; every sentence earns its place. It is a dense single block, so the match_mode explanation could be more visually separable, but there is no filler.

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 a 22-parameter tool with no output schema, the description covers scope, result shape (exact total count plus paging), access requirements and the broad-query guard rail, which is what an agent needs to call it correctly. Minor gaps remain around sorting and the narrower register/standard-characters filters, which the schema documents adequately.

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?

With 77% schema coverage the baseline is 3, but the description genuinely enriches the two most error-prone parameters: match_mode's seven modes are explained and demonstrated, and mark_name's template wildcards (* and ?) are described along with the wildcard-overrides-match_mode rule. Remaining filters (register_type, sort, standard_characters) are left to the schema.

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 ('exhaustive structured search over all 14M USPTO marks'), defines the result set (every mark matching name pattern plus class/status/owner/date/register filters) and explicitly distinguishes itself from search_trademarks, which returns only 20 ranked closest matches.

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?

Names the alternative tool and the condition that selects it (exhaustive enumeration vs ranked shortlist), explains when to prefer the *_word modes over substring modes, notes that wildcards override match_mode, and states the professional-plan prerequisite with the denial error code.

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