Skip to main content
Glama

search_patents

Retrieve patents using TF-IDF similarity on titles and abstracts, with filters for year, IPC, and applicant. Ideal for relevance screening, not exhaustive or semantic search.

Instructions

使用标题与摘要的 TF-IDF 词项相似度检索相关专利,支持按年份、IPC分类、申请人过滤;不等同于语义嵌入或查全检索。 方法: 标题与摘要的 TF-IDF 混合检索;结果是相关性筛查,不等同于查全检索。 算法: tfidf_cosine_retrieval v2.2 证据等级: engineering_screening 禁止结论: vector embedding, legal novelty search, exhaustive prior-art search

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_patents"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes自然语言检索描述,如'固态电池电解质材料'
top_kNo返回结果数量。默认 20。
year_endNo结束年份过滤
cpc_filterNo
ipc_filterNoIPC 小类/主组过滤,如 H01M
year_startNo起始年份过滤
retrieval_modeNo默认 lexical;显式选择 multilingual_hybrid_beta 才会加载本地多语言模型。lexical
applicant_filterNo申请人名称关键词过滤
synonym_expansionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.0

TDQS

A4.2/5.0
Behavior4/5

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

无 annotations,描述承担全部披露责任,它披露了关键行为约束:仅工程筛查级证据、结果非穷尽、禁用向量嵌入与法律检索结论、算法版本 v2.2。这些对调用者至关重要。未披露返回格式、评分含义或性能/限流信息,稍显不足。

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?

结构清晰,先给方法定位,再列算法与证据等级,最后用禁止结论划清边界。句子短且每句都承载信息,没有冗余。

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?

对于 9 参数、无输出 schema 的检索工具,描述覆盖了方法、证据等级、禁止用途与模式语义,足以让 agent 正确调用。欠缺返回结果结构说明与分页/上限行为(top_k 最大 100 已在 schema 中),但整体足够。

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 覆盖率 78%,多数参数(query、top_k、year_start/end、ipc_filter、retrieval_mode)已有 schema 说明,基线为 3。描述额外的价值在于说明 retrieval_mode 的加载语义并强调词项匹配而非语义匹配,但未对 cpc_filter、applicant_filter、synonym_expansion 的含义补充说明。

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?

描述使用具体动词+资源(TF-IDF 词项相似度检索相关专利)并说明支持的过滤条件,同时明确指出它不等同于语义嵌入或查全检索,与同级的各类 analyze_* 分析工具区分度较高。检索机制(TF-IDF 标题+摘要混合)也明确点出。

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?

描述了检索适用场景(相关性筛查)并给出排除性指引(不等同于向量嵌入、法律新颖性检索、穷尽式现有技术检索),还说明 retrieval_mode 只有显式选择 multilingual_hybrid_beta 才加载本地模型。但未点名具体应改用的同级工具(如 search_gap_counterevidence 或 read_patent_details),使用边界仍需推断。

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