Skip to content

Commit addf247

Browse files
APIbaseclaude
andcommitted
fix: correct 5 non-3-level tool names in server-card.json (Smithery quality 34→35)
Smithery "Tool names" 5pt was scoring 0/5 because 5 tools had 2-level names: crypto.global, finnhub.company_profile, geo.reverse_geocode, github.user, usrealestate.property_detail. Root cause: The regex r"toolId:.*?mcpName:" with re.DOTALL used in the server-card regeneration script fails when a tool's prefetch rule (elsewhere in tool-definitions.ts) contains an earlier toolId: match. The non-greedy .*? swallows the wrong content. Fix: Manually corrected the 5 names using the proper mcpName values from tool-definitions.ts. Also updated both smithery and onboard-provider skill SKILL.md files to use a backward-search parser instead. Also added flywheel rule to prevent recurrence. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d7d5ebb commit addf247

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

static/.well-known/mcp/server-card.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16849,7 +16849,7 @@
1684916849
}
1685016850
},
1685116851
{
16852-
"name": "crypto.global",
16852+
"name": "crypto.global.stats",
1685316853
"title": "Crypto Global Stats",
1685416854
"description": "Get global cryptocurrency market statistics",
1685516855
"inputSchema": {
@@ -16869,7 +16869,7 @@
1686916869
}
1687016870
},
1687116871
{
16872-
"name": "finnhub.company_profile",
16872+
"name": "stocks.company.profile",
1687316873
"title": "Company Profile",
1687416874
"description": "Company profile by ticker \u2014 name, exchange, industry, country, market cap, shares outstanding, IPO date, logo, website (Finnhub)",
1687516875
"inputSchema": {
@@ -16894,7 +16894,7 @@
1689416894
}
1689516895
},
1689616896
{
16897-
"name": "geo.reverse_geocode",
16897+
"name": "geo.address.reverse",
1689816898
"title": "Reverse Geocode (Geoapify)",
1689916899
"description": "Convert geographic coordinates (lat/lon) to a structured address \u2014 street, city, country, postal code (Geoapify/OSM)",
1690016900
"inputSchema": {
@@ -16932,7 +16932,7 @@
1693216932
}
1693316933
},
1693416934
{
16935-
"name": "github.user",
16935+
"name": "developer.github.user",
1693616936
"title": "GitHub User Profile",
1693716937
"description": "Get a GitHub user profile \u2014 name, bio, public repos count, followers, company, location, join date. Works for users and organizations (GitHub API)",
1693816938
"inputSchema": {
@@ -16955,7 +16955,7 @@
1695516955
}
1695616956
},
1695716957
{
16958-
"name": "usrealestate.property_detail",
16958+
"name": "realestate.property.details",
1695916959
"title": "US Property Details",
1696016960
"description": "Detailed property information by property ID \u2014 beds, baths, sqft, year built, lot size, tax assessment, HOA, days on market, photos, last sale price/date. Use for_sale search first to get property_id (RapidAPI / Realtor.com data)",
1696116961
"inputSchema": {

0 commit comments

Comments
 (0)