Health
根据双层平板噬菌斑实验计算效价:PFU/mL = 平均斑数 × 稀释倍数 ÷ 接种体积(mL)。支持多板输入并输出均值、标准差与 CV%,附可计数范围检查(约 30–300 斑/板:少于 30 建议降低稀释度,多于 300 斑易融合、计数偏低)。示例:10⁻⁶ 稀释、接种 100 µL、平均 108 斑 → 108×10⁶/0.1 = 1.08×10⁹ PFU/mL。
用三种语言从你的代码中调用此工具。
curl -X POST 'http://127.0.0.1:3003/zh/api/tools/plaque-forming-unit' \
-H 'Content-Type: application/json' \
-d '{"plaqueCounts":"112, 104","dilutionFactor":1000000,"platedVolumeUl":100}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST http://127.0.0.1:3003/zh/api/tools/plaque-forming-unit| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| plaqueCounts | textarea | 是 | Plaque counts from each plate, separated by commas, spaces, or new lines. |
| dilutionFactor | number | 是 | Fold-dilution of the plated sample relative to the original (10⁻⁶ → 1000000). |
| platedVolumeUl | number | 是 | Volume of the diluted sample mixed into the top agar (100 µL is typical). |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-plaque-forming-unit": {
"name": "plaque-forming-unit",
"description": "根据双层平板噬菌斑实验计算效价:PFU/mL = 平均斑数 × 稀释倍数 ÷ 接种体积(mL)。支持多板输入并输出均值、标准差与 CV%,附可计数范围检查(约 30–300 斑/板:少于 30 建议降低稀释度,多于 300 斑易融合、计数偏低)。示例:10⁻⁶ 稀释、接种 100 µL、平均 108 斑 → 108×10⁶/0.1 = 1.08×10⁹ PFU/mL。",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=plaque-forming-unit",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "plaque-forming-unit",
"arguments": {
"plaqueCounts": "112, 104",
"dilutionFactor": 1000000,
"platedVolumeUl": 100
}
}
}有问题或反馈?请联系 [email protected]