[Server] Use getDescription to get all descriptions. (#188)
* Remove `getSummary` method and update descriptions in snapshots and code * Add changelog entry --------- Co-authored-by: Christopher Hertel <mail@christopher-hertel.de>
This commit is contained in:
parent
7cb29125bd
commit
2c16b3e084
6 changed files with 16 additions and 42 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
"name": "priority_config_discovered",
|
||||
"uri": "config://priority",
|
||||
"description": "A resource discovered via attributes."
|
||||
"description": "A resource discovered via attributes.\n\nThis will be overridden by a manual registration with the same URI."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"tools": [
|
||||
{
|
||||
"name": "schedule_event",
|
||||
"description": "Schedules a new event.",
|
||||
"description": "Schedules a new event.\n\nThe inputSchema for this tool will reflect all parameter types and defaults.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
},
|
||||
{
|
||||
"name": "send_welcome",
|
||||
"description": "Sends a welcome message to a user.",
|
||||
"description": "Sends a welcome message to a user.\n\n(This is a placeholder - in a real app, it might queue an email).",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
},
|
||||
{
|
||||
"name": "calculate_range",
|
||||
"description": "Performs mathematical operations with numeric constraints.",
|
||||
"description": "Performs mathematical operations with numeric constraints.\n\nDemonstrates: METHOD-LEVEL Schema",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"tools": [
|
||||
{
|
||||
"name": "calculate",
|
||||
"description": "Performs a calculation based on the operation.",
|
||||
"description": "Performs a calculation based on the operation.\n\nSupports 'add', 'subtract', 'multiply', 'divide'.\nObeys the 'precision' and 'allow_negative' settings from the config resource.",
|
||||
"icons": [
|
||||
{
|
||||
"mimeType": "image/svg+xml",
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
},
|
||||
{
|
||||
"name": "update_setting",
|
||||
"description": "Updates a specific configuration setting.",
|
||||
"description": "Updates a specific configuration setting.\n\nNote: This requires more robust validation in a real app.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"tools": [
|
||||
{
|
||||
"name": "process_data_by_mode",
|
||||
"description": "Performs an action that can be modified by an environment variable.",
|
||||
"description": "Performs an action that can be modified by an environment variable.\n\nThe MCP client should set 'APP_MODE' in its 'env' config for this server.",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue