@@ -32,6 +32,12 @@ func (t configVolumesTool) desc() *mcp.Tool {
3232 return & mcp.Tool {
3333 Name : "config_volumes" ,
3434 Description : "Manages volume configurations for a function. Can add, remove, or list volumes in func.yaml." ,
35+ Annotations : & mcp.ToolAnnotations {
36+ Title : "Config Volumes" ,
37+ ReadOnlyHint : false ,
38+ DestructiveHint : ptr (true ),
39+ IdempotentHint : false , // Adding the same volume twice or removing a non-existent volume will fail.
40+ },
3541 InputSchema : map [string ]any {
3642 "type" : "object" ,
3743 "properties" : map [string ]any {
@@ -141,6 +147,12 @@ func (t configLabelsTool) desc() *mcp.Tool {
141147 return & mcp.Tool {
142148 Name : "config_labels" ,
143149 Description : "Manages label configurations for a function. Can add, remove, or list labels in func.yaml." ,
150+ Annotations : & mcp.ToolAnnotations {
151+ Title : "Config Labels" ,
152+ ReadOnlyHint : false ,
153+ DestructiveHint : ptr (true ),
154+ IdempotentHint : false , // Adding the same label twice or removing a non-existent label will fail.
155+ },
144156 InputSchema : map [string ]any {
145157 "type" : "object" ,
146158 "properties" : map [string ]any {
@@ -229,6 +241,12 @@ func (t configEnvsTool) desc() *mcp.Tool {
229241 return & mcp.Tool {
230242 Name : "config_envs" ,
231243 Description : "Manages environment variable configurations for a function. Can add, remove, or list environment variables in func.yaml." ,
244+ Annotations : & mcp.ToolAnnotations {
245+ Title : "Config Environment Variables" ,
246+ ReadOnlyHint : false ,
247+ DestructiveHint : ptr (true ),
248+ IdempotentHint : false , // Adding the same environment variable twice or removing a non-existent one will fail.
249+ },
232250 InputSchema : map [string ]any {
233251 "type" : "object" ,
234252 "properties" : map [string ]any {
0 commit comments