Skip to content

Commit 880ff44

Browse files
committed
update tool descriptions to support Deprecated directive understanding in the LLM
1 parent f0d6912 commit 880ff44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/apollo-mcp-server/src/introspection/tools/introspect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fn tool_description(
122122
minify: bool,
123123
) -> String {
124124
if minify {
125-
"Get GraphQL type information - T=type,I=input,E=enum,U=union,F=interface;s=String,i=Int,f=Float,b=Boolean,d=ID;!=required,[]=list,<>=implements;".to_string()
125+
"Get GraphQL type information - T=type,I=input,E=enum,U=union,F=interface;s=String,i=Int,f=Float,b=Boolean,d=ID;@D=deprecated;!=required,[]=list,<>=implements;".to_string()
126126
} else {
127127
format!(
128128
"Get detailed information about types from the GraphQL schema.{}{}",

crates/apollo-mcp-server/src/introspection/tools/search.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl Search {
7777
format!(
7878
"Search a GraphQL schema{}",
7979
if minify {
80-
" - T=type,I=input,E=enum,U=union,F=interface;s=String,i=Int,f=Float,b=Boolean,d=ID;!=required,[]=list,<>=implements"
80+
" - T=type,I=input,E=enum,U=union,F=interface;s=String,i=Int,f=Float,b=Boolean,d=ID;@D=deprecated;!=required,[]=list,<>=implements"
8181
} else {
8282
""
8383
}

0 commit comments

Comments
 (0)