Skip to main content
Glama
BeaconMFG

BeaconMFG

get_vendor

Retrieve full Chinese business profiles by ID—address, contact, industry, certifications, and linked legal entity details for contracts. Batch up to 20 IDs per call to reduce round trips.

Instructions

按主体 id 取完整中文档案:名称/地址/经纬度/电话/行业路径/认证/关键词等。取多家请用 ids 一次批量拿:单条固定约 2.3 秒(往返受限,数据本身只有 1.4KB),串行取 5 家要 1112 秒,批量并发后约 2~3 秒。典型用法:search_vendors 拿到一批 id 后,把要展示的几家一起传给 ids。

若这家已归集到政府主体,回执里会多一个 linked_entity:{uscc 统一社会信用代码, legal_name 法定登记名称, relation 关系(operator 同一法人/branch 分支机构/brand 品牌门店/unknown 未定), origin auto 机器判|manual 人工确认, score 机器分}。company 是经营招牌名,linked_entity.legal_name 是工商登记名,两者经常不同(如「温州亿鸿不锈钢装饰材料有限公司」登记名是「温州市亿鸿装饰工程有限公司」);签约、开票、查资质一律用 legal_name + uscc。

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

Input Schema

NameRequiredDescriptionDefault
gbNo国标码(可选);批量时对全部 id 生效。不填会自动反查,稍慢
idNo单个主体 id(与 ids 二选一,只传它时回执是 {"vendor": …})
idsNo批量主体 id,最多 20 个;自动去重、按传入顺序返回。回执是 {"vendors": [...], "count": n, "failed": [...]},单条取不到只进 failed,不影响其余

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/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 and does so: fixed ~2.3s per single call, ~1.4KB payload, serial vs concurrent timings, and the differing response envelopes ({vendor: …} vs {vendors:…, count, failed}). It also explains that per-id failures land in failed without blocking the rest, and documents the optional linked_entity object (uscc, legal_name, relation, origin, score).

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 purpose and the batching instruction, bolded for emphasis, then supporting detail. The latency argument is restated more than once (2.3s figure plus the 11-12s vs 2-3s comparison), which is slightly redundant, though every remaining sentence adds information.

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?

Covers the full picture for a read tool with no annotations or output schema: what fields come back, both response envelopes, failure handling, the linked_entity sub-fields, and the practical caveat that company (trade sign name) differs from linked_entity.legal_name (registered name) for contracts and invoicing. Nothing an agent needs is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, yet the description adds real meaning: id vs ids are mutually exclusive with different response shapes, gb applies to all ids during batch mode, and omitting gb triggers a slower automatic reverse lookup. It also explains why batching exists rather than just naming the parameter.

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?

Opens with a specific verb and resource: fetch the full Chinese profile (name/address/lat-lng/phone/industry path/certifications/keywords) by entity id. The scope is explicit and the distinction from search_vendors is stated (search first, then fetch ids).

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?

Explicitly says to use the ids parameter for multiple vendors and gives a concrete workflow: take ids from search_vendors and pass the ones to display together. It even quantifies why (serial ~11-12s vs batched ~2-3s), so the choice is unambiguous.

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