get_publisher_info
Retrieve publisher details including published skills and verification status from the SkillFlow marketplace to evaluate skill sources.
Instructions
Get information about a skill publisher including their published skills and verification status.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publisher_id | Yes | Publisher username (e.g., 'rafsilva85') |
Implementation Reference
- src/index.ts:357-391 (handler)The switch-case logic handling the 'get_publisher_info' tool call, processing arguments and constructing the response.
case "get_publisher_info": { const publisherId = (args?.publisher_id as string || "").toLowerCase(); const publisherSkills = SKILL_CATALOG.filter( (s) => s.publisher.toLowerCase() === publisherId ); if (publisherSkills.length === 0) { return { content: [{ type: "text", text: `Publisher "${args?.publisher_id}" not found or has no published skills.\n\nBrowse publishers: ${SKILLFLOW_BASE_URL}/publishers`, }], }; } const avgTrust = Math.round( publisherSkills.reduce((sum, s) => sum + s.trust_score, 0) / publisherSkills.length ); const skillList = publisherSkills.map((s) => `- **${s.name}** (Trust: ${s.trust_score}/100) — ${s.category}` ).join("\n"); return { content: [{ type: "text", text: `# Publisher: ${args?.publisher_id}\n\n` + `**Verified:** Yes ✓\n` + `**Skills Published:** ${publisherSkills.length}\n` + `**Average Trust Score:** ${avgTrust}/100\n\n` + `## Published Skills\n${skillList}\n\n` + `---\nProfile: ${SKILLFLOW_BASE_URL}/publisher/${args?.publisher_id}`, }], }; } - src/index.ts:232-240 (schema)The schema registration for 'get_publisher_info', defining the 'publisher_id' input parameter.
{ name: "get_publisher_info", description: "Get information about a skill publisher including their published skills and verification status.", inputSchema: { type: "object" as const, properties: { publisher_id: { type: "string", description: "Publisher username (e.g., 'rafsilva85')" }, }, required: ["publisher_id"],