Skip to main content
Glama

GleanMark USPTO Trademark Search

Compare law firms

compare_firms
Read-onlyIdempotent

Compare trademark law firms side by side, or list the top firms by a filter, in one call. Per firm, as of today: live, pending and registered marks it is correspondent for, and correspondents with live marks (each person once). For a period: new applications filed, registrations issued, Office Action letters and the marks they went to, responses filed, and TTAB oppositions, cancellations and extensions of time to oppose where it is counsel of record. The period is any start_date/end_date up to 20 years; without one, Office Actions cover the last 12 months and TTAB the last 36. Give firms (names, up to 50) or top (up to 100) with filters such as "full-service firms with more than 5 attorneys with live marks". Use this instead of looking firms up one at a time.

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": "compare_firms"
  }
}

Input Schema

NameRequiredDescriptionDefault
topNoHow many firms to list from the top of the ranking (default 25). Not used with `firms`.
firmsNoFirm names to compare, e.g. ["Kilpatrick Townsend", "Barnes & Thornburg"]. Each resolves to the whole merged firm. Omit to rank with `top`.
offsetNoRank to start from, 0-based, to page past the first `top` firms.
rank_byNoWhat to rank by: live marks (default), correspondents with live marks, Office Action letters in 12 months, or TTAB oppositions or cancellations in 36 months. With start_date/end_date, rank by live marks or correspondents (a ranking by filings in a period is get_top_filers).live_marks
end_dateNoEnd (YYYY-MM-DD) of the period, inclusive; not after today; at most 20 years after start_date.
start_dateNoStart (YYYY-MM-DD) of the period for every dated count: new applications, registrations, Office Action letters and responses, TTAB cases. Give with end_date. "Last year" = the previous calendar year; "2025" = 2025-01-01 to 2025-12-31.
filer_profileNoWhich filers to rank. 'full_service' (default): law firms that prosecute and litigate at the TTAB. 'law_firm': every law firm, filing services excluded. 'prosecution_only': law firms that mostly do not litigate (a practice scope, not a quality judgment). 'in_house': companies' own trademark departments. 'all': everyone, filing services included.full_service
ttab_end_dateNoOlder name for end_date (same meaning).
ttab_start_dateNoOlder name for start_date (same meaning).
min_people_with_live_marksNoOnly firms with at least this many correspondents with live marks ("more than 5 attorneys" = 6).
require_recent_ttab_counselNoOnly firms that were TTAB counsel of record in at least one opposition or cancellation in the last 36 months.

Output Schema

NameRequiredDescriptionDefault
modeYes
firmsYes
periodNo
returnedYes
data_as_ofNo
unresolvedYes
total_matchingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), and the description adds substantive behavior beyond them: default windows when no period is supplied (Office Actions 12 months, TTAB 36 months), a 20-year maximum span, deduplication ("each person once"), and that firm names resolve to the whole merged firm.

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?

The core capability and its alternative are front-loaded, and nearly every clause carries distinct information about what is counted or defaulted. It is dense and long for a single paragraph, with the firms/top invocation guidance buried mid-sentence, but nothing is redundant.

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?

For an 11-parameter, zero-required aggregation tool with an output schema, the description covers both invocation modes, default periods, count definitions, and entity resolution well enough to call it correctly without opening the schema. Return values are additionally summarized, which is a bonus since the output schema already carries them.

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?

Schema coverage is 100% and the parameter descriptions are already detailed, so the baseline is 3; the description adds usable framing such as the allowed limits (50 firms, 100 top) and a natural-language filter example ("full-service firms with more than 5 attorneys with live marks"). It does not explain the legacy `ttab_start_date`/`ttab_end_date` aliases, which is a minor gap left entirely 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?

The description opens with a specific verb and resource: "Compare trademark law firms side by side, or list the top firms by a filter, in one call." It then enumerates exactly what is measured per firm (live/pending/registered marks, correspondents, applications, registrations, Office Actions, responses, TTAB oppositions/cancellations/extensions), which distinguishes it from siblings like compare_marks and get_firm_ttab_record.

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?

It explicitly routes between modes: give `firms` (up to 50) for a named comparison or `top` (up to 100) with filters for a ranking, and states "Use this instead of looking firms up one at a time." It also names a real alternative for a specific case — "a ranking by filings in a period is get_top_filers" — so an agent knows when this tool is the wrong choice.

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