Skip to content

Commit ef5eb5b

Browse files
authored
Merge pull request #99 from agent-ready/improve-tools-abs
Improve-tools-abs
2 parents a0c3dff + 11776c9 commit ef5eb5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ mcp add resource market-data
160160
import { z } from "zod";
161161

162162
const DataFetcherSchema = z.object({
163+
// all fields should have .describe()
163164
url: z.string().url().describe("URL to fetch data from"),
164165
timeout: z.number().positive().default(5000).describe("Request timeout in milliseconds").optional()
165166
});

0 commit comments

Comments
 (0)