Skip to main content
Glama

GleanMark Trademark Search

Count Trademarks by Attributes

count_trademarks_by_attributes
Read-only

Count and preview USPTO marks by record attributes rather than owner identity, with mark-type, standard-character, and Nice-class breakdowns plus metadata coverage. Use this for drawing type, standard-character, Nice-class, status, and cross-attribute counts. It can intersect claimed-color criteria with those attributes; color-only counts, rankings, lists, and vocabulary are outside its scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
mark_typesNo
nice_classesNo
status_filterNoUse registered for currently live registrations; live also includes pending applications.all
class_match_modeNoany
color_match_modeNoall permits additional claimed colors; only requires exactly the selected colors; only_bw also permits black/white.all
standard_charactersNo
claimed_color_shadesNoExact canonical shades from the USPTO color claim.
claimed_color_familiesNoNormalized color families. Burgundy and maroon, for example, count as red.

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, and the description adds context beyond this: it mentions 'preview' behavior and 'metadata coverage,' and clarifies that it can intersect color criteria. This gives the agent a clearer sense of the tool's functional scope without contradicting annotations.

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 sentences with no filler. The first sentence front-loads the purpose and key differentiators; the second delivers usage scope and exclusions. Every phrase earns its place, making it compact and efficient.

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?

For a 9-parameter tool with no output schema, the description gives a good high-level orientation but omits important invocation details: whether limit affects counts or only previews, how class_match_mode behaves, and the exact return structure. It is sufficient for tool selection but not fully complete for a complex 9-param 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 description coverage is 44% (low), and the description compensates partially by mapping core concepts: 'mark-type' to mark_types, 'standard-character' to standard_characters, 'Nice-class' to nice_classes, 'status' to status_filter, and 'claimed-color criteria' to the color params. However, it does not explain limit, class_match_mode, or interaction nuances, leaving some parameters underspecified.

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 a specific verb+resource: 'Count and preview USPTO marks by record attributes.' It distinguishes from sibling tools by emphasizing 'rather than owner identity' and explicitly excluding 'color-only counts, rankings, lists, and vocabulary,' which differentiates it from tools like search_by_owner or color-focused searches.

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?

The description provides explicit when-to-use guidance: 'Use this for drawing type, standard-character, Nice-class, status, and cross-attribute counts.' It also gives exclusions ('color-only counts... are outside its scope'), helping the agent decide against this tool for those needs. However, it does not name specific alternative sibling tools, so it falls short of perfect alternative routing.

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.

TDQS

B3.4/5.0
Disambiguation3/5

Most tools have clearly defined scopes, but several search/count tools overlap (search_trademarks, phonetic_search, run_knockout_search, get_similar_marks) and owner/firm analytics tools have similar boundaries. Descriptions help differentiate them, but the large set increases the chance of misselection.

Naming Consistency5/5

All tool names follow a consistent lowercase snake_case verb_noun pattern (get_, search_, run_, analyze_, etc.). The only minor deviation is web_research, which is noun_verb, but it remains perfectly readable and consistent with the overall style.

Tool Count1/5

61 tools is extreme for any server, far exceeding the 50+ threshold. Even for a comprehensive trademark platform, this number overwhelms agents with selection complexity and makes the toolset difficult to navigate.

Completeness2/5

Several tools launch asynchronous processes and instruct users to call status tools (get_prosecution_history_status, get_ttab_proceeding_analysis_status, get_office_action_research_status) that are not present in the toolset. Additionally, search_trademarks and phonetic_search reference list_marks_containing_term, which is also missing. These critical gaps cause agent failures when following the described workflows.

Resources