Skip to main content
Glama
BeaconMFG

BeaconMFG

suggest_filters

Maps colloquial purchasing terms to candidate GB/T subcategory codes with match counts, helping you choose the right filter for supplier search when direct keyword queries miss.

Instructions

把用户原话(口语/采购词)映射成候选国标小类码,供你改用 search_vendors(gb=…)。用户说的是「机加工」,名录里按「机械零部件加工」归档——别名表覆盖不了所有说法,所以本工具把「拆词 + 别名 + 类名」的候选和每类条数给你,由你做最终语义选择。search_vendors 命中偏少时也会内联 suggested_gb。

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

Input Schema

NameRequiredDescriptionDefault
cityNo可选,用于拼出下一步调用参数
limitNo候选码条数上限(1-30)
queryYes用户原话,如 机加工 / 不锈钢板激光切割折弯(必填)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the return shape (candidate codes plus per-category counts) and the interaction with search_vendors, but it never states that the tool is read-only, that it performs no writes, or anything about cost/latency. Adequate but incomplete for a zero-annotation tool.

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 purpose and the follow-up call are front-loaded in the first clause, with supporting rationale and fallback behavior after. Slightly dense in the middle sentence, but every sentence carries information; 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?

With no output schema, the description does the right thing by explaining what comes back (candidate codes and per-category counts) and that the agent must make the final choice. All three parameters are covered by the schema. The only gap is the absence of an explicit read-only/side-effect statement, which matters given no annotations.

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 100%, so the schema already documents query, city, and limit (including the 1–30 range and default 8). The description adds essentially no parameter-level detail beyond what the schema says, so the baseline 3 applies.

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 transformation — mapping the user's literal phrasing (colloquial/procurement terms) into candidate 国标 subcategory codes — and immediately distinguishes itself from the sibling search_vendors by naming the follow-up call search_vendors(gb=…). The 机加工 → 机械零部件加工 example makes the job unambiguous.

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?

Gives a clear trigger: use it when the user's wording is colloquial and the alias table can't cover all variants, so the agent makes the final semantic pick. It also discloses the fallback path — search_vendors inlines suggested_gb when hits are sparse — which implicitly tells the agent when this tool may be unnecessary. No explicit when-not statement is given, so it stops short of a 5.

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