Skip to main content
Glama

analyze_patent_trend

Generate monthly or yearly patent trends by publication, filing, priority, or grant date, using publication, application, or family counts with applicant, IPC, and year filters.

Instructions

按公开日、申请日、优先权日或授权日生成月度或年度趋势。公开文献数、申请数和专利族数是不同单位;按申请日统计申请数时选择 filing 和 applications。 方法: 按指定日期和计数单位聚合;尾年月份不完整时不解释为技术衰退。 算法: publication_count_trend v3.0.1 证据等级: descriptive_statistic 禁止结论: technology decline, technology lifecycle

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

Input Schema

NameRequiredDescriptionDefault
year_endNo结束年份,不填则到最晚年
chart_typeNo图表类型: monthly=月度趋势, yearly=年度趋势。默认 monthly。monthly
count_unitNopublications
date_basisNopublication
ipc_filterNoIPC分类号过滤,如['H01M', 'H02J']
year_startNo起始年份,不填则从最早年份开始
applicant_filterNo申请人名称关键词过滤

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the aggregation method, the distinctness of the three counting units, an explicit interpretive hazard (partial trailing year), an algorithm version stamp, an evidence grade ('descriptive_statistic') and prohibited conclusions. It stops short of 5 because it says nothing about the returned structure, latency, or what happens with empty/sparse series.

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 action, then unit semantics, then the methodological caveat; no filler sentences. The trailing metadata lines (algorithm version, evidence level, prohibited conclusions) are terse labels rather than prose, which is acceptable but slightly telegraphic.

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 7-parameter analytical tool with no annotations and no output schema, the description covers the counting semantics and interpretation guardrails well. What is missing is the return shape — whether the caller receives a time series, a rendered chart, or aggregates — which the absent output schema leaves undocumented.

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 71%, so the baseline is 3; the description earns an extra point by explaining the cross-parameter semantics that the schema leaves bare — the enum-only date_basis and count_unit fields are given meaning, including the non-obvious filing+applications pairing. It adds nothing about how ipc_filter or applicant_filter affect the result.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource (generate monthly/yearly trends) and enumerates the four date bases and three count units it aggregates over, so the agent knows exactly what computation happens. It does not name any sibling (e.g. audit_trend_robustness, analyze_yearly_keywords) to disambiguate, so it stops short of a 5.

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?

Gives one concrete selection rule — 'when counting applications by filing date, choose filing and applications' — plus a caution that incomplete trailing-year months must not be read as decline. That is configuration guidance plus an interpretation caveat, but there is no statement of when to use this tool versus the trend-related siblings.

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