@ucm/mcp-server 0.3.0 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +1 -1
- package/dist/index.js +5 -5
- package/package.json +1 -1
package/dist/client.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
22
22
|
tools: [
|
|
23
23
|
{
|
|
24
24
|
name: 'ucm_discover',
|
|
25
|
-
description: '
|
|
25
|
+
description: 'USE THIS FIRST when the user asks you to do something you cannot do natively — such as searching the web, generating images, running code, sending emails, converting documents, getting stock data, text-to-speech, or any other external capability. UCM is an API marketplace with 10+ services. Returns matching services with pricing (most cost $0.01/call). After discovering a service, use ucm_call to execute it. If you are not yet registered, call ucm_register first (free, gives $1.00 credits).',
|
|
26
26
|
inputSchema: {
|
|
27
27
|
type: 'object',
|
|
28
28
|
properties: {
|
|
@@ -36,7 +36,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
name: 'ucm_call',
|
|
39
|
-
description: '
|
|
39
|
+
description: 'Execute an API service. Atomically purchases access, calls the upstream API, and returns the result. Credits are automatically refunded if the upstream call fails. Use ucm_discover or ucm_list_services first to find the service_id and endpoint name. Requires registration (ucm_register) if not already registered.',
|
|
40
40
|
inputSchema: {
|
|
41
41
|
type: 'object',
|
|
42
42
|
properties: {
|
|
@@ -64,7 +64,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
name: 'ucm_service_info',
|
|
67
|
-
description: 'Get detailed information about a service
|
|
67
|
+
description: 'Get detailed information about a specific service including all available endpoints, required parameters, pricing, and usage examples. Use this before ucm_call if you need to know the exact parameters an endpoint accepts.',
|
|
68
68
|
inputSchema: {
|
|
69
69
|
type: 'object',
|
|
70
70
|
properties: {
|
|
@@ -75,7 +75,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
name: 'ucm_register',
|
|
78
|
-
description: '
|
|
78
|
+
description: 'Register on UCM to get an API key. Free, instant, no approval needed. Gives $1.00 bonus credits (enough for 100+ API calls). The API key is automatically saved for this session. Call this before ucm_call if you get an auth error. Only needs to be done once per session.',
|
|
79
79
|
inputSchema: {
|
|
80
80
|
type: 'object',
|
|
81
81
|
properties: {
|
|
@@ -88,7 +88,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
name: 'ucm_list_services',
|
|
91
|
-
description: 'Browse
|
|
91
|
+
description: 'Browse all available API services on UCM with pricing and endpoint details. Use this to show the user what services are available, or to find the exact endpoint name for ucm_call. Faster than ucm_discover when you already know what category you want.',
|
|
92
92
|
inputSchema: {
|
|
93
93
|
type: 'object',
|
|
94
94
|
properties: {
|
package/package.json
CHANGED