zuplo 7.12.5 → 7.12.6
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.
|
@@ -324,7 +324,8 @@ define the type of MCP capability and provide specific metadata.
|
|
|
324
324
|
`graphql`). Defaults to `tool` if not specified.
|
|
325
325
|
- `name`: Override the name shown to AI systems (defaults to `operationId`)
|
|
326
326
|
- `description`: Override the description for AI consumption (defaults to route
|
|
327
|
-
description/summary)
|
|
327
|
+
description/summary). The default uses at most the first 350 characters of the
|
|
328
|
+
route description, while an override has no length limit.
|
|
328
329
|
- `enabled`: Whether this operation should be available in the MCP server.
|
|
329
330
|
|
|
330
331
|
See the respective [tools](../mcp-server/tools.mdx),
|
|
@@ -77,7 +77,9 @@ The `x-zuplo-route.mcp` configuration for prompts supports:
|
|
|
77
77
|
to an auto-generated name.
|
|
78
78
|
- `description` - (optional) Description of what the prompt generates. If not
|
|
79
79
|
provided, falls back to the operation's `description` or `summary` fields. If
|
|
80
|
-
those are not set, uses an auto-generated description.
|
|
80
|
+
those are not set, uses an auto-generated description. The fallback uses at
|
|
81
|
+
most the first 350 characters of the operation's `description`, followed by
|
|
82
|
+
`...`. This field has no length limit.
|
|
81
83
|
|
|
82
84
|
### MCP Server Handler Configuration
|
|
83
85
|
|
|
@@ -63,7 +63,9 @@ To provide MCP specific metadata for the resource, use the `mcp` property within
|
|
|
63
63
|
auto-generated name.
|
|
64
64
|
- `description` (optional) - Description of what the resource provides. Falls
|
|
65
65
|
back to the operation's `description` or `summary`. If those fields are not
|
|
66
|
-
provided, falls back to an auto-generated description.
|
|
66
|
+
provided, falls back to an auto-generated description. The fallback uses at
|
|
67
|
+
most the first 350 characters of the operation's `description`, followed by
|
|
68
|
+
`...`. This field has no length limit.
|
|
67
69
|
- `uri` (optional) - The URI identifier for the resource (for example,
|
|
68
70
|
`"file:///example.txt"`, `"ui://html"`). Defaults to
|
|
69
71
|
`"mcp://resources/{name}"`.
|
|
@@ -73,7 +73,9 @@ The `x-zuplo-route.mcp` configuration for tools supports:
|
|
|
73
73
|
- `description` (`string`: optional) - Description of what the tool does. Falls
|
|
74
74
|
back to the operation's `description` or `summary`. If the route's
|
|
75
75
|
`description` or `summary` fields are not set, falls back to an auto-generated
|
|
76
|
-
description.
|
|
76
|
+
description. The fallback uses at most the first 350 characters of the
|
|
77
|
+
operation's `description`, followed by `...`. Set `description` here when the
|
|
78
|
+
tool needs a longer description: this field has no length limit.
|
|
77
79
|
- `enabled` (`boolean`: optional) - Whether this tool is enabled. Defaults to
|
|
78
80
|
`true`.
|
|
79
81
|
- `includeOutputSchema` (`boolean`: optional) - Whether to advertise the route's
|
|
@@ -521,6 +523,15 @@ exactly _what_ each tool does.
|
|
|
521
523
|
When you need to provide more meaningful descriptions or names that don't align
|
|
522
524
|
well with the `operationId`, set the metadata in `x-zuplo-route.mcp`.
|
|
523
525
|
|
|
526
|
+
:::note
|
|
527
|
+
|
|
528
|
+
A tool that takes its description from the operation's `description` gets at
|
|
529
|
+
most the first 350 characters of it, followed by `...`. To give a tool a longer
|
|
530
|
+
description, set it in `x-zuplo-route.mcp.description`, which has no length
|
|
531
|
+
limit.
|
|
532
|
+
|
|
533
|
+
:::
|
|
534
|
+
|
|
524
535
|
:::tip
|
|
525
536
|
|
|
526
537
|
Read more about authoring usable tools and good prompt engineering practices
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zuplo",
|
|
3
|
-
"version": "7.12.
|
|
3
|
+
"version": "7.12.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The official Zuplo CLI for local development and platform management",
|
|
6
6
|
"homepage": "https://zuplo.com/docs/cli/overview",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"zuplo": "zuplo.js"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@zuplo/cli": "7.12.
|
|
36
|
-
"@zuplo/core": "7.12.
|
|
37
|
-
"@zuplo/runtime": "7.12.
|
|
38
|
-
"@zuplo/test": "7.12.
|
|
35
|
+
"@zuplo/cli": "7.12.6",
|
|
36
|
+
"@zuplo/core": "7.12.6",
|
|
37
|
+
"@zuplo/runtime": "7.12.6",
|
|
38
|
+
"@zuplo/test": "7.12.6"
|
|
39
39
|
}
|
|
40
40
|
}
|