An internal application can ask a model to retrieve data through remote MCP. Configure an MCP tool for the chosen server in the Responses API and inspect output items. The flow can return an approval request before calling the external service.
Step by step
- Limit the test toolset to the required lookups.
- Show the reviewer the original request arguments.
- Test approval and rejection using different accounts.
- In the test app, store the mcp_approval_request ID with the displayed account and arguments. Send the decision in mcp_approval_response for that ID. When the second account is denied, check that no lookup occurred at the service. If it did, fix request-to-response matching before release.
Put the NoBreakAds MCP to work
Establish a daily-spend baseline through NoBreakAds MCP in a supported client. In your own integration, approve the test call and compare its authorized arguments, ID, date and returned amount with that baseline. Explore the NoBreakAds MCP · Create an account.
Related guide: Use Agents SDK tracing to investigate an incomplete report
Show the argument that matters to the decision
Populate allowed_tools with names discovered on the server and configure require_approval for the application policy. Show the client, date range and action in the review UI. Decline a report request for the wrong account even if the tool is read-only. OpenAI · Remote MCP servers
Resume with the recorded decision
On mcp_approval_request, bind its ID to the request the reviewer saw. Submit mcp_approval_response with that reference and decision. Display numbers after checking the tool result and the returned client.
Simulate two approvals at once
In a dry run, show two mock approval cards for the same tool, one for 4821 and another for 6072. Approve only the first and verify the request identifier sent in the response. Expect a logged read for 4821. If a call goes to 6072, stop the flow and check how the cards stored their request IDs.
Illustrative scenario
Say an operator has two requests open in different tabs. A bare “OK” leaves doubt about which lookup he approved. Showing the account ID on each card lets him reject the old request and approve the current one.
Frequently asked questions
Does allowed_tools replace authorization in the service?
The filter limits tools offered to the request. The service still checks identity and resource access.
When can the UI mark a lookup complete?
After the tool succeeds and the application checks the expected content. Approval records consent to proceed.