-
-
Notifications
You must be signed in to change notification settings - Fork 89
chore(mcp): add outputSchema to tools that lack it #550
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)On the Wave-2 agent-layer roadmap board (project 9)
Milestone
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.roadmapOn the Wave-2 agent-layer roadmap board (project 9)On the Wave-2 agent-layer roadmap board (project 9)
Parent roadmap: #525
Parent phase: #544
Background
19 of the 29 MCP tools (preflight/score/agent tools 8, 13–16, 18–29) have no
outputSchema, so MCP clients can't machine-validate their results. Pure non-visual hardening.Goal
Add
outputSchemato every MCP tool that lacks one.Current Behavior
Only tools 1–6, 10, 11, 12, 17 have
outputSchema(src/mcp/server.ts:278-368).Desired Behavior
Each remaining tool gets a structured
outputSchemamirroring the existing*OutputSchemapattern; package bin discovery stays consistent.Implementation Requirements
src/mcp/server.ts(+ package bin if it mirrors schemas). No behavior change to tool logic.Public/Private Output Boundaries
Acceptance Criteria
outputSchema;mcp-discoveryfixtures updated to assert it.Testing Requirements
npm run test:ci, 97%+ coverage. Extendtest/unit/mcp-discovery.test.ts.