Skip to main content
Glama
hanjiajiade

trade-agent-mcp

by hanjiajiade

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HOSTNoHost to bind the server to. Defaults to 0.0.0.0.0.0.0.0
PORTNoPort to bind the server to. Defaults to 8080.8080
MCP_TRANSPORTNoTransport mode: streamable-http (default) or stdio.streamable-http
SERPER_API_KEYNoAPI key for enabling real Google search via Serper (used by web_search and research_company).
TAVILY_API_KEYNoAPI key for enabling real web search via Tavily (used by web_search and research_company).

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
calc_quotationA

外贸报价/利润核算。给定成本与贸易术语,算出 FOB/CIF/CFR、到岸成本、建议售价与利润。

Args: product_cost: 工厂成本/采购成本(EXW 或出厂价),成本币种。 currency: 成本币种(CNY/USD/EUR)。 moq: 最小起订量(用于单价展示)。 incoterm: 贸易术语 EXW/FOB/CIF/CFR/DDP。 freight_to_port: 出厂到起运港本地费用(EXW 时填入)。 international_freight: 国际运费(到目的港)。 insurance: 保险费。 duty_rate: 目的国关税税率(0-1,如 0.1 表示 10%)。 other_landed_cost: 其他到岸成本(清关/仓储/内陆派送等)。 target_margin: 目标毛利率(0-1)。 exchange_rate: 成本币种 -> 报价币种 汇率(同币=1)。 quote_currency: 报价币种(留空=与成本币种相同)。

classify_claimB

把一条结论归类为「已验证事实 / 合理推断 / 待核实」,并给出信号依据。

Args: text: 待分类的结论文本。 has_source: 是否附带来源(机构名+URL+日期)。

check_redflagsB

统一红旗规则引擎:根据客户/供应商画像命中红旗,给出 clear/review/block 裁定。

红旗命中即升级,不等同最终定性;本工具只做模式识别。

score_productsA

对多个候选产品按多指标加权评分与排序,辅助选品决策。

Args: products: 每项形如 {"name":..., "market_demand":0-100, "competition":0-100(越低越好填高分), "margin":0-100, "compliance_risk":0-100(越低越好填高分), "fit":0-100}。 weights: 各指标权重(默认 market_demand .3 / competition .2 / margin .25 / compliance .15 / fit .1)。

draft_outreachA

生成开发信首封(100-150 词量级)+ 主题 A/B + 3 封递进跟进。模板化、确定性、可运行。

Args: target_company: 目标公司名。 country: 目标国别。 product: 产品/品类。 persona: 客户画像要点(决策人关注点)。 certs: 相关认证(如 CE/ANVISA/INMETRO)。 contact: 称呼。 me: 发件人署名。 language: en / zh(其他语言回退 en)。 tone: professional / casual。

generate_personaB

根据已知信息生成一页纸客户/账户画像(决策人、痛点、切入点、异议)。缺信息显式标注待核实。

plan_pipelineB

总控编排:判断信息充分度与调查深度,派发 skill,列出缺信息与研究问题。

Args: client_name: 客户/公司名。 website: 官网。 country: 国别。 inquiry_text: 询盘/邮件正文。 has_cnpj: 是否已提供注册号。 has_bank_info: 是否已提供银行信息。 report_depth: auto/quick/standard/deep。

research_companyC

资信背调计划:实体锚定清单、登记处、研究问题、红旗监视、缺信息。可选启用真实检索。

scan_marketB

市场扫描:有数据则按模板结构化输出;无数据返回检索计划(权威来源 + 查询)。

web_searchB

联网检索。设置 TAVILY_API_KEY 或 SERPER_API_KEY 后返回真实结果;否则返回检索计划。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target clearly distinct activities: research, market scanning, pricing, red flags, search, scoring, outreach, persona, orchestration, and claim classification. Minor overlap exists between plan_pipeline and research_company/scan_market (all plan or list missing info) and between research_company and check_redflags (both address red flags), but descriptions mostly clarify boundaries.

Naming Consistency5/5

All ten tool names follow the same snake_case verb_noun pattern: research_company, scan_market, calc_quotation, check_redflags, web_search, score_products, draft_outreach, generate_persona, plan_pipeline, classify_claim. There is no mixing of conventions or vague generic verbs.

Tool Count5/5

Ten tools is well-scoped for a trade-agent server. Each tool serves a distinct stage in the trade workflow—research, market analysis, quotation, risk assessment, search, product scoring, outreach, persona generation, orchestration, and claim verification—without redundancy or bloat.

Completeness5/5

The toolset covers the full trade-agent lifecycle: finding and qualifying companies, scanning markets, calculating quotations, checking red flags, scoring products, generating personas and outreach emails, orchestrating pipelines, and classifying claims. There are no obvious dead ends; missing formal document generation (e.g., PIs) is a minor extension, not a core gap.

Maintenance

ActivityMaintained
ResponsivenessNo issues