You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/command-reference.mdx
+14-10Lines changed: 14 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,16 +177,20 @@ Health checks are only available when using the `streamable_http` transport. The
177
177
178
178
These fields are under the top-level `introspection` key. Learn more about the MCP [introspection tools](/apollo-mcp-server/guides#introspection-tools).
Copy file name to clipboardExpand all lines: docs/source/guides/index.mdx
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,40 @@ You can enable the following introspection tools:
166
166
167
167
The MCP client can use these tools to provide schema information to the model and its context window, and allow the model to execute GraphQL operations based on that schema.
168
168
169
+
### Minification
170
+
171
+
Both the `introspect` and `search` tools support minification of their results through the `minify` option. These options help optimize context window usage for AI models.
172
+
173
+
- **Reduces context window usage**: Minified GraphQL SDL takes up significantly less space in the AI model's context window, allowing for more complex schemas or additional context
174
+
- **Uses compact notation**: Type definitions use prefixed compact syntax and common scalar types are shortened
175
+
- **Preserves functionality**: All essential type information is retained, just in a more compact format
176
+
- **Includes legend in tool descriptions**: When minify is enabled, the tool descriptions automatically include a legend explaining the notation
Use a [contract variant](/graphos/platform/schema-management/delivery/contracts/overview) so you can control the parts of your graph that AI can introspect. [Learn more](/apollo-mcp-server/best-practices#use-contract-variants-to-control-ai-access-to-graphs)
0 commit comments