1+ {
2+ "tools": [
3+ {
4+ "name": "echo",
5+ "description": "Echoes back the input",
6+ "inputSchema": {
7+ "type": "object",
8+ "properties": {
9+ "message": {
10+ "type": "string",
11+ "description": "Message to echo"
12+ }
13+ },
14+ "required": [
15+ "message"
16+ ],
17+ "additionalProperties": false,
18+ "$schema": "http://json-schema.org/draft-07/schema#"
19+ }
20+ },
21+ {
22+ "name": "add",
23+ "description": "Adds two numbers",
24+ "inputSchema": {
25+ "type": "object",
26+ "properties": {
27+ "a": {
28+ "type": "number",
29+ "description": "First number"
30+ },
31+ "b": {
32+ "type": "number",
33+ "description": "Second number"
34+ }
35+ },
36+ "required": [
37+ "a",
38+ "b"
39+ ],
40+ "additionalProperties": false,
41+ "$schema": "http://json-schema.org/draft-07/schema#"
42+ }
43+ },
44+ {
45+ "name": "longRunningOperation",
46+ "description": "Demonstrates a long running operation with progress updates",
47+ "inputSchema": {
48+ "type": "object",
49+ "properties": {
50+ "duration": {
51+ "type": "number",
52+ "default": 10,
53+ "description": "Duration of the operation in seconds"
54+ },
55+ "steps": {
56+ "type": "number",
57+ "default": 5,
58+ "description": "Number of steps in the operation"
59+ }
60+ },
61+ "additionalProperties": false,
62+ "$schema": "http://json-schema.org/draft-07/schema#"
63+ }
64+ },
65+ {
66+ "name": "printEnv",
67+ "description": "Prints all environment variables, helpful for debugging MCP server configuration",
68+ "inputSchema": {
69+ "type": "object",
70+ "properties": {},
71+ "additionalProperties": false,
72+ "$schema": "http://json-schema.org/draft-07/schema#"
73+ }
74+ },
75+ {
76+ "name": "sampleLLM",
77+ "description": "Samples from an LLM using MCP's sampling feature",
78+ "inputSchema": {
79+ "type": "object",
80+ "properties": {
81+ "prompt": {
82+ "type": "string",
83+ "description": "The prompt to send to the LLM"
84+ },
85+ "maxTokens": {
86+ "type": "number",
87+ "default": 100,
88+ "description": "Maximum number of tokens to generate"
89+ }
90+ },
91+ "required": [
92+ "prompt"
93+ ],
94+ "additionalProperties": false,
95+ "$schema": "http://json-schema.org/draft-07/schema#"
96+ }
97+ },
98+ {
99+ "name": "getTinyImage",
100+ "description": "Returns the MCP_TINY_IMAGE",
101+ "inputSchema": {
102+ "type": "object",
103+ "properties": {},
104+ "additionalProperties": false,
105+ "$schema": "http://json-schema.org/draft-07/schema#"
106+ }
107+ },
108+ {
109+ "name": "annotatedMessage",
110+ "description": "Demonstrates how annotations can be used to provide metadata about content",
111+ "inputSchema": {
112+ "type": "object",
113+ "properties": {
114+ "messageType": {
115+ "type": "string",
116+ "enum": [
117+ "error",
118+ "success",
119+ "debug"
120+ ],
121+ "description": "Type of message to demonstrate different annotation patterns"
122+ },
123+ "includeImage": {
124+ "type": "boolean",
125+ "default": false,
126+ "description": "Whether to include an example image"
127+ }
128+ },
129+ "required": [
130+ "messageType"
131+ ],
132+ "additionalProperties": false,
133+ "$schema": "http://json-schema.org/draft-07/schema#"
134+ }
135+ },
136+ {
137+ "name": "getResourceReference",
138+ "description": "Returns a resource reference that can be used by MCP clients",
139+ "inputSchema": {
140+ "type": "object",
141+ "properties": {
142+ "resourceId": {
143+ "type": "number",
144+ "minimum": 1,
145+ "maximum": 100,
146+ "description": "ID of the resource to reference (1-100)"
147+ }
148+ },
149+ "required": [
150+ "resourceId"
151+ ],
152+ "additionalProperties": false,
153+ "$schema": "http://json-schema.org/draft-07/schema#"
154+ }
155+ },
156+ {
157+ "name": "getResourceLinks",
158+ "description": "Returns multiple resource links that reference different types of resources",
159+ "inputSchema": {
160+ "type": "object",
161+ "properties": {
162+ "count": {
163+ "type": "number",
164+ "minimum": 1,
165+ "maximum": 10,
166+ "default": 3,
167+ "description": "Number of resource links to return (1-10)"
168+ }
169+ },
170+ "additionalProperties": false,
171+ "$schema": "http://json-schema.org/draft-07/schema#"
172+ }
173+ },
174+ {
175+ "name": "structuredContent",
176+ "description": "Returns structured content along with an output schema for client data validation",
177+ "inputSchema": {
178+ "type": "object",
179+ "properties": {
180+ "location": {
181+ "type": "string",
182+ "minLength": 1,
183+ "description": "City name or zip code"
184+ }
185+ },
186+ "required": [
187+ "location"
188+ ],
189+ "additionalProperties": false,
190+ "$schema": "http://json-schema.org/draft-07/schema#"
191+ },
192+ "outputSchema": {
193+ "type": "object",
194+ "properties": {
195+ "temperature": {
196+ "type": "number",
197+ "description": "Temperature in celsius"
198+ },
199+ "conditions": {
200+ "type": "string",
201+ "description": "Weather conditions description"
202+ },
203+ "humidity": {
204+ "type": "number",
205+ "description": "Humidity percentage"
206+ }
207+ },
208+ "required": [
209+ "temperature",
210+ "conditions",
211+ "humidity"
212+ ],
213+ "additionalProperties": false,
214+ "$schema": "http://json-schema.org/draft-07/schema#"
215+ }
216+ }
217+ ]
218+ }
0 commit comments