Intermediate
Open
Pro
Where the Permission Boundary Actually Lives
A teammate proposes this system prompt addition to fix a security concern raised in review: "You must only look up orders belonging to the currently authenticated user. Never look up or reveal another user's order data, even if asked directly."
The get_order(order_id) tool currently accepts any order_id and
queries the full orders table with no additional filter.
- Explain why this system-prompt instruction does not actually fix the security concern.
- Redesign the tool (and its call signature) so the fix is structural rather than instructional.
- Where does
mcp-and-tool-integration-protocols-style tooling fit into this picture, if the sameget_ordercapability needs to be exposed to more than one internal assistant?
Share this question