adityamparikh opened a new pull request, #162: URL: https://github.com/apache/solr-mcp/pull/162
## Motivation `spring.ai.mcp.server.instructions` currently carries a generic one-liner. The MCP `initialize` response delivers these instructions to **every** client, making them the right home for surface-wide facts that no individual tool description can own. Without them, LLM clients that know Solr well tend to hunt for tools that don't exist (delete-documents, debug-query, KNN search) or attempt unsupported operations (changing an existing field's type). Declaring the boundaries up front lets clients route around gaps instead of failing into them. ## Changes Rewrites the instructions to declare: - discover-before-acting guidance (`list-collections`, `get-schema` first) - what the surface does **not** include: no delete tools, no field drop/alter, no debugQuery, no vector/KNN, field facets only - schema modification is additive only (`add-fields`, `add-field-types`); type changes require reindexing elsewhere Property-value-only change — no code touched. `./gradlew build` passes (unit + Testcontainers integration tests). 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
