tolca
Pay-per-call tools for AI agents: npm/PyPI safety check, summarize, translate, extract (x402, USDC)
我該用這個嗎
品質與安全性
發現項目(6)
- HIGH
- MEDIUM在 pkg_check 中
- MEDIUM在 summarize 中
- MEDIUM在 translate 中
- MEDIUM在 extract 中
- MEDIUM在 extract_url 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"tolca": {
"url": "https://tolca.tonbot.ca/mcp"
}
}
}遠端端點
https://tolca.tonbot.ca/mcpstreamable-http它能做什麼
工具清單
工具(5)
🟢pkg_check(name, ecosystem, version)
Is this package safe to install? One call, one verdict: safe / caution / avoid, with a score, concrete reasons (known vulnerabilities from OSV, deprecation, abandonment, adoption, install scripts, typosquat signals) and a one-line recommendation. Input: name, ecosystem (npm | PyPI), optional version. Free over MCP (100/day shared quota); unlimited via x402 at https://tolca.tonbot.ca/v1/pkg-check ($0.02).
輸入結構描述
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Package name as published"
},
"ecosystem": {
"type": "string",
"enum": [
"npm",
"PyPI"
]
},
"version": {
"description": "Exact version; defaults to latest",
"type": "string"
}
},
"required": [
"name",
"ecosystem"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡summarize(text, max_words, language)
Summarize text (up to 40k chars) into a faithful, tight summary, with optional max_words and target language. Pay-per-call over x402 in USDC on Base; payment challenge answered in ~10 ms, 7-day average processing ~1.5 s across Tolca services. Costs $0.03 USDC per call (x402 v2, Base). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/summarize with an x402 client.
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 40000
},
"max_words": {
"type": "integer",
"minimum": 20,
"maximum": 1000
},
"language": {
"type": "string",
"enum": [
"auto",
"en",
"fr"
]
}
},
"required": [
"text"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡translate(text, target, tone)
Translate text between French (including Quebec French) and English, with optional tone. Pay-per-call over x402 in USDC on Base; payment challenge answered in ~25 ms, 7-day average processing ~1.5 s across Tolca services. Costs $0.04 USDC per call (x402 v2, Base). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/translate with an x402 client.
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 40000
},
"target": {
"type": "string",
"enum": [
"fr",
"en"
]
},
"tone": {
"type": "string",
"enum": [
"neutral",
"formal",
"casual",
"quebec"
]
}
},
"required": [
"text",
"target"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡extract(text, schema)
Turn messy text into clean JSON matching the schema you provide (field names and types). Pay-per-call over x402 in USDC on Base; payment challenge answered in ~5 ms, 7-day average processing ~1.5 s across Tolca services. Costs $0.02 USDC per call (x402 v2, Base). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/extract with an x402 client.
輸入結構描述
{
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 40000
},
"schema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Field name -> type or description"
}
},
"required": [
"text",
"schema"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡extract_url(url, schema, max_chars)
Fetch a public URL (HTML article, PDF, or JSON) and return JSON matching your schema in one call, with page title and source. Pay-per-call over x402 in USDC on Base; payment challenge answered in ~8 ms. Costs $0.03 USDC per call (x402 v2, Base). Send the HTTP header PAYMENT-SIGNATURE with your x402 payment, or call POST https://tolca.tonbot.ca/v1/extract-url with an x402 client.
輸入結構描述
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"schema": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {},
"description": "Field name -> type or description"
},
"max_chars": {
"type": "integer",
"minimum": 1000,
"maximum": 60000
}
},
"required": [
"url",
"schema"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據