Barmaan
Barmaan catalogue: instruments, specs, guides, certificate check, quote requests
我该使用它吗
质量与安全性
发现(2)
- LOW在 get_product 中
- LOW在 fetch 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"barmaan": {
"url": "https://barmaan.co/api/mcp"
}
}
}远程端点
https://barmaan.co/api/mcpstreamable-http它能做什么
工具清单
工具(15)
🟢fetch(id)
Get the full text of one item by the id returned from `search` (product:, service:, project:, resource:<kind>/<slug>, category:, certificate:, company:info).
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 3,
"maxLength": 200
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_brochure(language)
Barmaan's public brochure (PDF, no login): download links in English, Persian, Kurdish (Sorani) and Arabic, a short summary of the content, base prices and contact details.
输入模式
{
"type": "object",
"properties": {
"language": {
"description": "en, fa, ckb or ar. Omit for all languages.",
"type": "string",
"enum": [
"en",
"fa",
"ckb",
"ar"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_company_info(locale)
Barmaan contact and company facts: use for the phone number, address, email, WhatsApp, map link, working hours, social profiles, registration details, key site pages, city pages and brochure links.
输入模式
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_dwg_viewer_info
Information about Barmaan's free browser DWG/DXF viewer. Files cannot be uploaded through MCP; give the user the link.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_product(slug, code, locale)
Full public details of one product: specs, models, documents, FAQ, price/availability. Pass `slug` or the 6-digit `code`.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"maxLength": 160
},
"code": {
"type": "string",
"maxLength": 20
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_resource(kind, slug, locale)
Full text of one resource (kind + slug from list_resources). Text is capped at 20,000 characters.
输入模式
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"guide",
"standard",
"datasheet",
"glossary"
]
},
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"required": [
"kind",
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_service(slug, locale)
Details of one service by slug (from list_services).
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 160
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_categories(locale)
Product categories with product counts.
输入模式
{
"type": "object",
"properties": {
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_projects(category, limit, locale)
Published reference projects.
输入模式
{
"type": "object",
"properties": {
"category": {
"type": "string",
"maxLength": 80
},
"limit": {
"default": 10,
"description": "Max rows (1-20).",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_resources(kind, query, limit, locale)
Published technical guides, standards notes, datasheets and glossary entries.
输入模式
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"guide",
"standard",
"datasheet",
"glossary"
]
},
"query": {
"type": "string",
"maxLength": 200
},
"limit": {
"default": 10,
"description": "Max rows (1-20).",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_services(query, locale)
Barmaan's engineering, calibration, inspection and software services.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡request_quote(name, phone, email, company, message, ...)
Send a price/quote request to Barmaan's sales team (same inbox as the website form). Ask the user for name and phone first; never invent contact details. Call once with confirm=false to get a preview, show it to the user, then call with confirm=true only after they agree.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Customer full name, asked from the user (never guessed)."
},
"phone": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "Customer phone/WhatsApp with country code, asked from the user."
},
"email": {
"description": "Customer email (optional).",
"type": "string",
"maxLength": 200,
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"company": {
"type": "string",
"maxLength": 160
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 4000,
"description": "What the customer needs: product, quantity, specs, destination."
},
"product_code": {
"description": "6-digit product code or product slug, if the request is about one product.",
"type": "string",
"maxLength": 80
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
},
"confirm": {
"default": false,
"description": "false = preview only, nothing is sent. Set true ONLY after the user has explicitly agreed to send these exact details to Barmaan.",
"type": "boolean"
}
},
"required": [
"name",
"phone",
"message"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search(query)
Search all public Barmaan content (products, categories, services, projects, guides, certificates). Returns ids to pass to `fetch`.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_products(query, category, brand, condition, in_stock, ...)
Search the Barmaan product catalog (industrial instruments). Prices are published USD prices; price.on_request=true means ask for a quote.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"maxLength": 200
},
"category": {
"description": "Category key from list_categories.",
"type": "string",
"maxLength": 80
},
"brand": {
"type": "string",
"maxLength": 80
},
"condition": {
"type": "string",
"enum": [
"new",
"used",
"refurbished",
"like_new"
]
},
"in_stock": {
"type": "boolean"
},
"limit": {
"default": 10,
"description": "Max rows (1-20).",
"type": "integer",
"minimum": 1,
"maximum": 20
},
"locale": {
"default": "en",
"description": "Content language: en, fa, ar or ckb.",
"type": "string",
"enum": [
"en",
"fa",
"ar",
"ckb"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢verify_certificate(code)
Check a Barmaan calibration certificate by its exact code. Returns status, equipment, manufacturer and serial only.
输入模式
{
"type": "object",
"properties": {
"code": {
"type": "string",
"minLength": 3,
"maxLength": 60
}
},
"required": [
"code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据